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.

Answered by John B. Computing tutor

4881 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

What is the difference between local and global variables?


How can I decide whether Quicksort or Mergesort is better for a given situation?


Write a function in pseudocode that determines if a given string is a palindrome


Give two types of management of either hardware or other resources that are performed by an operating system.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences