Chapter 3 - Information
Chapter 3 - Information
Chapter 3 - Information
2
Secondary Memory Devices
Hard disks
Floppy disks Hard Disk
ZIP disks Main
Writable CDs Memory
Tapes
Floppy Disk
3
Input / Output Devices
Monitor screen
Keyboard Hard Disk
Mouse Main
Bar code scanner Memory
Light pen
Touch screen Floppy Disk
4
Software Categories
Operating System
• controls all machine activities
• provides the user interface to the computer
• manages resources such as the CPU and memory
• Windows 98, Windows NT, Unix, Linux, Mac OS
Application program
• generic term for any other kind of software
• word processors, missile control systems, games
5
Analog vs. Digital
There are two basic ways to store and manage data:
Analog
• continuous, in direct proportion to the data represented
• music on a record album - a needle rides on ridges in the grooves
that are directly proportional to the voltage sent to the speaker
Digital
• the information is broken down into pieces, and each piece is
represented separately
• music on a compact disc - the disc stores numbers representing
specific voltage levels sampled at various points
6
Digital Information
Computers store all information digitally:
• numbers
• text
• graphics and images
• audio
• video
• program instructions
7
Representing Text Digitally
For example, every character is stored as a number,
including spaces, digits, and punctuation
Hi, Heather.
8
Binary Numbers
Once information is digitized, it is represented and stored
in memory using the binary number system
9
Bit Combinations
10
Number System
11
12
Binary Number
A Binary Number is made up of only 0s and 1s.
13
Conversion
Decimal to Binary
14
Octal Number System
OCTAL or BASE-8 numbers uses eight symbols: 0, 1, 2, 3,
4, 5, 6, and 7 (count them!) and position plays.
15
Conversion
Decimal to Octal
16
Hexadecimal Number
System
Hexadecimal is the name of the numbering system that is
base 16.
17
Conversion
Decimal to Hexadecimal
18
Activity
19
Bit Combinations
Each combination can represent a particular item
There are 2N combinations of N bits
Therefore, N bits are needed to represent 2N unique items
1
1 bit ? 21 = 2 items
How many 2 bits ? 2
22 = 4 items
items can be
represented by
3 bits ? 23 = 8 items
4 bits ? 24 = 16 items
5 bits ? 25 = 32 items
20
A Computer Specification
Consider the following specification for a personal
computer:
21
Memory
9278
Main memory is divided
9279 into many memory
9280 locations (or cells)
9281
9282
9283 Each memory cell has a
9284 numeric address, which
9285 uniquely identifies it
9286
22
Storing Information
23
Storage Capacity
Every memory device has a storage capacity, indicating the
number of bytes it can hold
Capacities are expressed in various units:
24
Memory
Main memory is volatile - stored information is lost if the
electric power is removed
Secondary memory devices are nonvolatile
25
RAM vs. ROM
RAM - Random Access Memory (direct access)
ROM - Read-Only Memory
26
The Central Processing Unit
A CPU is also called a microprocessor
It continuously follows the fetch-decode-execute cycle:
fetch
execute decode
27
The Central Processing Unit (CPU)
The CPU contains:
Performs calculations
Arithmetic / Logic Unit and decisions
Coordinates
Control Unit processing steps
Small storage
Registers areas
28
The Central Processing Unit
The speed of a CPU is controlled by the system clock
29
Monitor
The size of a monitor (17") is measured diagonally, like a
television screen
30
Modem
Data transfer devices allow information to be sent and
received between computers
31
Networks
A network is two or more computers that are connected so
that data and resources can be shared
32
Network Connections
Each computer in a network could be directly connected to
each other computer in the network
These are called point-to-point connections
33
Network Connections
Most modern networks share a single communication line
Adding a new computer to the network is relatively easy
34
Local-Area Networks
A Local-Area Network
(LAN) covers a small
distance and a small
number of computers
LAN
35
Wide-Area Networks
LAN
36
The Internet
The Internet is a WAN which spans the entire planet
38
IP and Internet Addresses
Each computer on the Internet has a unique IP address, such
as:
204.192.116.2
renoir.villanova.edu
kant.breakaway.com
40
Domain Names
A domain name can have several parts
41
The World-Wide Web
The World-Wide Web allows many different types of
information to be accessed using a common interface
The term Web comes from the fact that information is not
organized in a linear fashion
42
The World-Wide Web
Web documents are often defined using the HyperText
Markup Language (HTML)
http://www.lycos.com
http://www.villanova.edu/webinfo/domains.html
ftp://java.sun.com/applets/animation.zip
43