1. Code that has already been tested is said to be _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
2. The get() function returns ________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
3. The number 5.5e3 is a _________ constant | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
4. You can place function templates | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
5. The two operators && an || are | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
6. The arguments that determine the state of the cout object are called _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
7. Static variables are sometimes called | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
8. The variables declared in a statement block or listed in a function header's parameter list are considered _________ variables | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
9. An expression | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
10. In the C language, the character type of constant is delimited by using | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
11. One way in which a structure differs from an array is that _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
12. Storing a class definition in a separate file is an example of | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
13. Which of the following C++ expressions will find the square root of the number 16? | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
14. Catch blocks must _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
15. An exception specification begins with the keyword _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
16. You construct a class in two sections, known as the __________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
17. The statement i*=3 is equivalent to | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
18. The complement operator is represented by the symbol | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
19. The rules to any programming language are its ___________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
20. The last statement in a value-returning function is always _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
21. Which of the following declares and initializes an Integer variable named numltems? | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
22. The #include instruction is called a | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
23. Classes holds _________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
24. When you declare a pointer, you must give it a ________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
25. Any #include files may contain | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
26. When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
27. Making class members inaccessible to non-member functions is an example of | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
28. _________ variables remain in memory until the statement block ends | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
29. The actual arguments cannot he | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
30. Software that can be used in applications other than the one for which it was originally written is called | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
31. Typing the function's name as Main, rather than main, is an example of | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
32. A function argument is | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
33. A function that is prototyped as double calculate(int num); may__________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
34. Passing a variable pointer as a constant ___________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
35. Recursive Functions | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
36. The purpose of a conditional operator is to | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
37. Which of the following, if any, are valid names for variables? | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
38. Assume you want to compare the character stored in the initial variable to the letter a. Which of the following conditions should you use in the if statement? (Be sure the condition will handle a or A.) | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
39. You can override a class's inherited access to make an individual member's access more __________ | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
40. A class hierarchy | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
41. The right shift operator is represented by the symbol | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
42. In C++, class definitions are most often | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
43. The comma operator (,) is primarily used in conjunction with | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
44. To execute a C++ program, you first need to translate the source code into object code. This process is called | ||||||||
Free MCQs www.sharemcq.com
Answer: Option B
Explanation:
Available Soon.
|
45. An array element is accessed using | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
46. The program can access the private members of a class | ||||||||
Free MCQs www.sharemcq.com
Answer: Option C
Explanation:
Available Soon.
|
47. To hide a data member from the program, you must declare the data member in the _________ section of the class | ||||||||
Free MCQs www.sharemcq.com
Answer: Option D
Explanation:
Available Soon.
|
48. External documentation includes | ||||||||
Free MCQs www.sharemcq.com
Answer: Option A
Explanation:
Available Soon.
|
No comments:
Post a Comment
Your Feedback is hearty Requested to make the MCQs Collection better.