0% found this document useful (0 votes)
105 views3 pages

T2 Homework 2

The document is a homework assignment on binary arithmetic and hexadecimal. It contains 8 questions testing students' abilities to: 1) Convert between binary, decimal, and hexadecimal numbering systems. 2) Identify even and odd binary numbers. 3) Explain why hexadecimal is used to represent colors. 4) Perform addition on binary numbers and identify overflow errors.

Uploaded by

Aziz Alusta Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views3 pages

T2 Homework 2

The document is a homework assignment on binary arithmetic and hexadecimal. It contains 8 questions testing students' abilities to: 1) Convert between binary, decimal, and hexadecimal numbering systems. 2) Identify even and odd binary numbers. 3) Explain why hexadecimal is used to represent colors. 4) Perform addition on binary numbers and identify overflow errors.

Uploaded by

Aziz Alusta Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Homework 2 Binary arithmetic and hexadecimal

Unit 2 Data

Name:............................................................................ Class:................... Mark:................

1. Convert the following binary values into denary: [2]


(a) 00011011

(b) 11100110

2. Circle the binary value below that represents the denary value 87.
(a) 01011010
(b) 11000100
(c) 01010111
(d) 00011010
3. Convert the following values to and from Hexadecimal: (Show your working). [7]
(a) Denary 37 to Hex

(b) Denary 59 to Hex

(c) Hex 2F to Denary

(d) Hex 1A to Binary

(e) Hex 16 to Binary

1
Homework 2 Binary arithmetic and hexadecimal
Unit 2 Data

(f) Binary 0011 0111 to Hex


37

(g) Binary 1101 1111 to Hex


DF

4. The binary number 1110 0100 is an even number. Explain why this is the case with
reference to the rightmost bit.
Because even binary numbers have a 0 a the end, odd binary numbers have a 1 at the end

5. Colours in art packages are often given using hexadecimal as illustrated below with
#00ccff.

Explain why hexadecimal is used rather than the actual 24-bit colour value.
- Quicker to write or type

- Less likely to make errors

6. Add 00100111 to 00101010. You should include your working.


1 1 1 1
0 0 1 0 0 1 1 1
+ 0 0 1 0 1 0 1 0
0 1 0 1 0 0 0 1

2
Homework 2 Binary arithmetic and hexadecimal
Unit 2 Data

7. Add 00100111 to 00111010. You should include your working.


1 1 1 1 1
0 0 1 0 0 1 1 1
+ 0 0 1 1 1 0 1 0
0 1 1 0 0 0 0 1

8. An error occurs when you try to add 11011001 to 11100100 and store it as an 8-bit number.
Explain the error that occurs.
It overflows and turns into a 9-bit number

[Total 20 marks]

You might also like