1 Introduction to Computers. 2 25 Chapter Goals Describe the history of computer hardware and...
-
Upload
robert-price -
Category
Documents
-
view
222 -
download
1
Transcript of 1 Introduction to Computers. 2 25 Chapter Goals Describe the history of computer hardware and...
1
Introduction to Computers
2
25
Chapter Goals
• Describe the history of computer hardware and software
• Describe the changing role of the computer user
• Distinguish between systems programmers and applications programmers
• Distinguish between computing as a tool and computing as a discipline
• List the basic components of a computer system
• Understand what a Computer Program is• List the Programming Life-Cycle Phases
3
3
Hardware The physical elements of a computing system (printer, circuit boards, wires, keyboard…)
Software The programs that provide the instructions for a computer to execute
Computing Systems
4
6
Abacus An early device to record numeric values
Blaise Pascal Mechanical device to add, subtract, divide & multiply
Joseph Jacquard Jacquard’s Loom, the punched card
Charles BabbageAnalytical Engine
Early History of Computing
5
7
Ada LovelaceFirst ProgrammerAlan TuringTuring Machine, Artificial Intelligence Testing
Harvard Mark I, ENIAC, UNIVAC IEarly computers launch new era in mathematics, physics, engineering and economics
Early History of Computing
6
8
Vacuum TubesLarge, not very reliable, generated a lot of heat
Magnetic Drum Memory device that rotated under a read/write head
Card Readers Magnetic Tape DrivesSequential auxiliary storage devices
First Generation Hardware (1951-1959)
7
9
TransistorReplaced vacuum tube, fast, small, durable, cheap
Magnetic CoresReplaced magnetic drums, information available instantly
Magnetic DisksReplaced magnetic tape, data can be accessed directly
Second Generation Hardware (1959-1965)
8
10
Integrated CircuitsReplaced circuit boards, smaller, cheaper, faster, more reliable.
TransistorsNow used for memory construction
Terminal An input/output device with a keyboard and screen
Third Generation Hardware (1965-1971)
9
11
Large-scale IntegrationGreat advances in chip technology
PCs, the Commercial Market, WorkstationsPersonal Computers were developed as new companies like Apple and Atari came into being. Workstations emerged.
Fourth Generation Hardware (1971-?)
10
12
Parallel ComputingComputers rely on interconnected central processing units that increase processing speed.
Networking
ARPANET and LANs Internet
Parallel Computing and Networking
11
13
Machine LanguageComputer programs were written in binary (1s and 0s)
Assembly Languages and translatorsPrograms were written in artificial programming languages and were then translated into machine language
Programmer ChangesProgrammers divide into application programmers and systems programmers
First Generation Software (1951-1959)
12
14
High Level LanguagesUse English-like statements and make programming easier. Fortran, COBOL, Lisp are examples.
High-LevelLanguages
Assembly LanguageMachine
Language
Second Generation Software (1959-1965)
13
15
Third Generation Software (1965-1971)
• Systems Software– utility programs, – language translators, – and the operating system, which decides which
programs to run and when.
• Separation between Users and Hardware
Computer programmers began to write programs to be used by people who did not know how to program
14
16
Application Package
Systems Software
High-Level Languages
Assembly Language
Machine Language
Third Generation Software (1965-1971)
15
17
Structured ProgrammingPascal, C, C++
New Application Software for UsersSpreadsheets, word processors, database management systems
Fourth Generation Software (1971-1989)
16
18
MicrosoftThe Windows operating system, and other Microsoft application programs dominate the market
Object-Oriented DesignBased on a hierarchy of data objects (i.e. Java)
World Wide WebAllows easy global communication through the Internet
New UsersToday’s user needs no computer knowledge
Fifth Generation Software (1990- present)
17
20
Programmer / User
Applications Programmer(uses tools)
User with No Computer Background
Systems Programmer(builds tools)
Domain-Specific Programs
Computing as a Tool
18
21
Computing as a Discipline
• What can be (efficiently) automated?
• Four Necessary Skills1. Algorithmic Thinking
2. Representation
3. Programming
4. Design
19
Is Computer Science a mathematical, scientific, or engineering discipline?
22
What do you think?
Computing as a Discipline
20
23
Systems Areas of Computer Science
• Algorithms and Data Structures
• Programming Languages
• Architecture
• Operating Systems
• Software Methodology and Engineering
• Human-Computer Communication
21
24
Application Areas of Computer Science
• Numerical and Symbolic Computation
• Databases and Information Retrieval
• Artificial Intelligence and Robotics
• Graphics
• Organizational Informatics
• Bioinformatics
22
Computer Components-- Hardware
23
Memory Unit
• is an ordered sequence of storage cells, each capable of holding a piece of information
• each cell has its own unique address
• the information held can be input data, computed values, or your program instructions.
24
Memory Unit
25
RAM and ROM
• RAM stands for Random Access Memory– Inherent in the idea of being able to access each
location is the ability to change the contents of each location
• ROM stands for Read Only Memory– The contents in locations in ROM cannot be changed
• RAM is volatile, ROM is not– This means that RAM does not retain its bit
configuration when the power is turned off, but ROM does
26
Secondary Storage Devices
• Because most of main memory is volatile and limited, it is essential that there be other types of storage devices where programs and data can be stored when they are no longer being processed
• Secondary storage devices can be installed within the computer box at the factory or added later as needed
27
Magnetic Tape
• The first truly mass auxiliary storage device was the magnetic tape drive
28
Magnetic Disks• A read/write head travels across a spinning
magnetic disk, retrieving or recording data
29
Compact Disks
• A CD drive uses a laser to read information stored optically on a plastic disk
• CD-ROM is Read-Only Memory
• DVD stands for Digital Versatile Disk
30
Peripherals
• are input, output, or auxiliary storage devices attached to a computer
– Input Devices include keyboard and mouse.
– Output Devices include printers, video display, LCD screens.
– Auxiliary/Secondary Storage Devices include disk drives, scanners, CD-ROM and DVD-ROM drives, modems, sound cards, speakers, and digital cameras.
31
Central Processing Unit
• has 2 components to execute program instructions
– Arithmetic/Logic Unit performs arithmetic operations, and makes logical comparisons.
– Control Unit controls the order in which your program instructions are executed.
32
Flow of Information
• The parts are connected to one another by a collection of wires called a bus
33
The Fetch-Execute Cycle
• Fetch the next instruction
• Decode the instruction
• Get data if needed
• Execute the instruction
34
The Fetch-Execute Cycle