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
C++ does not have a built in data type for storing strings of characters.
Free
(True/False)
4.9/5
(43)
Correct Answer:
True
Every complete C++ program must have a ________.
Free
(Multiple Choice)
4.7/5
(35)
Correct Answer:
B
The ________ is/are used to display information on the computer's screen.
Free
(Multiple Choice)
4.8/5
(42)
Correct Answer:
C
This is used to mark the end of a complete C++ programming statement.
(Multiple Choice)
4.9/5
(36)
What will the value of x be after the following statements execute?
Int x;
X = 18 / 4;
(Multiple Choice)
4.7/5
(37)
What will the value of x be after the following statements execute?
Int x;
X = 18.0 / 4;
(Multiple Choice)
4.7/5
(44)
Floating point constants are normally stored in memory as doubles.
(True/False)
4.9/5
(31)
When typing in your source code into the computer, you must be very careful since most of your C++ instructions, header files, and variable names are case sensitive.
(True/False)
4.9/5
(29)
Look at the following program and answer the question that follows it.
Which line(s) in this program cause output to be displayed on the screen?

(Multiple Choice)
4.9/5
(38)
Which one of the following would be an illegal variable name?
(Multiple Choice)
4.8/5
(36)
Which of the following correctly consolidates the following declaration statements into one statement?
Int x = 7;
Int y = 16;
Int z = 28;
(Multiple Choice)
4.9/5
(30)
Character constants in C++ are always enclosed in ________.
(Multiple Choice)
4.9/5
(44)
If you use a C++ key word as an identifier, your program will:
(Multiple Choice)
4.8/5
(36)
What will the value of x be after the following statements execute?
Int x;
X = 18 % 4;
(Multiple Choice)
4.8/5
(41)
Which escape sequence causes the cursor to move to the beginning of the current line?
(Multiple Choice)
4.8/5
(33)
Assume that a program has the following variable definition: char letter;
Which of the following statements correctly assigns the character Z to the variable?
(Multiple Choice)
4.8/5
(31)
In C++ 11, the ________ tells the compiler to determine the variable's data type from the initialization value.
(Multiple Choice)
4.8/5
(38)
In memory, C++ automatically places a ________ at the end of string literals.
(Multiple Choice)
4.9/5
(30)
Showing 1 - 20 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)