001 Computer System
001 Computer System
COMPUTER SYSTEM
What is
Computer?
A computer can be defined as an electronic
device which accepts input from the user,
process the input and produce the desired
output.
COMPUTER - Commonly Operated Machine Particularly Used for Trade, Education
and Research
BASIC COMPUTER
COMPONENTS
INTRODUCTION
computer performs basically five major
functions
irrespective of its size and make.
It accepts data or instructions by way of
input
It stores data
It processes data as required by the user
It controls operations of a computer I-P-O
Cycle
It gives results in the form of output
INPU PROCES OUTPU
T S T
COMPONENTS OF COMPUTER
BLOCK DIAGRAM OF
COMPUTER
INPUT DEVICES
These are the devices used to give input
to computer for processing.
Input may be in form of text, images, audio, etc.
Input Devices example:
Keyboard
Mouse
Joystick
Scanner
Etc.
INPUT DEVICES – through which control signals are sent to the system –
sends the input data in digital format that the system can process.
CP
U Stands for Central Processing Unit
logical operations.
S)
card data-processing machine which was used to compile information
for the 1890 U.S. census. Hollerith's tabulator became so successful that
he started his own business to market it. His company would
eventually become International Business Machines (IBM).
Hollerith card
puncher used by the
United S t a t e s
Census B u re a u
TURING
MACHINE(1937)
British mathematician Alan Turing developed a hypothetical device,
the Turing machine which would be designed to perform logical
operation and could read and write.
• Around 1990 the growth of WWW further accelerated the mass usage of
computers
Memory of
Computer
Memory refers to the place where data is stored
temporarily or permanently.
Input must goes to Memory Unit then only any
action on it can be performed.
Computer Memory is basically of 2 types:
Primary Memory
• COMPUTER MEMORY THAT IS ACCESSED DIRECTLY BY THE CPU
Primary or main memory stores information(data and
instruction)
Secondary Memory
Stores the data permanently for future retreival
Primary
Memory
Random Access Memory (RAM)
It is the working memory, right from the booting of
computer till the computer is shutdown this memory
is in use to store all the operation done by the
computer
is used for primary storage in computers to hold
active information of data and instructions.
It holds data temporarily i.e. Volatile Memory
RAM is faster than secondary memory.
Data is lost if Power Off
Primary
Memory
Read Only Memory (ROM)
ROM (Read Only Memory) is used to store the
instructions provided by the manufacturer, which holds
the instructions to check basic hardware inter
connecter and to load operating system from
appropriate storage device
It is also known as FIRMWARE
Its data is stored permanently on it so it is non-volatile
device.
Eg. Boot loader(that loads OS into primary memory is
stored in ROM)
Cache Memory (Frequently used
Data)
RAM is faster than secondary storage but not as fast as
computer processor.
3 types of Bus:
1) Data Bus
2) Address Bus
3) Control Bus
Address Bus:
It is unidirectional bus from CPU to memory.
Responsible for carrying address of a memory
location or input/output ports
Data Bus:
It is a bidirectional bus that carries the actual data
to & from memory location, to output ports and
from input ports.
It carries 16 bits or 32 bits or 64 bits of data
depending on architecture.
Control Bus:
It is bidirectional bus that carries control signals like
whether a device is ready or to stop/ halt when
interrupt occurs
MICROPROCESSORS
Based on
• Chip Type
• Word size
• Memory size
• Clock speed
• Cores
Word size:
Maximum number of bits that a microprocessor can
process a time.
Memory size:
Depending upon the word size, the size of RAM
varies. Ram size was 4 MB due to 4/8 bits word but now up
to 16 Exa bytes.
Clock speed:
The speed at which the microprocessor executes instructions.
The faster the clock speed, the more instructions the microprocessor
can execute per second.
Cores:
initially single core so single task
But now multicore so multiple tasks.
Microcontrollers
Example:
Washing machine, microwave etc., has
microcontroller.
Data vs Information
Data are raw numbers or other findings which, by themselves, are of
limited value.
Types:
1. Structured Data
2. Unstructured Data
3. Semi-structured Data
STRUCTURED DATA
• Sorting is possible
EXAMPLES:
• Examples:
• Email document
• HTML page
• CSV files
Data capturing, storage &
Retrieval
Data capturing
• Through Keyboard
• Barcode reader
• Scanners
• Comments or posts over social media
Data storage
• Storing the captured data
for processing later
• Can have servers to store
vast data
Data Retrieval
• Fetching data from the storage devices
for processing.
Or
Deleting digitally means changing the data at bit level and that is time
consuming
Hence when any data is deleted its address is marked as free and that
space is shown as empty to the user without deleting it.
Data Recovery
User
Appn
Software
System
software
Hardware
Two things:
•It manages the hardware resources of the
computer system.
•It provides a stable, consistent way for
applications to deal with the hardware
Types of System software
FUNCTIONS OF OPERATING SYSTEM
• Processor management
Loads, schedules and execute process/programs.
• Memory management
Allocates /De-allocation of memory for program execution.
• Device management
Communicate and controls various I/O devices.
• Application interface
provide a way for applications to make use of hardware
• User interface
structure for interaction between a user and the computer
Types of System software
2. Free & Open Source Software – Freely usable with source code
E.g. Ubuntu, open office, python etc.,
3. Proprietary Software – Neither open nor freely available and we
purchase from the vendor. E.g., Microsoft windows
4. Freeware – Software is freely available but source code
may not be available. E.g. Skype, Adobe Reader etc.,
5. Shareware - Freely accessible, usable but for a limited
period.
Objectives of Operating System
To Provide services for running application
programs.
When an application program needs to be run it
is an OS that loads that program into memory
and allocates the CPU for execution.
When multiple applications programs need to be
run , the OS decides the order of execution.
To Provide interface between the user and the
computer.
OS User Interface
Character User Interface
This type of interface requires user to type each
instructions on its prompt to send request to
computer.
User must remember each command with proper
syntax to perform its operation.
It is not very easy and user friendly.
Example of this type of interface was DOS (Disk
Operating System), it is still available with
windows as CMD program where we can type the
DOS commands
Character User Interface
Graphical User Interface
It is more user friendly interface than CUI which
uses images, icons to represent the option,
commands.
Various GUI components are used like: Labels, Text
Box, Buttons, Check Box, Radio Buttons, List
Box, Combo Box, Password field, Menus, Dialog
Box etc.
GUI Interface is Event Drive i.e. user must perform
event like – Click, Double Click, Drag to trigger
the action.
Now days every OS/Applications are GUI based
Graphical User Interface
LABEL
TEXT
BOX
DROP
DOWN
LIST
RADIO
BUTTON
BUTTON
Touch Screen
Interface
A touch screen is a computer/mobile display screen
that is allows user to interact with the application by
directly touching it by hand or by stylus. The screens
are sensitive to pressure; a user interacts with the
computer by touching pictures or words on the
screen.
Voice-based Interface
In the working of a modern computer system, memory plays a vital role. The CPU
reads from and writes to specific memory addresses. Various approaches to memory
management are:
1. Contiguous Storage Allocation
2. Non Contiguous Storage Allocation