Data%20Representation - PowerPoint PPT Presentation

About This Presentation
Title:

Data%20Representation

Description:

Microsoft Excel. Spreadsheet .xls. Word Perfect. Word Processing .wps. Microsoft Word. Word Processing .doc. Text .txt. 11/11/09. 17. Bits & Computer Hardware ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 23
Provided by: Office20041516
Category:

less

Transcript and Presenter's Notes

Title: Data%20Representation


1
Data Representation
  • Bits Bytes

2
Computers Speak Binary
  • All data and software programs in a computer are
    in binary format

3
Logical versus Physical View
  • Logical View
  • A
  • As humans see it
  • Physical View
  • 0100 0001
  • As computers see it

4
Binary Digit
  • Called a Bit
  • Signifies one of two states
  • On
  • Off
  • Represented by 0 1 (Base 2)
  • Eight Bits One Byte

5
Representing Character Data
  • Computers use an encoding system to represent
    character data

6
Encoding Systems
ASCII Unicode EBCDIC
American Standard for Information Interchange Extended Binary Coded Decimal Interchange Code
One Byte Two Bytes One Byte
256 possible characters 65,000 possible characters 256 possible characters
A 0100 0001 A 0000 0000 0100 0001 A 1100 0010
DOS and Windows to Windows 98 Windows NT, Windows 2000, Windows XP IBM Mainframe
7
Representing Program Instructions
  • All computer programs are stored in binary format
  • Move 97 to register al 1011 000 0110 0001

8
Representing Numbers
  • Computers use base 2, to store numbers

9
Base 2 Number System
  • Decimal, base 10, uses ten digits 0-9
  • Each position is 10 raised to a power
  • Binary, base 2, uses two digit 0-1
  • Each position is 2 raised to a power

10
How Base 2 works
0 0 1 0 1 0 1 1
128s 64s 32s 16s 8s 4s 2s 1s
27 26 25 24 23 22 21 20
1 x 32 1 x 8 1 x 2 1 x 1 43
11
Hexadecimal - Shorthand Binary
0 0000 0 8 1000 8
1 0001 1 9 1001 9
2 0010 2 10 1010 A
3 0011 3 11 1011 B
4 0100 4 12 1100 C
5 0101 5 13 1101 D
6 0110 6 14 1110 E
7 0111 7 15 1111 F
12
Other Types of Data
  • Images and sounds are stored using a combination
    of a header followed by data

13
Images
  • Number of Pixels
  • Picture Element
  • Smallest addressable position on a screen
  • Image size in pixels
  • Number of colors
  • 8 bits - 256 colors
  • 24-32 bits - millions of colors (true color)

14
Sound (MP3)
15
Determining What 0s and 1s Mean
  • Data interpretation depends on file type
  • File type determined by file extension

16
File Extensions
.txt Text
.doc Word Processing Microsoft Word
.wps Word Processing Word Perfect
.xls Spreadsheet Microsoft Excel
.jpg Image
.bmp Image
.mp3 Sound
.wav Sound
.htm Web Page
17
Bits Computer Hardware
  • Bits are represented five different ways in
    computer hardware
  • Representation can be volatile or non-volatile

18
Integrated Circuits
  • Electrical representation
  • Multiple transistors on silicon chip
  • Open - electricity can flow - 1
  • Closed - no electrical flow - 0
  • Volatile
  • CPU
  • Ram

19
Wire Connections
  • Electrical representation
  • 1.8 volts (or greater) - 1
  • 0 volts - 0
  • Volatile
  • System bus

20
Magnetic
  • Magnetic properties of iron oxide particles
    covering a surface
  • Particles in one direction - 1
  • Particles in opposite direction - 0
  • Non-volatile
  • Hard disk

21
Optical
  • Reflective surface with burned areas
  • Burned - Pit -1
  • Not burned - Land - 0
  • Non-volatile
  • CD
  • DVD

22
Solid State
  • Trapped electrons in a grid pattern with gates
  • Open - 1
  • Closed - 0
  • Non-volatile
  • Flash Drive
Write a Comment
User Comments (0)
About PowerShow.com