1. Which type contains a single character enclosed within single quotes? A. Character B. Numeric C. Floating point 2. The modulus operator uses, B.
1. Which type contains a single character enclosed within single quotes? A. Character B. Numeric C. Floating point 2. The modulus operator uses, B. - B. < A. + 3. Every variable should be separated by. A. Dot B. Colon 4. AND (&&) and OR (II) are operators. A. Equality B. Comparison 5. Which is a conditional operator? A. > 6. Evaluate (1 && !(0 || 1)) A. True B. False 7. What is the minimum number of times a do loop would definitely get executed? A. 0 C. Could not be predicted D. Infinity 8. What is the notation used to place block of statements in a looping structure in C++? A. %% B. // C. () D. {} 9. What is the notation used to place block of condition(s) in a looping structure in C++? A. %% B. // C. () D. {} A. user input 12. The keyword endl: character. B.1 10. In C++, cout is found in which library file? A. ctype.h B. stdlib.h 11. The standard identifier cin is used for: separator. C. B. user output C. Comma C. Logical C. math.h, C. comparison D.Integer A. defines a symbolic constant B. specifies that a function is to be compiled, if possible, as inline code C. provides assertion testing D. flushes the output stream and adds a new line D.% D. Semicolon D. Comma D. ?: D. iostream.h D. stop main 13. What punctuation ends most lines of C++ code? A.. B.; C.: 14. Which of the following is true? A.O 8.1 C.-1 15. Which is not a loop structure? A. for B. do while C. while D. repeat until 16. What is the correct value to return to the operating system upon the successful completion of a program? A. 1 8.0 17. What is a comment in C++? A. comments are executed by compiler to find the meaning of the comment B. comments are executable A.cpp 20. programmer. C.-1 C. comments are parts of the source code disregarded by the compiler D. None of the Above 18. Which of the following is a correct comment? A./ Comment-text */ B. ( Comment-text) C. Comment-text ** D./ Comment-text */ 19. What is the filename extension of a C++ program? D.1/2 D. false B.cp C.cpr D.All the above refer to the names of variables, functions, arrays, classes etc. created by the A. Identifiers B. Keywords C. Constraints 21. Which of the following control expressions are valid for an if statement? A. a boolean expression B. an integer expression C. a boolean or an integer expression D. None of the Above D.Strings
Step by Step Solution
3.40 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below 1 A Character A character type contains a single character enclosed within single quotes ...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started