This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.

John McSweeney - picture detail

John McSweeney

February 5, 2012, 5:08 am

M150 Data, Computing and Information

Number System Exercises

 

Left click on the A icon to get the answers (switch off pop-up blocker if you have one enabled).

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. Left click and a new window will open

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. Left click and a new window will open

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

Link to answer for Q3. Left click and a new window will open

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

Link to answer for Q4. Left click and a new window will open

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. Left click and a new window will open

Next page » Introduction to document markup

Previous page « Binary Addition