CMPE003

Personal Computer Concepts: Software and Hardware

Spring 1996


Lectures 3 and 4


Chapter 3 -- Ks and Keeping Track of Them: Bits, Bytes and File Systems (Computing Unbound)

bit = binary digit

ASCII

1 bit code -- 2 combinations

	0    1

2 bit code -- 4 combinations

     00   01   10   11

3-bit code -- 8 combinations

     000  001  010  011
     100  101  110  111

4-bit code -- 16 combinations

     0000 0001 0010 0011
     0100 0101 0110 0111
     1000 1001 1010 1011
     1100 1101 1110 1111

ASCII Codes

     
     A    01000001  0    00110000
     B    01000010  1    00110001
     C    01000011  2    00110010
     D    01000100  3    00110011

          ETC.

Morse Code

     A    ._        S    ...
     B    _...      T    _
     C    _._.           
     D    _..       W    ._ _
     E    .

     N    _.

 "NEWS"   _.  .  . _ _  ...

Byte

Kilobyte

Megabyte

Gigabyte

Examples

  1. Text page
         60 characters / line 
          x 50 lines/page
    
          = 3000 bytes / page
    
  2. FAX page
         8 x 10 sq. in / page
           x 300 x 300 dots / sq. in
    
           = 7,200,000 dots / page
    
           = 7,200,000 bits / page
    
           =  7,200,000 / 8 
           =    900,000 bytes / page
    
  3. Disks:
         floppy
    
    • 5.25" 360K bytes 1.2Mbytes
    • 3.5" 362K bytes 720K bytes 1.4M bytes fixed 10Mbytes- 1Gbytes +

Files

Chapter 4 -- Record Keeping with Databases (Computing Unbound)

manage data on disk

files

database programs to support

History