Question 80

The number of bits require to represent decimal number 4096 in binary from is ______.

  1. A16
  2. B10
  3. C12
  4. D13
Show answerHide answer

Correct answer: (D) 13

Explanation

4096 = 2¹², which in binary is 1 followed by twelve 0s. That needs 13 bits (12 bits can go only up to 4095).

From DSSSB TGT Computer Science Practice Set 1

This is question 80 of DSSSB TGT Computer Science Practice Set 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.