201-3(7)
201-3(7)
1
Computer Systems
• System is a group of components,
consisting of subsystems or procedures
that work in a coordinated fashion to
achieve some objective.
• A computer system is composed:
– Computer hardware or
– Computer software.
2
Computer Hardware
• physical part of the computer that you can
see and the parts you can touch.
• composed of a number of interacting
physical parts based on the need of the
information flow
3
4
Central Processing Unit (CPU)
• CPU - the actual hardware that interprets and executes the
program instructions and coordinates how all the other
hardware devices work together.
– Control unit - interprets software instructions and tells the
other hardware devices what to do, based on the software
instructions
– Arithmetic/logic unit (ALU) - performs all arithmetic
operations and all logic operations
– Registers are small, fast memory within the CPU
• CPU Speed
– Megahertz (MHz) - the number of millions of CPU cycles
per second
– Gigahertz (GHz) - the number of billions of CPU cycles per
second
5
CPU cycle
1. Fetch instruction
2. Interpret instruction
3. Fetch data
4. Process data
5. Write data
6
Execution of an Instruction
7
Processing Characteristics and
Functions
9
Storage Units
• Classified as
– Primary, and
– Secondary storage units.
10
Types of Primary Memory
11
Types of Memory
Read-only memory (ROM)
– Non-volatile
– Permanent data and instructions from
manufacturer
– Types
• Masked ROM
• PROM: Programmable
• EPROM: Erasable programmable
• EEPROM: Electrically EPROM
• Flash ROM
12
Secondary Storage Access Methods
• Sequential access
– Access in the same order it was written
– Ex: Need to access memory location 5. Then, you
need to go through 1, 2, 3, and 4 first.
– Example: Magnetic Tapes
• Direct/Random access
– Directly access the location
– Faster than sequential access
– Example: Magnetic Disks, Optical Disks, and Flash
Stick/Memory
13
Secondary Storage Devices
14
15
Hard Disc
16
Digital Versatile Disc Player
17
Input Devices
• Personal computer input devices
– Keyboard
– Mouse
• Voice-recognition devices
– Microphone
– Software to convert voice into bits
• Digital computer cameras
– Record images and video
• Scanning devices
– Scanner
• Touch-sensitive Screens
• Badge Reader
• Bar-code Reader
• Disk Drives
18
Output Devices
• Display Monitors
– Cathode Ray Tube (CRT)
• Flat panel
– Liquid Crystal Displays (LCDs)
– Light Emanating Diodes (LED)
• Printers and Plotters
– Speed measured in pages (page printed per minute)
• Disk Drives
• Speaker
• Etc…
19
Overview of Software
• Computer programs: Sequences of instructions
• Program contains the instructions that the hardware
executes to perform an information processing task
• Software = Programs + Procedures +
Documentations
• Without the aid of software, the computer hardware
is useless
• Two categories of software
– Application
USER
– System
Software
Hardware
20
Systems Software
• System software controls how the various
technology tools work together along with the
application software
–Operating System controls application
software and manages how the hardware
devices work together
Example: Microsoft Windows, Mac OS, Linux, Ubuntu, Fedora,…
–Utility/Language Softwares
Uninstaller software, spyware software
21
Operating Systems
22
Operating Systems
24
Language Software
• Are software which are used by programmers to develop
application software’s and translate programs to machine
code
• Language software consists programs that serve as editors &
translators to develop programs in a number of programming
languages includes:- Translators, general purpose routines
and utilities & high level languages
• Translator:-is a program that converts one or more languages
to another language.
• Three types of translators are
– assemblers,
– Compilers &
– interpreters.
25
Programming Languages
• Low Level Languages
– Machine Language
– Assembly Language
• High Level Languages
– Uses English like words and statements
– Example: Pascal, C, Java, Basic, C++, VB,
C#, PHP, etc
26
Application Software
27
Word Processing Program
28
Spreadsheet Program
29