Practice Exercise I - Binary Counting

  • Due No due date
  • Points 0
  • Questions 10
  • Available after Jan 25, 2021 at 12am
  • Time Limit None
  • Allowed Attempts Unlimited

Instructions

Part I: Bits and Bytes

Computers use the base-2 number system, also known as the binary number system, which is a lot easier to implement in current electronic technology than a base-10 numbers system as we use.

The binary system works as follows:

0

00000000

0*20 = 0

1

00000001

(0x21) + (1x20)= 1x1 =1

2

00000010

(1x21) + (0x20)= 1x2 + 0x0 =2

3

00000011

(1x21) + (1x20)= 1x2 +1x1 = 3

11

00001011

(1x23) +(0x22) + (1x21) + (1x20) = 8 + 0 + 2 + 1 = 11

 

To practice, answer the following questions