MCQ Questions and Answers Quiz

1. The value 145.27 can represented using which data type?

  1. void
  2. int
  3. double
  4. boolean

2. Which datatype is used to represent the logical values?

  1. boolean
  2. integer
  3. float
  4. character

3. Which datatype is used when you dont need to return anything?

  1. int
  2. void
  3. short
  4. float

4. Pick the odd one out of the following

  1. integer
  2. character
  3. boolean
  4. array

5. The size_t integer type in C++ is?

  1. Unsigned integer of at least 16 bits
  2. Signed integer of at least 16 bits
  3. Unsigned integer of at least 64 bits
  4. Signed integer of at least 64 bits

6. Which is the wrong size of the floating point datatype?

  1. short float
  2. float
  3. double
  4. long double
Tags

MCQ Multiple Choice Questions and Answers on

Question and Answer