Example DtoB
25 % 2 == 1 (20 bit)
25 / 2 == 12
12 % 2 == 0 (21 bit)
12 / 2 == 6
6 % 2 == 0 (22 bit)
6 / 2 == 3
3 % 2 == 1(23 bit)
3 / 2 == 1
1 % 2 == 1 (24 bit)
1 / 2 == 0 - End
110012 == 2510
Note : repetitive structure
Note : conditional decision (0 or 1)
Previous slide
Next slide
Back to first slide
View graphic version