当前位置:文档之家› 计算机科学导论课件:chap2-data-representation-new

计算机科学导论课件:chap2-data-representation-new


图书登记
图书登记
图书数量
5000 4000 3000 2000 1000
0 1234567 图书类别
社科类 数学类 物理类 电子类 外语类 机械类 化工类
95年 928 600 300 500 600 300 320 96年 1100 980 680 900 850 650 560 97年 2080 1280 920 1600 1011 890 880 98年 2650 1900 1020 2800 1400 1080 1225 99年 3108 2600 1866 3968 1911 1532 1600
Number Representation
Number Systems Conversion Between Number Systems Integer Representation Floating-point Representation
Operations on Bits
Arithmetic Operations Logical Operations
The words, numbers, and graphics used as the basis for human actions and decisions. The difference between data and information:
Data becomes information when it is presented in a format that people can understand and use.
Lecture 2
The information layer: Data and Number Representations
Outline
Data Representation
Data and Information Data Types Digital Data Representation How To Represent Different Types of Data
Objectives
Differentiate between data and information. Explain how text, images, audio and video
are represented in computers. Explain decimal notation, binary notation,
☺This universal format is called a bit pattern.
Digital Data Representation Digital device works with discrete, distinct data or
Data
information
Overview (con.)
There are several types of data.
Data
Text Number Image Audio Video
The computer industry uses the term
Note:
“multimedia” to define information
that contains numbers, text, images,
audio, and video.
Question : How do you handle all these data types (text, number, image, audio and video)?
Text
1234… 890….
hexadecimal notation, and octal notation. Apply conversions from one number
system to another.
Objectives
Explain how integers are stored in computers (sign-and-magnitude, one’s complement, twt 1
Data Representation
Overview
What’s data?
Data refers to the symbols that a computer uses to represent facts (such as people, events and things) and ideas. What’s information?
Solution
☺The most efficient solution is to use a uniform representation of data.
☺All data types from outside a computer are transformed into this uniform representation when stored in a computer and then transformed back when leaving the computer.
系列1 系列2 系列3 系列4 系列5
Overview (con.)
Data entered into a computer is called input. The processed information are called output. The cycle of input, process, output, and storage is called the information processing cycle.
Explain how the Excess system works. Explain how to represent a floating-point
number in computers. Apply bit operations such as arithmetic
operations, logical operations, and shift operations.
相关主题