Data representation (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

Describe a situation where using hexadecimal representation would be particularly advantageous in computer science. Explain the benefits in detail.

2.

Write a program to add two positive 8-bit binary integers, A and B, and store the result in a third 8-bit binary integer, C. Show your working and the expected output for the following inputs: A = 00001010 and B = 00001101.

3.

Convert the following hexadecimal number to its decimal equivalent. Show your working.

Hexadecimal: 3A16