Correct Answer
verified
Multiple Choice
A) comment.
B) compiler option.
C) preprocessor directive.
D) I/O statement.
E) stream directive.
Correct Answer
verified
Multiple Choice
A) double
B) long
C) short
D) bool
E) All of the above
Correct Answer
verified
Multiple Choice
A) a program.
B) a comment.
C) a variable definition.
D) a block of code.
E) none of the above.
Correct Answer
verified
Multiple Choice
A) closing brace
B) new line
C) period
D) semicolon
E) comment
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 7.2
B) 14
C) 1
D) 3.5
E) 3
Correct Answer
verified
Multiple Choice
A) department_9
B) aVeryLongVariableName
C) last-name
D) All of the above are valid identifiers.
E) Both A and B are valid identifiers, but C is not.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) cout << "/n";
B) cout << "endl";
C) cout << endl;
D) all of the above
E) A and C, but not B
Correct Answer
verified
Multiple Choice
A) has only two values: true and false.
B) can be used to store a single character.
C) is used to store extra large numbers.
D) is used to represent numbers in E notation.
E) does none of the above.
Correct Answer
verified
Multiple Choice
A) variables.
B) literals.
C) comments.
D) a function called main..
E) all of the above.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) numeric value
B) output statement
C) comment
D) purpose
E) definition
Correct Answer
verified
Multiple Choice
A) #getfile
B) #insert
C) #library
D) #include
E) none of the above
Correct Answer
verified
Multiple Choice
A) Strings
B) A cout declaration
C) Opening and closing braces
D) The iostream header file
E) None of the above
Correct Answer
verified
Multiple Choice
A) cout << endl;
B) cout << "endl";
C) cout << "/n";
D) all of the above
E) A and C, but not B
Correct Answer
verified
Multiple Choice
A) a character literal.
B) a string constant.
C) a string literal.
D) all of the above.
E) either B or C, but not A.
Correct Answer
verified
Multiple Choice
A) 1
B) 3.5
C) 7.2
D) 14
E) 3
Correct Answer
verified
Multiple Choice
A) copy
B) cout
C) assignment
D) equals
E) declaration
Correct Answer
verified
Showing 21 - 40 of 40
Related Exams