What is a computer?

Download Report

Transcript What is a computer?

Computer Basics
CS 1 Introduction to Computers and Computer
Technology
Rick Graziani
Fall 2007
Only the basics, the details come later!
• This presentation discusses a variety of terms and topics, all of which
will be discussed in much greater detail in later chapters.
http://www.youtube.com/watch?v=hMnk7lh9M3o
Rick Graziani [email protected]
2
No one knows it all and we never stop
learning!
• James Goldman, Purdue University
•
– “You will never know all there is know about computer technology.
– Be honest with yourself concerning what you don’t know.”
Anonymous
– “The only ones that think they know it all, are the ones that know
very little.”
Rick Graziani [email protected]
3
Terms and Acronyms
•
To learn Information
Technology (IT) is to learn
the language of acronyms
and terms…
•
WYSISYG (pronounced
WHIZ-zee-wig)
“What You See Is What You
Get”
GUI: Graphical User Interface
Rick Graziani [email protected]
4
What is a computer?
•
A computer is a electromechanical device which can be
programmed to change (process) information from one
form to another.
– Do exactly as they are told.
– Digital devices: Understand only two different states
(OFF and ON)
Rick Graziani [email protected]
5
The Human Clock: www.humanclock.com
Rick Graziani [email protected]
6
5:04 pm
Rick Graziani [email protected]
7
5:05 pm
Rick Graziani [email protected]
8
5:06 pm
Rick Graziani [email protected]
9
5:07 pm
Rick Graziani [email protected]
10
Computers are everywhere
Rick Graziani [email protected]
11
Traditional Types of Computers
• General purpose computers
–Mainframe
–Minicomputer
–Microcomputer (Personal Computer)
Rick Graziani [email protected]
12
Traditional Types of Computers
• Mainframe
Computers
• First computers, introduced in 1950s
• Used by large businesses
• Typically supported 100 to 500 users
• Very expensive
• Used for very large processing tasks
Rick Graziani [email protected]
13
Traditional Types of Computers
• Minicomputers
•
•
•
Typically supported 10 to 100 users
Smaller and less expensive than mainframes
The real difference is relative in terms of price, power,
marketing.
Rick Graziani [email protected]
14
Traditional Types of Computers
• Microcomputers
(Personal
Computer or PC)
•
Small, self-contained computers
with their own CPUs
• Used by home and business
users
• Uses a microprocessor, a CPU
(Central Processing Unit) on a
single chip.
Rick Graziani [email protected]
15
Portable Computer
•
•
•
•
What are these types of
portable computers (a type
of personal computer)?
Desktop computers
Laptop computers
Personal Digital Assistants (PDAs)
Rick Graziani [email protected]
16
Networked computer
• Networked computer = Computers connected to other computers or
•
peripheral devices (printers, etc.) to share information.
What is the difference between these two networked devices?
Intelligent terminal (computer)
Rick Graziani [email protected]
Dumb terminal
• No CPU (uses server’s)
• No Operating system (uses
server’s)
• Input and Output only
17
Embedded Computers
•
Embedded computers – Computers found in consumer
goods in order to enhance their function.
Rick Graziani [email protected]
18
Special Purpose Computers
•
Special purpose or dedicated computers – A device with a
specific purpose such as game system or information
kiosk.
Rick Graziani [email protected]
19
Hardware versus Software
•
•
Hardware = The
physical components
that make up a
computer system.
– More in a
moment…
Much more on all of
these items in later
presentations!
Rick Graziani [email protected]
20
Hardware versus Software
•
Software = The
programs (instructions)
that tell the computer
what to do.
– System Software
– Application Software
– Stored on a storage
media such as hard
disk, CD-ROM, floppy
disk, tape, etc.
– More later…
Rick Graziani [email protected]
21
Hardware Components
•
This is just an overview, more later…
Rick Graziani [email protected]
22
Hardware Components
INPUT
Know these!
Rick Graziani [email protected]
SYSTEM UNIT
OUTPUT
PERMANENT
STORAGE
23
The Processor
Let’s open the box!
Rick Graziani [email protected]
24
The Processor
circuit board = a board with
integrated circuits
(microchips)
• system board or
motherboard
• interface boards or expansion
boards
system board or motherboard
= a single circuit board with
the components which make
up the computer’s processor
for a microcomputer, including
the:
• CPU (Central Processing
Unit)
• Memory
– RAM
– ROM or ROM BIOS
• Rickexpansion
slots
Graziani [email protected]
25
Rick Graziani [email protected]
26
Rick Graziani [email protected]
27
The Processor: The CPU
CPU (Central Processing Unit) = A complex collection of electronic
circuits on one or more integrated circuits (chips) which:
1. executes the instructions in a software program
2. communicates with other parts of the computer system, especially
RAM and input devices
The CPU is the computer!
Rick Graziani [email protected]
28
Input and Output Devices
INPUT
SYSTEM UNIT
OUTPUT
PERMANENT
STORAGE
Rick Graziani [email protected]
29
Input Devices
•
•
Enter information
into a computer
Examples:
–
–
–
–
–
–
–
–
–
–
Mouse
Keyboard
Trackball
Touchpad
Light pen
Joystick
Digital camera
Microphone
Bar code reader
Scanner
Rick Graziani [email protected]
30
Output Devices
• Send information out from a PC
• Examples:
– Speakers
– Monitors
• Visual Display Unit (VDU), Cathode Ray Tube (CRT),
Liquid Crystal Display (LCD), Light-Emitting Diode
(LED)
– Printers
Rick Graziani [email protected]
31
System Unit - Revisited
INPUT
SYSTEM UNIT
OUTPUT
PERMANENT
STORAGE
System Unit:
• CPU (Central Processing Unit)
• Memory
– RAM
– ROM or ROM BIOS
• expansion slots
Rick Graziani [email protected]
32
RAM (Random Access Memory)
RAM (Random Access Memory) = integrated circuits (chips) used to
temporarily store software (programs, instructions) and data
• “primary” storage for the CPU
• electronic switches, storing ON’s and OFF’s
Temporarily stores for the CPU:
• Software
– operating system software
– application software
• Data
– data (documents, spreadsheets, etc.)
Rick Graziani [email protected]
33
Inserting RAM
RAM is TEMPORARY memory
RAM is volatile
• stores ON and OFF bits (software and data) electrically
• when power goes off, everything in RAM is lost
Rick Graziani [email protected]
34
RAM: Speed
Why does the CPU use RAM?
• The CPU is very FAST!
• The CPU needs the instructions (software) and data as quickly as
possible
• If the CPU has to wait, so does the user
Why doesn’t the CPU use permanent storage like disk drives?
• Too slow
• EXAMPLE: Spellchecker
Rick Graziani [email protected]
35
RAM: Capacity
The amount of RAM determines:
• what software and data the user can work on
• how much software and data the user can work with
• Most computers have at least 256 MB (Megabytes, 256 million bytes)
“out of memory” error message from the Operating System
The more complex and sophisticated the software, the more instructions
that software contains, which means larger software files.
Rick Graziani [email protected]
36
ROM (Read Only Memory)
ROM (Read Only Memory) = integrated circuits (microchips) that are used
to permanently store start-up (boot) instructions and other critical
information
Read Only = information which:
• Cannot be changed
• Cannot be removed
• Cannot be appended (added to)
• Fixed by manufacturer
Rick Graziani [email protected]
37
ROM (Read Only Memory)
ROM is sometimes known as ROM BIOS (Basic Input Output System
software)
ROM permanently contains:
• start-up (boot) instructions
• instructions to do “low level” processing of input and output devices,
such as the communications with the keyboard and the monitor
Firmware = software program which is stored permanently on a
microchip, such as the software on the ROM chip
Rick Graziani [email protected]
38
Looking at your computer
Rick Graziani [email protected]
39
Storage Devices
INPUT
SYSTEM UNIT
OUTPUT
PERMANENT
STORAGE
•
Storage Devices:
– Floppy disks
– CD-ROMs
– Hard disks
– Zip disks
– Tape drives
Rick Graziani [email protected]
40
Floppy disks
•
•
•
Store up to 1.44 MB of data
Usually 3.5" square disks
Removable
Write-Protect tab
(Open means “write
enabled”)
Rick Graziani [email protected]
41
Hard disks
• Fixed permanently in a hard disk
•
•
drive inside a system unit
Used to store the operating
system, applications, and data
Can not buy more expansion
(easily)
Rick Graziani [email protected]
42
CD-ROMs
•
•
•
•
•
Read-only memory devices
(but CD-R and CD-RW
discs are recordable)
Store up to 650 MB of data
Portable and can be used
on any computer that has a
CD-ROM drive
CD-R (CD Recordable)
CD-RW (CD Rewritable)
Rick Graziani [email protected]
43
Flash sticks or memory
•
•
•
Storage
Digital Player
Voice Recorder
Rick Graziani [email protected]
44
Zip disks
•
•
Store up to 250 MB of data
Used for backing up files or
transporting large files
Rick Graziani [email protected]
45
Tape drives
•
•
•
•
•
•
Work like a tape recorder
Vary in capacity and
access speed
Relatively expensive
Generally used to back up
data
Good for “archiving”
information
Types
– Cartridge (slowest)
– DAT (Digital Audio Tape)
Rick Graziani [email protected]
46
Computer Performance
•
•
•
CPU speed (and type)
Amount of RAM (and
speed)
Hard disk capacity
Rick Graziani [email protected]
47
Computer Performance
• CPU Speed
– Governed by a clock
– Measured in millions of
cycles per second, or
megahertz (MHz)
• 700 MHz means 700
million operations per
second
– Measured in billions of
cycles per second, or
megahertz (GHz)
• 1.133 MHz means 1
billion, 133 million
operations per second
Rick Graziani [email protected]
48
Software
•
•
System Software
Application Software
Rick Graziani [email protected]
49
Application Software
•
•
•
Performs specific tasks:
– Word processing
– Calculations
– Information storage and
retrieval
– Accounting
Cannot function without the
OS (Operating System)
Written for a specific
operating system and
computer hardware.
Rick Graziani [email protected]
50
Operating System Software
•
•
Loads automatically when
you switch on a computer
Main roles:
– Controls hardware and
software
– Permits you to manage
files
– Acts as intermediary
between user and
applications
Rick Graziani [email protected]
51
Operating System Software
Software which manages the overall operation of the
computer system including:
• hardware (CPU, RAM, I/O)
• security
• system interface
• application interface
Rick Graziani [email protected]
52
GUI – Graphical User Interface
Windows 3.1
Windows
95/98/XP
Rick Graziani [email protected]
53
GUI – Graphical User Interface
MAC OS
UNIX/LINUX with
X-Windows
Rick Graziani [email protected]
54
CLI – Command Line Interface
• No GUI
• MS DOS
• ? Windows 97 ?
Rick Graziani [email protected]
55
Putting it altogether!
•
•
•
Booting up the computer
Creating and saving a word processing document
Shutting down the computer
Rick Graziani [email protected]
56
CPU
RAM
ROM
256
MB
Hard Disk Drive
Operating System Software
“The kernel”
Application Software
MS Word
User data (information)
0
Rick Graziani [email protected]
57
Computer Basics
CS 1 Introduction to Computers and Computer
Technology
Rick Graziani
Fall 2007