CE100 - Chapter 1 - Introduction To Computer Systems
CE100 - Chapter 1 - Introduction To Computer Systems
Introduction to
Computer and
Systems
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software
Definition of a Computer
– SmartPhones
– iPods
– Tablets
– Car navigation system (GPS)
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software
1.2 Hardware and Software
Concept:
Hardware
• The physical devices that a computer is
made of are referred to as the computer’s
hardware.
• A computer is a system of devices that
work together.
Computer System
1.2 Hardware
Hardware
A Computer System consists of:
– Central Processing Unit (CPU)
– Main memory
– Secondary storage
– Input devices
– Output devices
1.2 Hardware
Today's Processor:
Much smaller & more Powerful
1.2 Hardware –Memory
Memory
Primary Secondary
Memory Memory
ROM RAM
Types of Data Access
1-21
1.2 Memory
Secondary Storage Devices
• Solid-State drives are becoming increasingly popular
– Does not contain a disk. Instead, it stores data in solid-
state memory
– No moving parts
– Operates faster than a traditional disk drive
• USB drives are small devices that plug into the computer’s
universal serial bus (USB) port
– It does not contain a disk
– The data is stored on flash memory
– Also known as memory sticks and flash drives
– Inexpensive, reliable, and small
Secondary Storage Devices
1-26
Input Devices
• Any data the computer collects from people and from other
devices is called input.
• The hardware component that collects the data is called an
input device.
• Common input devices are:
– Keyboard
– Mouse
– Touch screen
– Scanner
– Microphone
– Digital camera
• Mouse
Invented by Doug Englebart,
Xerox PARC, in 1966
Wireless
• Footmouse
Equivalent to conventional
mouse but no RSI (Repetitive
Stress Injury)
Bar Code Readers
• Photoelectric scanner
• Read bar codes
– Alternating black & white vertical bars
– Universal Product Code (UPC)
• Seen in grocery stores, retail stores
Microphone, Voice Recognition …
• Brain activity
input - this neural
network system
distinguishes 5
brain patterns - for
up, down, L, R &
click
Touchscreens
Output Devices
• Inkjet
• Laser Jet Printer
1.2 Software
Software
System Software
• Programs that control and manage the basic operations
of a computer are referred to as system software.
• Includes the following types:
• Operating System controls the internal operations of the
computer’s hardware and manages all of the devices
connected to the computer.
• Utility Programs perform a specialized task that enhances
the computer’s operation or safeguards data.
• Software Developments Tools are programs that are used to
create, modify, and test software.
1.2 Software
Application Software
• Programs that people normally spend most of their
time running on their computers performing everyday
tasks are referred to as application software.
• For example:
• Word processing
• Spreadsheet
• Database
• Presentation
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software
1.3 How Computers Store Data
Concept:
Storing Numbers
• The positive charge or the on position is represented by the
digit 1
• The negative charge or the off position is represented by the
digit 0
• This corresponds to the binary numbering system where all
numeric values are written as a sequence of 0s and 1s
• Each digit in a binary number has a value assigned to it
Storing Numbers
For example:
Figure 1-10 Determining the Figure 1-11 The bit pattern for 157
value of 10011101
1.3 How Computers Store Data
Storing Numbers
• The largest value that can be stored in a byte with eight bits is
255
• Two bytes are used for larger numbers; maximum value is
65535
Storing Characters
• ASCII is a set of 128 numeric codes
• ASCII is limited
• Unicode is an extensive encoding scheme
• It is compatible with ASCII
• It represents characters for many languages in the
world
1.3 How Computers Store Data
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software
1.4 How a Program Works
Concept:
Figure 1-16
The fetch-decode-
execute cycle
1.4 How a Program Works
Figure 1-17
An assembler translates
an assembly language
program to a machine
language program 1-55
1.4 How a Program Works
High-Level Languages
•Assembly language is referred to as a low-level language
•High-level languages allow you to create powerful and complex
programs without knowing how the CPU works, using words that
are easy to understand.
For example:
Java, C++, Python, Visual Basic, C#, Ada, Fortran
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software
1.5 Types of Software
Programs generally fit into one of two
categories
– System software
• The set of programs that control or enhance the
operation of a computer such as an Operating
System, Utility Programs, or Software Development
Tools.
– Application software
• Programs that make a computer useful for every day
tasks such as Microsoft Word, email programs, and
Web browsers.
Recap
1.1 Introduction
1.2 Hardware & Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Types of Software