Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

20
Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park

Transcript of Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Page 1: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Chapter 1Data Storage(1)

Yonsei University

1st Semester, 2015 Sanghyun Park

Page 2: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Outline Bits and their storage Main memory Mass storage (next file) Representing information as bit patterns (next file) Binary system (next file) Storing integers (next file) Storing fractions (next file)

Page 3: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Bits and Their Storage Today’s computers represent information as patterns of

____

A bit (binary digit) is either one of two _____ – 0 and 1

Storing a bit within a machine requires a device that can be in one of two ______, such as a switch (on or off) ora relay (open or closed)

Page 4: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Bit Operations

Page 5: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Gates (1/3) We think of the digit 0 as representing the value _____

and the digit 1 representing the value ____

Operations that manipulate true/false values are called ________ operations

A device that produces the output of a Boolean operation is called a ____

Page 6: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Gates (2/3) Gates can be constructed from a variety of technologies

such as gears, relays and optic devices

Current technology implements gates as small electronic _______

Gates are building ______ from which computers are constructed

Page 7: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Gates (3/3)

Page 8: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Flip-Flop Circuit (set of connected _____) whose output will flip or

flop between ___ values under control of external stimuli

Flip-flop can be used to store value of a ___

Page 9: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Flip-Flop Output If both inputs are 0, output will ___ ______

Placing 1 on _____ input forces output to be 1

Placing 1 on _____ input forces output to be 0

Page 10: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Setting the Output to 1 (1/3)

Page 11: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Setting the Output to 1 (2/3)

Page 12: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Setting the Output to 1 (3/3)

Page 13: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Another Way of Constructing Flip-Flop

Page 14: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Hexadecimal Notation Long bit streams are difficult to make sense of

The lengths of most bit streams used in a machine are multiples of _____

____________ notation is a shorthand notation for streams of bits

Hexadecimal notation is more ________, and_____ ___________ to manually read, copy, or write

Page 15: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Hexadecimal Coding System

Page 16: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Main Memory: Cells Cells are manageable units (typically _ bits) into which a

computer’s main memory is arranged

A _____ is a string of 8 bits

The left end of the conceptual row in which the contents of a cell are laid out is called the ________ end

The right end of the conceptual row in which the contents of a cell are laid out is called the _______ end

The bit at the low-order end is called the ___ significant bit

Page 17: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Byte-Size Memory Cell

Page 18: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Main Memory Addresses An _______ is a “name” to uniquely identify one cell in

the computer’s main memory

Addresses are __________ numbers, usually starting at ____

Cells have an _____: “previous cell” and “next cell” have reasonable meanings

Memory where any cell can be accessed independently is called _______ access memory

Page 19: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Memory Cells Arranged By Address

Page 20: Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.

Measuring Memory Capacity “_____” normally means 1,000;

Kilobyte = 210 = 1,024

“_____” normally means 1,000,000;Megabyte = 220 = 1,048,576

“_____” normally means 1,000,000,000;Gigabyte = 230 = 1,073,741,824