V22.0101
Fall, 2007

{updated on 9/18}

Binary Representation of Numbers

ASSIGNMENT # 1: Section 1
Due: Tuesday, 9/25/07 By midnight



Binary Representation of Numbers:
Decimal numbers from 0 through 255 can be represented in the binary number system using 8 bits. Here are some examples

DecimalBinary
0 00000000
1 00000001
2 00000010
3 00000011
7 00000111
15 00001111
16 00010000
25 00011001
128 10000000
129 10000001
254 11111110
255 11111111

See details for conversions from decimal to binary and binary to decimal from this URL: http://www.danbbs.dk/~erikoest/binary.htm#top

General Notes:

 


Extra credit:

  1. Provide a pseudocode code for your program
  2. Provide flowchart for your program

PART TWO:


Style counts, follow style guide posted here