Difference between revisions of "CSC103: DT's Notes 1"

From dftwiki3
Jump to: navigation, search
Line 82: Line 82:
  
 
<tanbox>When counting, we always increment the right-most digit by 1.  When this digit must roll-over back to 0, we do so, and increment the digit to its left.  If this one rolls over to 0 as well, then we do so and increment the digit to its left, and so on.
 
<tanbox>When counting, we always increment the right-most digit by 1.  When this digit must roll-over back to 0, we do so, and increment the digit to its left.  If this one rolls over to 0 as well, then we do so and increment the digit to its left, and so on.
 +
</tanbox>
  
 
Let's now count in ''base'' 2, in binary.  This time our "internal" table contains only 2 digits: 0, 1.
 
Let's now count in ''base'' 2, in binary.  This time our "internal" table contains only 2 digits: 0, 1.

Revision as of 23:41, 30 January 2012

--© D. Thiebaut 08:10, 30 January 2012 (EST)


This section is only visible to computers located at Smith College