Exam 2: Basic Elements of C++
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Input/Output50 Questions
Exam 4: Control Structures I (Selection)50 Questions
Exam 5: Control Structures II (Repetition)50 Questions
Exam 6: User-Defined Functions50 Questions
Exam 7: User-Defined Simple Data Types, Namespaces, and the string Type50 Questions
Exam 8: Arrays and Strings50 Questions
Exam 9: Records (structs)50 Questions
Exam 10: Classes and Data Abstraction50 Questions
Exam 11: Inheritance and Composition50 Questions
Exam 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists50 Questions
Exam 13: Overloading and Templates50 Questions
Exam 14: Exception Handling50 Questions
Exam 15: Recursion50 Questions
Exam 16: Linked Lists50 Questions
Exam 17: Stacks and Queues50 Questions
Exam 18: Searching and Sorting Algorithms50 Questions
Exam 19: Binary Trees50 Questions
Exam 20: Graphs50 Questions
Exam 21: Standard Template Library (STL)50 Questions
Select questions type
Suppose a = 5.After the execution of the statement ++a; the value of a is 6.
Free
(True/False)
4.9/5
(32)
Correct Answer:
True
The declaration int a,b,c; is equivalent to which of the following?
Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
B
A data type is called ____________________ if the variable or named constant of that type can store only one value at a time.
(Short Answer)
4.9/5
(30)
A(n)____________________ is a collection of statements,and when it is activated,or executed,it accomplishes something.
(Short Answer)
4.9/5
(31)
A(n)____________________ is a sequence of zero or more characters.
(Short Answer)
4.8/5
(39)
The ____ rules of a programming language tell you which statements are legal,or accepted by the programming language.
(Multiple Choice)
4.9/5
(36)
In C++,you can use a(n)____________________ to instruct a program to mark those memory locations in which data is fixed throughout program execution.
(Short Answer)
4.8/5
(37)
Suppose that alpha and beta are int variables.The statement alpha = ++beta; is equivalent to the statement(s)____.
(Multiple Choice)
4.8/5
(43)
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
(32)
Suppose that alpha and beta are int variables.The statement alpha = beta--; is equivalent to the statement(s)____.
(Multiple Choice)
4.8/5
(44)
The value of the expression 33/10,assuming both values are integral data types,is ____.
(Multiple Choice)
5.0/5
(38)
The maximum number of significant digits in values of the double type is 15.
(True/False)
4.7/5
(35)
The maximum number of significant digits in float values is up to 6 or 7.
(True/False)
4.9/5
(37)
____________________ functions are those that have already been written and are provided as part of the system.
(Short Answer)
4.8/5
(40)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)