Basic Conversions (Binary, Hexadecimal, etc)

1. Convert the hexidecimal number D6 to decimal Since it is base-16, we multiply the first digit (6) by 16^0 - giving us 6 We then multiple the second digit (D - which equates to 13) by 16^1 - giving us 208 Therefore the answer is 208 + 6 = 214 2. Represent 67 as an unsigned, 8 bit binary number To convert 67 to binary, we must divide it by 2 and record the remainder until the original number is less than 1 67/2 = 33 remainder 1   33/2 = 16 remainder 1   16/2 = 8 remainder     8/2 = 4 remainder 0 4/2 = 2 remainder 0    2/2 = 1 remainder 0     1/2 = 0.5 remainder 1 We then reverse the order of the remainder's, to give us 1000011 (representing 67) - which we can write as 01000011 to put it in 8 bits

Answered by Calum J. Computing tutor

2972 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Write a Pseudocode function that returns the factorial of an integer input.


In decimal, what is the most negative number that can be represented using a 12-bit two’s complement binary integer?


What is the difference between compile-time errors and runtime errors?


What are the benefits of using thin clients.


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–2024

Terms & Conditions|Privacy Policy