Answers-WPS Office

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

MIRIAM CHEROTICH

Ed11/000642/24

Answers

1. Convert 110101 to decimal.

= 32 + 16 + 0 + 4 + 0 + 1 = 53 ]

Answer. 53

2. Convert 157 to binary.

157 ÷ 2 = 78, remainder 1

78 ÷ 2 = 39, remainder 0

39 ÷ 2 = 19, remainder 1

19 ÷ 2 = 9, remainder 1

9 ÷ 2 = 4, remainder 1

4 ÷ 2 = 2, remainder 0

2 ÷ 2 = 1, remainder 0

1 ÷ 2 = 0, remainder 1

Answer=: 10011101

3. Convert 3F4A₁₆ to decimal.

3 \times 16^3 + F \times 16^2 + 4 \times 16^1 + A \times 16^0

= 3 \times 4096 + 15 \times 256 + 4 \times 16 + 10 \times 1

= 12288 + 3840 + 64 + 10 = 16102 ]

Answer 16102

4. Convert 725₈ to decimal.

7 \times 8^2 + 2 \times 8^1 + 5 \times 8^0

= 7 \times 64 + 2 \times 8 + 5 = 448 + 16 + 5 = 469 ]

5. Convert 255 to hexadecimal.


255 ÷ 16 = 15, remainder 15 (F)

Answer FF.

6. Convert 10101101 to hexadecimal.

Group into sets of four:

1010 1101 → A D

So, AD.

7. Convert A5₁₆ to binary.

A = 1010, 5 = 0101

A5 in binary = 10100101

8. Octal 157 to Binary:

1 = 001, 5 = 101, 7 = 111

157 in binary = 001101111

Answer=001101111

9.Binary 1110100110 to Octal:

Group binary into sets of three: 001 110 100 110

Convert each group: 001 = 1, 110 = 6, 100 = 4, 110 = 6

Answer= 1646

10. Convert 456 to octal.

456 ÷ 8 = 57, remainder 0

57 ÷ 8 = 7, remainder 1

7 ÷ 8 = 0, remainder 7

Answer= 710.

11 Binary Addition 1101₂ + 1011₂:

1101

1011
11000 (Result = 11000)

Answer=11000

12. Binary Subtraction: 10000₂ - 1010₂

10000

- 01010

--------

00110

Result = 00110 (or 6 in decimal).

---

13. Convert Hexadecimal 1ABF₁₆ to Octal

1. Convert to binary:

1 = 0001

A = 1010

B = 1011

F = 1111

1ABF in binary = 0001101010111111.

2. Group into sets of three:

000 110 101 011 111

Convert: 0, 6, 5, 3, 7.

ANSWER = 06537.

---

14. Hexadecimal Addition: A5₁₆ + 3E₁₆

1. Convert to decimal:

A5 = 165

3E = 62
Total = 165 + 62 = 227. Answer=227

2. Convert back to hex:

227 in hex = E3.

---

15. Convert Decimal 1023 to Binary and Hexadecimal

1. Binary: 1023 = 1111111111.

2. Hexadecimal: 1023 = 3FF.

---

16. Convert Binary 1011001101 to Octal and Hexadecimal

1. Octal:

Group: 001 011 001 101 (pad with zeros).

Convert: 1, 3, 1, 5.

Result = 1315.

2. Hexadecimal:

Group: 1011 0011.

Convert: B, 3.

Result = B3.

17.1=001,

5=101

7=111

=00110111_2

18:

22. Convert binary 10011011101 to octal.

Binary: 10011011101

Grouping: 010 011 011 101 → 235


Answer: 235

23. Convert octal 576 to hexadecimal.

Octal: 576

Decimal:

Hexadecimal: 17E

Answer: 17E

24. Convert decimal 1000 to binary, octal, and hexadecimal.

Binary: 1111101000

Octal: 1750

Hexadecimal: 3E8

Answer: Binary: 1111101000, Octal: 1750, Hexadecimal: 3E8

25. Convert hexadecimal F2A16 to binary.

Hexadecimal: F2A

Binary: 11110010 101010

Answer: 111100101010

26. Convert binary 1111011111 to decimal.

Binary: 1111011111

Decimal:

Answer: 987

27. Convert octal 345 to binary and hexadecimal.

Octal: 345

Binary: 011 100 101 → 11100101

Decimal: 293

Hexadecimal: 125

Answer: Binary: 11100101, Hexadecimal: 125


28. Convert hexadecimal 7F4C16 to octal.

Hexadecimal: 7F4C

Decimal:

22. Convert binary 10011011101 to octal.

Binary: 10011011101

Grouping: 010 011 011 101 → 235

Answer: 235

23. Convert octal 576 to hexadecimal.

Octal: 576

Decimal:

Hexadecimal: 17E

Answer: 17E

24. Convert decimal 1000 to binary, octal, and hexadecimal.

Binary: 1111101000

Octal: 1750

Hexadecimal: 3E8

Answer: Binary: 1111101000, Octal: 1750, Hexadecimal: 3E8

25. Convert hexadecimal F2A16 to binary.

Hexadecimal: F2A

Binary: 11110010 101010

Answer: 111100101010

26. Convert binary 1111011111 to decimal.

Binary: 1111011111

Decimal:

Answer: 987
27. Convert octal 345 to binary and hexadecimal.

Octal: 345

Binary: 011 100 101 → 11100101

Decimal: 293

Hexadecimal: 125

Answer: Binary: 11100101, Hexadecimal: 125

28. Convert hexadecimal 7F4C16 to octal.

Hexadecimal: 7F4C

Decimal: : 100476

Answer: 100476

29. Perform hexadecimal subtraction F3 - A9.

Hexadecimal: F3 - A9

Decimal: 243 - 169 = 74

Hexadecimal Result: 4A

Answer: 4A

30. Convert decimal 512 to binary and octal.

Binary: 1000000000

Octal: 1000

Answer: Binary: 1000000000, Octal: 1000

31. Convert binary 110110110011 to decimal, octal, and hexadecimal.

Binary: 110110110011

Decimal: 3563

Octal: 6653

Hexadecimal: DB3

Answer: Decimal: 3563, Octal: 6653, Hexadecimal: DB3


32. Largest decimal value with 8 bits in binary.

Answer: 255

33. Unique values with 4 hexadecimal digits.

Answer: 65536

34. Binary equivalent of hexadecimal FF16.

Hexadecimal: FF

Binary: 11111111

Answer: 11111111

35. Result of octal addition 176 and 45.

Octal Addition:

176

45

Decimal: 193

Octal Result: 277

Answer: 277

36. Convert the binary number 10101010 to Gray code.

1. Binary Number: 10101010

2. Gray Code Calculation:

First bit: 1

Second bit: 1 XOR 0 = 1

Third bit: 0 XOR 1 = 1

Fourth bit: 1 XOR 0 = 1

Fifth bit: 0 XOR 1 = 1

Sixth bit: 1 XOR 0 = 1

Seventh bit: 0 XOR 1 = 1


Eighth bit: 1 XOR 0 = 1

Gray Code: 11111111

---

37. What is the 2's complement of the binary number 1101?

1. Binary Number: 1101

2. Invert the Digits:

1 → 0, 1 → 0, 0 → 1, 1 → 0

Inverted: 0010

3. Add One:

0010

0001

= 0011

You might also like