Chapter 1
Chapter 1
COMPUTER SYSTEMS
(Computer Components, Software, Operating System, File
System, Programming Languages, Compilers)
COMPUTER
A computer is an electronic device that is capable of processing information
to produce a desired result. No matter how large or small they are, the
functionalities of a computer can be classified into three basic steps:
a) accepting input
b) Processing the input according to predefined rules (programs)
c) Producing output
There are several components that make up a computer, they can be broadly
divided into Software and Hardware components
COMPUTER
The computer can only carry out instructions given to it. It doesn't have any
intelligence, and it cannot think.
If you want to use the computer to solve a problem, you first have to
devise a method to solve the problem. That is not all; we have to break
up this method of solution into simple steps, and then we have to write
step-by-step instructions that the computer can carry out and arrive at
the solution
The set of instructions written for the computer to guide it through the
process of achieving a specific task is called a computer program(or
software)
Professional programs are often referred to as software. The computer
system itself is called the hardware
HARDWARE
Hardware refers to a collection of all physical components that constitute a
computer system, i.e. all components that can be touched. Examples include:
• Monitor, Mouse, Keyboard, Hard disk Drive, System Unit: motherboard,
chips, memory, etc.
PERIPHERAL
A device such as a disk drive, printer, modem or joystick, that is connected
to a computer and is controlled by a computer’s microprocessor
HARDWARE: Input Devices
A device, such as a keyboard or a mouse, that is used to enter information
into a computer; they translate data from a form that human understands to
computer-readable form. Examples include:
Fun Fact: A standard keyboard has 104 keys and the most common is the
QWERTY keyboard.
HARDWARE: Output Devices
A device, such as a printer, video display or speaker, that presents data from
a computer to a user; so it presents the already processed data from
electronic/computer format to human-readable form. Examples include:
Monitor, plotters, projectors, computer output microfilm, LCD projection
panels, headphones, speech synthesizer etc.
HARDWARE: Input/Output(I/O) Devices
A piece of hardware that can be used both for providing data to a computer
and for receiving data from it depending on the current situation. Examples
include:
CD-R/RW, DVD, and Blu-ray drive, Digital camera, Fax machine, Floppy
diskette drive, Hard drives, Modem, NIC (network interface card), SD Card,
Sound card, Touch screen, USB flash drive
COMPUTER SYSTEM
The term "computer system" is used to refer to the complete system that
consists of all the necessary modules, or devices connected to the computer.
• Masked ROM
• Programmable ROM
• Erasable and Programmable ROM
• Electrically Erasable and Programmable ROM
MEMORY
Other forms of memory include:
Volatile Memory:
Memory, such as RAM, loses its data when the power is shut off, another
example is the cache memory.
Non-Volatile Memory:
Memory, such as ROM, that does not lose data when power is removed from
it.
MEMORY
Secondary storage: can hold data for long periods of time
Programs normally stored here and loaded to the main memory when
needed
Bit Size
Byte byte 8 bits
Kilobyte KB 1024 bytes
Megabyte MB 1024 Kilobytes
Gigabyte GB 1024 Megabytes
Terabyte TB 1024 Gigabyte
COMPUTER SPEED MEASUREMENT
The speed of the Processing unit is measured in Hertz (Hz) with respect to the CPU cycle.
• Others include disk formatters, file managers, networking and device control
software, etc.
OPERATING SYSTEM
The operating system is a program (software) that controls the overall operation
of the computer. It must be provided to the computer before giving any other
program or data. It is due to the operating system program that the computer
displays a prompt, and responds to various commands we type using keyboard.
Without the operating system program, the computer would not understand what
your commands mean, and therefore would not function at all
The disk that contains the operating system program is usually called the system
disk or startup disk. The computer will then copy the operating system program
from the disk or hard disk into the memory. This process is called booting
up/boostrapping.
OPERATING SYSTEM
The operating system has three major functions
A computer program (or set of programs) that translates text written in a computer
language (the source language) into another computer language (the target language).
The original sequence is usually called the source code and the output is called object code.
The name “compiler” is primarily used for programs that translate source code from a high-
level programming language to a low-level language (e.g., machine language)
COMPILER
LOW-LEVEL LANGUAGE
A language that provides little or no abstraction from computer’s microprocessor.
The word ‘low’ does not imply that the language is inferior to high-level
programming languages but rather refers to the small or nonexistent amount of
abstraction between language and machine language ; because of this, low-level
languages are sometimes described as being close to the “hardware”.
HIGH-LEVEL LANGUAGE
A programming language that, in comparison to low-level programming languages
may be more abstract and easier to use.
Statement in the High-level language generally use keywords similar to English
and translate into more than one machine-language instructions.
For example, Pascal, Visual Basic, C++ and Java.
Thank you for Listening