Convert the hexadecimal '3E', which represents a 2's compliment binary number, in decimal.

Firstly, represent the 316 and E16 as 2 four bit binary numbers (known as nibbles). Once we have this (0011 and 1110 respectively), we can then combine them back together, into one 8-bit 2's compliment binary number (00111110). From here, we can convert this 8-bit binary number to decimal like normal, so it becomes 32+16+8+4+2 = 6210.

JB

Related Computing A Level answers

All answers ▸

How can the idea of precondtioning as part of 'Thinking Ahead' benefit a programmer when writing code?


A binary, 8-bit floating point number 0111 0010 is said to have a 4-bit mantissa and a 4-bit exponent. What is meant by the terms 'mantissa' and 'exponent'? What is the value of this 8-bit binary floating point number?


Taken from an AQA paper: A common misconception is that the Internet is the World Wide Web. Explain the differences between the Internet and the World Wide Web.


Describe the difference between a CPU and a GPU with relation to processing power and ability to perform tasks.