MCQs Hotel Management
1. If the integer needs two bytes of storage, then maximum value of an unsigned integer is
(a) 216 – 1
(b) 215 – 1
(b) 215 – 1
(c) 216
(d) 215
(d) 215
Ans. a
2. The minimum number of temporary variables needed to swap the contents of two variables is
(a) 1
(b) 2
(b) 2
(c) 3
(d) 0
(d) 0
Ans. a
3. Which is true of conditional compilation?
(a) It is taken care of by the compiler
(b) It is setting the compiler option conditionally
(c) It is compiling a program based on a condition
(d) It is operation taken by the compiler
Ans. c
4. The basic arithmetic operation performed by a computer is
(a) addition
(b) mulitiplication
(c) subtraction
(d) division
Ans. a
5. The base of the binary number system is
5. The base of the binary number system is
(a) 2
(b) 16
(b) 16
(c) 8
(d) 10
(d) 10
Ans. a
6. Main memory unit of computer
(a) performs arithmetic
(b) stores a small amount of data and instructions
(c) stores bulk of data and instructions
(d) supervises the working of all the units
Ans. b
7. A Central Processing Unit (CPU) consist of
(a) input, output unit
(b) memory unit
(c) arithmetic and logical unit, central unit
(d) keyboard, printer
Ans. c
8. The tone of the passage is
8. The tone of the passage is
(a) gloomy
(b) humorous
(b) humorous
(c) ironical
(d) lyrical
(d) lyrical
Ans. a
9. The writer’s response to his father marrying again is that of
(a) indifference
(b) disdain
(b) disdain
(c) approval
(d) disapproval
(d) disapproval
Ans. c
10. The writer’s life got ‘shattered into pieces’ when
(a) his father married again
(b) he lost his mother
(c) he fell seriously ill
(d) a sister was born to him