1.introduction To Computer 1.1 1.9
1.introduction To Computer 1.1 1.9
Introduction
to
Computer
2
Table of Content
What is a Computer?
Input Devices
Output Devices
Designing efficient programs
Introduction to C
Structure of C program
Files used in a C program
Compilers
Compiling and executing C programs, variables, constants,
Input/output statements in C
3
What is a Computer?
The straightforward meaning of a computer is a
machine.
A computer is a programmable electronic machine
used to store, retrieve, and process data.
According to the definition, "A computer is a
programmable electronic device that takes data,
perform instructed arithmetic and logical
operations, and gives the output."
4
History of Computers
Charles Babbage - father of computer
» 1800’s planned analytical engine
ENIAC - developed at end of WW II
History - Microcomputers
Apple
» First sold in late 1970’s
» Developed by Jobs and Wozniak
IBM Personal Computers
» First sold in 1981
» Was quickly accepted by businesses
» IBM compatibles soon developed
Generations of 6
Computer
First Generation (1946 - 1959): During the
first generation, computers were based on
electronic valves (Vacuum Tubes). Some
popular computers of first-generation are
ENIAC, EDVAC, UNIVAC, etc.
Second Generation (1959 - 1965): During
the second generation, computers were
based on Transistors. Some popular
computers of second-generation are IBM
1400, IBM 1620, IBM 7000 series, etc.
Generations of 7
Computer
Third Generation (1965 - 1971): During the third
generation, computers were based on
Integrated Circuits (ICs). Some popular
computers of the third generation are IBM 360,
IBM 370, PDP, etc.
Fourth Generation (1971 - 1980): During the
fourth generation, computers were based on
very large scale integrated (VLSI) circuits.
Some popular computers of fourth-generation
are STAR 1000, CRAY-1, CRAY-X-MP, DEC 10,
etc.
Generations of 8
Computer
Fifth Generation (1980 - Present): The fifth
generation is still ongoing. The computers are
based on multiple technologies, such as ultra
large scale integration (ULSI), artificial
intelligence (AI), and parallel processing
hardware. The fifth generation of computers
includes Desktop, Laptop, NoteBook, etc.
Types of Computers – 9
Minicomputers
Mainframes
Very powerful
Very fast
Used by large corporations and
governmental agencies
Operated by computer specialist
Types of Computers- 12
Supercomputers
Most powerful
Fastest
Most expensive
» Several million dollars each
Used only by
» Governmental agencies
» Large international corporations
13
Computer Operations
External Storage
14
Hardware
Computer hardware is the collection of physical
elements that constitutes a computer system.
Special keys
» Enter, Function, Ctrl, Alt, Num Lock, Esc
16
Scanner
Digital camera
Touch screen
Voice
18
Output Devices
Monitor
Printer
Disk Drive
» Can also be input device
Modem
» Can also be input device
19
Monitors
Made up of tiny
elements called
pixels
Each row of pixels is
called a scan line
Picture is displayed
by an electronic
beam lighting up
certain pixels
20
Monitors - Resolution
Monitors - Sizes
Monitors - LCD
17” or larger
.28 dot pitch or better
32 or more megs of memory on
video card
26
Printers
Laser
Ink Jet
Dot Matrix
27
Printers - Laser
Printers - Speed
Central Internal
Data
Processing Memory
Bus
Unit
33
microprocessor
CPU - Misc.
Performance also affected by speed of
data bus
» 400-800 MHz on most current systems
Cache can increase speed
» Stores data you will likely need next in an
area that has faster access
» Both memory cache and disk cache used
» Should be 512 K or better
40
External Memory
44
Floppy Drives
Hard Drives
Builtinto machine
Made up of stack of platters
Can store much more than floppy
drives
» 40 gigabytes should be minimum
Can access info much faster than
floppy drive
46
CD ROM
DVD-ROM
Can store up to 17 GB
USB drive
» Very popular – 64-512 MB
Tape drive
» Similar to cassette tape
» Used for backup
Zip drive
» 100 MB to 2 GB capacity
» Everyday use and backup
50
CD-RW drive
Expansion Slots
Ports
Connects computer to another
device
Parallel port
» Used primarily by printers
Serial ports
» Modem, mouse, etc.
SCSI - chain devices
USB –may be needed for
» Digital Cameras
» Mp3 players
» Other devices
53
Networks
Connects computers
LAN - Local Area
WAN - Wide Area
Wireless
Allows sharing of
programs, files,
printers, etc.
Server is “main”
computer
54
Modems - General
Allows 2
computers to
communicate over
phone lines
Can be internal or
external
Can also have fax
capabilities
55
Modems
Bits per second(bps) indicates speed
» Old modems - 9,600, 14,400, 28,800, 33,600
» 56,000 (56K) has becoming standard
Requirements
2 GHz Pentium IV Class Processor
256 megabytes of RAM
17”, .28 dot pitch monitor with 32 meg card
40 gigabyte hard drive
CD-RW
56k modem
Ink jet or laser printer
Buying Hints - Software 57
Bundles
Many systems come with software included
Productivity
» Microsoft Works
» Microsoft Office, Lotus SmartSuite, etc
» Quicken, Money, or other financial software
Reference
» Microsoft Encarta or Compton’s encyclopedia
Games
Buying Hints - Service and 58
Warranty
Programs
Systems Software
Run fundamental operations
» Loading and running programs
» Saving and retrieving data
» Communicating with printers, modems, etc.
Examples of systems software
» DOS
» Windows 3.1, 95, 98, Me, 2000, and XP
» Unix
» Linux
62
Applications Software
Shareware
» Can use - make copies and give to anyone
» Should pay if you continue to use
Freeware – can copy and use indefinitely
64
Software Viruses
Illegal code added to a program
May spread to many computers
» Copy files from one computer to another
» Download files by modem
» E-mail attachments
Virus may be relatively harmless
» Writes “You’ve been stoned” on screen
Virus may also be very damaging
» Erases everything on hard drive
Virus may activate on a certain date
65
Virus Protection
Computer
Speed: Computers are a high-speed electronic
machine. They can carry around 3-4 million instruction
per second. Even advanced computers can handle
trillions of instructions per second, cutting down the
time to perform any digital tasks.
Accuracy: Computers are also known for their
accurate performance. They can complete the given
jobs at almost 100% accuracy. Although errors may
occur in computers, they are usually caused by
incorrect input, incorrect instructions, or bugs in chips.
All of these are human errors.
Characteristics of 67
Computer
Storage Capacity: Computers can easily store a
massive size of data. Modern computers come inbuilt
with high storage features compared to older days.
Additional data can be stored on secondary devices like
external hard disks, or flash memory, etc. Due to
incredible speed, data can be retrieved from storage in
no time.
Reliability: Computers are reliable and consistent; they
can process the same tasks any number of times without
throwing any error. Computers don't get tired like
humans, so they are superior to perform rule-based,
repetitive tasks.
References
• Wikipedia.org
• Google.com
• Seminarppt.com
• Studymafia.org
Thanks
To
SeminarPpt.Com