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