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
When a value of one data type is automatically changed to another data type, a(n) ____________________ type coercion is said to have occurred.
(Short Answer)
4.8/5
(34)
____ are executable statements that inform the user what to do.
(Multiple Choice)
4.8/5
(39)
____________________ rules determine the meaning of instructions.
(Short Answer)
4.9/5
(34)
The maximum number of significant digits in float values is up to 6 or 7.
(True/False)
4.9/5
(35)
A(n) ____________________ is a memory location whose contents can be changed.
(Short Answer)
4.8/5
(41)
The ____________________ type is C++ 's method for allowing programmers to create their own simple data types.
(Short Answer)
4.7/5
(42)
The maximum number of significant digits in values of the double type is 15.
(True/False)
4.7/5
(32)
A(n) ____________________ is a sequence of zero or more characters.
(Short Answer)
4.7/5
(33)
A mixed arithmetic expression contains all operands of the same type.
(True/False)
4.8/5
(41)
The ____ rules of a programming language tell you which statements are legal, or accepted, by the programming language.
(Multiple Choice)
4.9/5
(38)
Choose the output of the following C++ statement: cout << "Sunny " << '\n' << "Day " << endl;
(Multiple Choice)
4.9/5
(33)
An operator that has only one operand is called a unique operator.
(True/False)
4.7/5
(47)
____________________ can be used to identify the authors of the program, give the date when the program is written or modified, give a brief explanation of the program, and explain the meaning of key statements in a program.
(Short Answer)
4.7/5
(31)
Suppose that count is an int variable and count = 1. After the statement count++; executes, the value of count is ____.
(Multiple Choice)
4.9/5
(27)
The escape sequence \r moves the insertion point to the beginning of the next line.
(True/False)
4.8/5
(40)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)