Download presentation

Presentation is loading. Please wait.

Published byJacob Cliffe Modified over 3 years ago

1
How to Convert Decimal Numbers to Binary EXAMPLES

2
Convert 37 to Binary 128 64 32 16 8 4 2 1 128 doesn’t fit into 37 b 7 =0 64 doesn’t fit into 37 b 6 =0 32 fits into 37 b 5 =1 Subtract: 37 – 32 = 5 Continue the process with 5 16 doesn’t fit into 5 b 4 =0 8 doesn’t fit into 5 b 3 =0 4 does fit into 5 b 2 =1 Subtract: 5 - 4 = 1 Continue the process with 1 2 doesn’t fit into 1 b 1 =0 1 fits into 1 b 0 =1 00100101

3
Convert 37 to Binary - Second Method Divide by 2 and store the remainder 37/2=18 b0=1 18/2 =9 b1=0 9/2=4 b2=1 4/2=2 b3=0 2/2=1 b4=0 1/2=0 b5=1 Write remainders from bottom up and pad with leading 0’s to fill all 8 bits 00100101

4
Convert 259 to binary 259/2 = 129 b0=1 129/2 = 64 b1=1 64/2 = 32 b2=0 32/2=16 b3=0 16/2=8 b4=0 8/2=4 b5=0 4/2=2 b6=0 2/2 =1 b7=0 1/2 = 0 b8=1 00000001 00000011 2 bytes are needed to store this number

Similar presentations

OK

BINARY 1. Number Systems Base 10 uses the numbers 0-9 Represents numbers as ones, tens, hundreds etc HundredsTensOnesSolution 0430+40+3= 43 594500+90+4=

BINARY 1. Number Systems Base 10 uses the numbers 0-9 Represents numbers as ones, tens, hundreds etc HundredsTensOnesSolution 0430+40+3= 43 594500+90+4=

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on obesity management images Ppt on human nutrition and digestion test Ppt on precautions of tsunami wave Ppt on credit default swaps aig Ppt on job rotation process Ppt on event driven programming advantages Ppt on dry cell and wet cellulose Ppt on limits and derivatives calculus Ppt on life without cell phones Ppt on japanese business culture