Exam 2: Introduction to C Plus Plus
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
________ must be included in any program that uses the cout object.
(Multiple Choice)
4.8/5
(24)
This function in C++ allows you to identify how many bytes of storage on your computer system an integer data value requires.
(Multiple Choice)
4.9/5
(36)
These are data items whose values do not change while the program is running.
(Multiple Choice)
5.0/5
(42)
A variable's ________ is the part of the program that has access to the variable.
(Multiple Choice)
4.8/5
(36)
What is the output of the following statement?
Cout << 4 * (15 / (1 + 3))<< endl;
(Multiple Choice)
4.8/5
(38)
If you do not follow a consistent programming style, your programs will generate compiler errors.
(True/False)
4.7/5
(40)
The float data type is considered ________ precision, and the double data type is considered ________ precision.
(Multiple Choice)
4.9/5
(32)
Which character signifies the beginning of an escape sequence?
(Multiple Choice)
4.8/5
(35)
What is the value of cookies after the execution of the following statements?
Int number = 38, children = 4, cookies;
Cookies = number % children;
(Multiple Choice)
4.7/5
(31)
When writing long integer literals or long long integer literals in C++ 11, you can use either an uppercase or lowercase L.
(True/False)
4.9/5
(35)
A preprocessor directive does not require a semicolon at the end.
(True/False)
5.0/5
(37)
Escape sequences are always stored internally as a single character.
(True/False)
4.9/5
(35)
These are used to declare variables that can hold real numbers.
(Multiple Choice)
4.9/5
(34)
This control sequence is used to skip over to the next horizontal tab stop.
(Multiple Choice)
4.7/5
(47)
Assume that a program has the following string object definition: string name;
Which of the following statements correctly assigns a string literal to the string object?
(Multiple Choice)
4.8/5
(50)
Assuming you are using a system with 1-byte characters, how many bytes of memory will the following string literal occupy?
"William"
(Multiple Choice)
4.9/5
(44)
The numeric data types in C++ can be broken into two general categories:
(Multiple Choice)
4.8/5
(35)
Which data type typically requires only one byte of storage?
(Multiple Choice)
4.8/5
(33)
Which of the following defines a double-precision floating point variable named payCheck?
(Multiple Choice)
4.8/5
(40)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)