Free computer quiz Online Test - MeritNotes

No. of Questions :10
Remaining Time :
1. The data type unsigned long, long and float has _____ bits.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

2. The name assigned to a data field that can assume any of a given set of values is defined as the _____
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

3. _____ data type cannot hold fractional values.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

4. Relational, equality, component selection, class member conditional and comma are _____ operator.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

5. Each element of the array is accessed by the _____ name and position of the element in the array.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

6. Switch expression should be evaluated to an _____ constant only.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

7. To make a function inline, one has to insert the keyword _____ in the function header.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

8. cin is a predefined object which corresponds to a standard _____ stream.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

9. _____ statement is used when a loop’s execution is terminated when the test condition evaluates to false.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

10. Which punctuator is used to terminate a C++ statement?
 
  • (a) 
  • (b) 
  • (c) 
  • (d)