go to home page   go to next page

created: 05/29/2009; revised 05/24/2015

Appendix H — Converting Decimal Representation to Binary

This chapter shows how to find the binary representation of an integer, assuming that you start with its decimal representation. You should already have read chapters one through eight.

Chapter Topics:

Let us start by looking at the Repeated Division Method.


If you divide a positive integer by two (using integer division) what are the possible values for the remainder?

Hint: try dividing 4 by two.
try dividing 5 by two.
try dividing 6 by two.