100% found this document useful (1 vote)
114 views

1 - Number Systems Homework

This document contains a homework assignment on number systems including: 1) Converting between hexadecimal, decimal, and binary number systems. 2) Calculating the values of 8-bit two's complement numbers. 3) Converting decimal numbers to and from 8-bit two's complement notation. 4) Performing subtraction using 8-bit two's complement binary numbers. The homework covers fundamental concepts in number representation including: base conversion, signed numbers, two's complement, and binary arithmetic.

Uploaded by

Sean Wilkinson
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
114 views

1 - Number Systems Homework

This document contains a homework assignment on number systems including: 1) Converting between hexadecimal, decimal, and binary number systems. 2) Calculating the values of 8-bit two's complement numbers. 3) Converting decimal numbers to and from 8-bit two's complement notation. 4) Performing subtraction using 8-bit two's complement binary numbers. The homework covers fundamental concepts in number representation including: base conversion, signed numbers, two's complement, and binary arithmetic.

Uploaded by

Sean Wilkinson
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

AS Computer Science

1. Number Systems Homework

1. Show the conversion of the following hexadecimal numbers to decimal:


a. 4A - 74 [2]
b. BB - 187 [2]
c. A09 - 2569 [2]
d. DE - 222 [2]
e. 20F - 572 [2]

2. Convert the following decimal numbers to hexadecimal (base 16):


a. 157 - 9D [1]
b. 33 - 21 [1]
c. 453 - 1C5 [1]
d. 1024 - 400 [1]
e. 367 - 16F [1]

3. Show the conversion of the following hexadecimal numbers to binary:


a. AB - 10101011 [1]
b. FFF - 111111111111 [1]
c. 2F3 - 1011110011 [1]
d. 406 - 10000000110 [1]
e. 2AB - 1010101011 [1]

4. Convert the following binary numbers to hexadecimal.


a. 11110110 - F6 [2]
b. 1000001 - 41 [2]
c. 10010010 - 92 [2]
d. 1101010 - 6A [2]
e. 11000111 - C7 [2]
5. What is the value of the following 8 bit Two’s Complement numbers:

a. 1 0 1 1 1 0 1 1
b. 0 0 1 1 1 1 0 0
c. 1 1 0 0 0 1 1 1
d. 0 0 1 1 1 1 1 1
[4]
6. Change the following numbers into 8 bits Two’s Complement:
i. +45 [1]
ii. -38 [1]
iii. -128 [1]
iv. +127 [1]
AS Computer Science

7. Give the 8 bit binary Two’s Complement representation of:


i. -3910 [1]
ii. -4510 [1]
iii. +3610 [1]

8. An 8 bit number is used to hold binary numbers. What is the largest and smallest number that can be
represented in Two’s Complement? [2]

9. Convert the following denary numbers to 8-bit binary numbers using Two’s Complement notation:
i. 102 [1]
ii. -35 [1]
iii. -48 [1]

10. Showing your (binary) working out and using 8-bit Two’s Complement form calculate:
i. 125-56 [3]
ii. 108-34 [3]
iii. 72-45 [3]

11. Convert each of the following Two's Complement representations to its equivalent decimal
representation:
i. 00011 [1]
ii. 11111 [1]
iii. 11100 [1]

You might also like