You are on page 1of 2

a) a.

Complete the following chart by converting the numbers given in one of the
notations to the other two. Show calculations.
Binary Decimal Hexadecimal

10001101 141 0x 8D

1110011 115 0x 73

11001 25 0x 19

11111101 253 0x FD

10101011 171 0x AB

110111101 445 0x1BD

1) (10001101)₂ = (1 × 2⁷) + (0 × 2⁶) + (0 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2 ⁰) =


(141)₁₀
2) Convert every 4 binary digits (from bit0) to hex digit (see conversion table below): 1110011=
111 0011= 7 3= 73
3)

Division Remainder
by 2 Quotient (Digit) Bit #
(25)/2 12 1 0
(12)/2 6 0 1
(6)/2 3 0 2
(3)/2 1 1 3
(1)/2 0 1 4
4) Convert every 4 binary digits (from bit0) to hex digit (see conversion table below): 11001= 1
1001= 1 9= 19
5) (11111101)₂ = (1 × 2⁷) + (1 × 2⁶) + (1 × 2⁵) + (1 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2 ⁰) =
(253)₁₀
6) Convert every 4 binary digits (from bit0) to hex digit (see conversion table below): 10101011=
1010 1011= A B= AB
7) Convert each hex digit to 4 binary digits (see conversion table below): BD= B D= 1011 1101=
10111101

b) . What is the minimum number of bits that can be used to represent the decimal
number 213?
11010101

c) What is the minimum number of bytes that can be used to represent the decimal
number 213?
1 byte
d) What is a purpose of using hexadecimal notation?
It is easy to convert the binary number into its hexadecimal equivalent. And it can
decrease decimals which can help the computer to store more information
e) What is ASCII code?
It’s an abbreviation of the America Standard Code for Information Interchange. It’s
the a character-encoding based on the ordering of the English alphabet. ASCII codes
represent text in computers, communication equipment, and other devices that use
text.

a. “Hex” in binary representation is 01001000 0100010 101011000.

b. “Read” in binary representation is 01010010 01000101 01000001


01000100, which is equivalent to 82 69 65 68 in decimal representation.
c. 01010011 01110100 01110101 01000100 01100101 01101110 01110100 is the
binary representation of the ASCII string StuDent.

You might also like