Yogyata Negi
Follow
Posted 4 year ago

Which of the following values is the correct value of this binary code 1011 and 1111?

  1. 11 and 14
  2. 12 and 15
  3. 11 and 15
  4. 12 and 14
2 Answer(s)
Mitesh Sharma
Follow
Posted 4 year ago Mitesh Sharma

Option c) 11 and 15

 

Explanation: 1011 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20

 

= 8 + 0 + 2 + 1

 

= 11

 

1111 = 1 × 23 + 1 × 22 + 1 × 21 + 1 × 20

 

= 8 + 4 + 2 + 1

 

= 15

pradeep negi
Follow