Business Programming I Fall – 2000 By Jim Payne
Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic Characters A,B,C,a,b,c Special Symbols * ( [ { ? / + :
Lecture 05Jim Payne - University of Tulsa3 Coding Systems EBCDIC EBCDIC – used in many mainframes Extended Binary Coded Decimal Interchange Code An IBM coding system used mainly on mainframe computers ASCII ASCII – used on most PC’s American Standard Code for Information Interchange
Lecture 05Jim Payne - University of Tulsa4
Lecture 05Jim Payne - University of Tulsa The capital letter A has a hex value of 41, and a binary value of
Lecture 05Jim Payne - University of Tulsa The alphanumeric 7 has a hex code of 37, and a coded binary ascii code of
Lecture 05Jim Payne - University of Tulsa What is the binary equivalent of GO TU!
Lecture 05Jim Payne - University of Tulsa8 HD 1.4MB diskette 2 sides * 80 tracks * 18 sectors = 2880 allocation 512 bytes each Total space = 1,474,560 bytes Less 33 allocation units for system information = Available Storage = 1,457,664 bytes
Lecture 05Jim Payne - University of Tulsa9 Tracks 80 Sector 18 Allocation unit 512 bytes each Sides 2
Lecture 05Jim Payne - University of Tulsa10 1 allocation unit 512 bytes = 4096 bits ……. magnetized spots
Lecture 05Jim Payne - University of Tulsa11 Convert to Binary? The number 11 The alphanumeric 11 The zip code The salary 74104
Lecture 05Jim Payne - University of Tulsa12 CPU Input Output Primary RAM switches How many bytes? How many bits? in each
Lecture 05Jim Payne - University of Tulsa13 CPU Input Output 64MB of RAM 1024*1024 = 1,048,576 = 1 Megabyte * 64 = 67,108,864 bytes * 8 = 536,870,910 bits or switches Disks: 1.4MB 10 Gigabytes 100 MB Zip
Lecture 05Jim Payne - University of Tulsa14