Exam 2: Basic Elements of C++
Exam 1: An Overview of Computers and Programming Languages40 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Inputoutput40 Questions
Exam 4: Control Structures I Selection40 Questions
Exam 5: Control Structures II Repetition40 Questions
Exam 6: User-Defined Function41 Questions
Exam 7: Namespaces, the Class String, and User-Defined Simple Data Types40 Questions
Exam 8: Arrays40 Questions
Exam 9: Records Structs40 Questions
Exam 10: Classes and Data Abstraction43 Questions
Exam 11: Inheritance and Composition41 Questions
Exam 12: Pointers, Classes, Virtual Functions, and Abstract Classes43 Questions
Exam 13: Overloading and Templates41 Questions
Exam 14: Exception Handling42 Questions
Exam 15: Recursion41 Questions
Exam 16: Searching and Sorting46 Questions
Exam 17: Linked Lists41 Questions
Exam 18: Stacks and Queues42 Questions
Select questions type
Consider the following code. In this code, where does the include statement belong?


(Multiple Choice)
4.9/5
(36)
The smallest individual unit of a program written in any language is called a(n) ____________________.
(Short Answer)
4.9/5
(40)
In a C++ program, one and two are double variables and input values are 10.5 and 30.6. After the statement cin >> one >> two; executes, ____.
(Multiple Choice)
4.8/5
(31)
Suppose that sum and num are int variables and sum = 5 and num = 10. After the statement sum += num executes, ____.
(Multiple Choice)
4.7/5
(36)
In a C++ program, ____________________ are used to separate special symbols, reserved words, and identifiers.
(Short Answer)
5.0/5
(45)
Suppose a = 5. After the execution of the statement ++a; the value of a is 6.
(True/False)
4.7/5
(34)
Suppose that alpha and beta are int variables. The statement alpha = beta--; is equivalent to the statement(s) ____.
(Multiple Choice)
4.8/5
(38)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)