Distributed System Architectures Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
-
Upload
baldric-golden -
Category
Documents
-
view
222 -
download
3
Transcript of Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
![Page 1: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/1.jpg)
Chapter 1Data Storage(2)
Yonsei University
1st Semester, 2014 Sanghyun Park
![Page 2: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/2.jpg)
Outline Bits and their storage (prev. file) Main memory (prev. file) Mass storage Representing information as bit patterns Binary system Storing integers (next file) Storing fractions (next file)
![Page 3: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/3.jpg)
Mass Storage Systems Non-volatile; data _______ when power is off
Usually much ______ than main memory
Usually _______ disks Hard disk, floppy disk, CD-ROM Much ______ than main memory because
(1) data access must wait for _____ time (head positioning), and(2) data access must wait for ________ latency
![Page 4: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/4.jpg)
Disk Storage
![Page 5: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/5.jpg)
CD Storage
![Page 6: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/6.jpg)
Magnetic Tape Storage
![Page 7: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/7.jpg)
Representing Text ASCII (adopted by American National Standards Institute
ANSI) American Standard Code for Information Interchange _____ to represent each symbol Upper and lower case letters of English alphabet,
punctuation symbols, digits 0 to 9, and other symbols Can represent 256 (28) different symbols
Unicode _____ to represent each symbol Can represent 65,536 (216) different symbols
ISO (International Organization for Standardization) _____ to represent each symbol Can represent more than 17 million symbols
![Page 8: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/8.jpg)
Representing Numeric Values Binary notation –
uses bits to represent a number in base ____
Limitationsof computer representations of numeric values ________ happens when a number is too big to be represented _________ happens when a number is between two
representable numbers
![Page 9: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/9.jpg)
Representing Images Bitmap techniques
Image is a collection of ______ (picture element) Each pixel can be represented as a number of bits
1 bit/pixel Black and white8 bits/pixel Gray scale24 bits/pixel 1-byte for each of the primary colors RGB
Size? (need for ___________)
Vector techniques Image represented as collection of _____ and curves Fonts on printers _______ fonts (True Type, PostScript) CAD (Computer Aided Design) _______ problem
![Page 10: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/10.jpg)
Representing Sound
![Page 11: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/11.jpg)
Base Ten and Base Two Systems
![Page 12: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/12.jpg)
Decoding the Binary Representation
![Page 13: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/13.jpg)
Finding Binary Representation ofPositive Integers
![Page 14: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/14.jpg)
Finding Binary Representationof Thirteen
![Page 15: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/15.jpg)
Binary Addition Facts
![Page 16: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/16.jpg)
Fractions in Binary (1/3) Use _____ point just like decimal To the _____ of radix point positions are numbered
as -1, -2, -3, …
![Page 17: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/17.jpg)
Fractions in Binary (2/3) Express the following binary notation
Convert the integer part Convert the fraction part;
Try to map the fraction as a sum of ___________________using the given ___________ as a guide.
Put a radix point in between
1653
310 is 112
20101.041
161
164
161
165
20101.111653
![Page 18: Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649e3c5503460f94b2edb3/html5/thumbnails/18.jpg)
Fractions in Binary (3/3) Addition of binary numbers with radix points
_____ radix point Apply binary addition process
0010.011
+ 100.110
0111.001