April 24, 2024

Number System Exercises

 

Left click on the A icon to get the answers.

1. Convert the following IP addresses into 32-bit binary form.

(i) 127.0.0.1
(ii) 199.34.57.255

Link to answer for Q1.

2. Convert the following decimal RGB values into hex form.

(i)
R 255
G 000
B 051
(ii)
R 102
G 204
B 153

Link to answer for Q2.

3. Add the following binary numbers
(i) 00010110 + 00111111
(ii) 01111101 + 01100011

Link to answer for Q3.

4. Convert the answers to 3(i) and (ii) into decimal numbers.

Link to answer for Q4.

5. By using the 8-bit ASCII table, the following binary code can be used to represent the four characters M150

01001101 00110001 00110101 00110000

Give the decimal representation of each character.

Link to answer for Q5.

Next page » Introduction to document markup

Previous page « Binary Addition

 

 

 

 

 

 

 

 

 

 

 

 

Up to top of page