Professional Documents
Culture Documents
1 Introduction to computers
A computer is a electronic device which accepts data from the user and produces the
desired output.
Characteristics of computer:
•DILIGENCE: Computer never feels bored and it can work for hours and
hours without any break and creating error.
•POWER OF REMEMBERI
Input unit
o Input units are used by the computer to read the data. The most commonly used
input devices are keyboards, mouse, joysticks, trackballs, microphones, etc.
o Example of Input Devices are: Keyboard, Mouse, Hard-disk, Floppy-disk, CD-ROM, etc.
Memory unit
o The Memory unit can be referred to as the storage area in which programs are kept
which are running, and that contains data needed by the running programs.
Primary Memory: Primary Memory hold data and application temporarily. Example of Primary storage
devices include: Magnetic Core Memory, Cache Memory, RAM, ROM, etc.
Secondary Memory(Auxiliary Memory): Secondary Memory hold data and instruction for
permanent basis.Example of Secondary Storage devices include: Hard-Disk, Floppy-Disk,
Flash Memory, etc.
Output Unit
o The primary function of the output unit is to send the processed results to the user.
Output devices display information in a way that the user can understand.
o Output devices are pieces of equipment that are used to generate information or any
other response processed by the computer. These devices display information that
has been held or generated within a computer.
o example of an output device is a monitor, Printer, Plotter, etc
Store Program Control Concept
The idea was introduced in the late 1940s by John von Neumann who proposed that a
program be electronically stored in the binary-number format in a memory device so that
instructions could be modified by the computer as determined by intermediate
computational results.
ENIAC (Electronic Numerical Integrator and Computer) was the first computing system
designed in the early 1940s. It was based on Stored Program Concept in which machine use
memory for processing data.
Von-Neumann Model
Von-Neumann proposed his computer architecture design in 1945 which was later known
as Von-Neumann Architecture. It consisted of a Control Unit, Arithmetic, and Logical
Memory Unit (ALU), Registers and Inputs/Outputs.
The General Purpose Computer System is the modified version of the Von-Neumann
Architecture. In simple words, we can say that a general purpose computer system is a
modern day architectural representation of Computer System.
The CPU (Central Processing Unit) consists of the ALU (Arithmetic and Logic Unit), Control
Unit and various processor registers.
The CPU, Memory Unit and I/O subsystems are interconnected by the system bus which
includes data, address, and control-status lines.
Parallel Processing
Parallel processing can be described as a class of techniques which enables the system to
achieve simultaneous data-processing tasks to increase the computational speed of a
computer system.
A parallel processing system can carry out simultaneous data-processing to achieve faster
execution time. The primary purpose of parallel processing is to enhance the computer
processing capability and increase its throughput.
M.J. Flynn proposed a classification for the organization of a computer system by the
number of instructions and data items that are manipulated simultaneously.
The operations performed on the data in the processor constitute a data stream.
Flynn's classification divides computers into four major groups that are:
1. Single instruction stream, single data stream (SISD)
2. Single instruction stream, multiple data stream (SIMD)
3. Multiple instruction stream, single data stream (MISD)
4. Multiple instruction stream, multiple data stream (MIMD)
SISD
Instructions are executed sequentially, and the system may or may not have internal
parallel processing capabilities.
SIMD
All processors receive the same instruction from the control unit but operate on different
items of data.
MISD
MISD structure is only of theoretical interest since no practical system has been
constructed using this organization.
In MISD, multiple processing units operate on one single-data stream. Each processing unit
operates on the data independently via separate instruction stream.
MIMD
In this organization, all processors in a parallel computer can execute different instructions
and operate on various data at the same time.
In MIMD, each processor has a separate program and an instruction stream is generated
from each program.
What is an Operating System?
Some computer processes are very lengthy and time-consuming. To speed the same
process, a job with a similar type of needs are batched together and run as a group.
The user of a batch operating system never directly interacts with the computer. In this
type of OS, every user prepares his or her job on an offline device like a punch card and
submit it to the computer operator.
Real time OS
A real time operating system time interval to process and respond to inputs is very small.
Examples: Military Software Systems, Space Software Systems are the Real time OS
example.
Distributed Operating System
Distributed systems use many processors located in different machines to provide very fast
computation to its users.
Network Operating System runs on a server. It provides the capability to serve to manage
data, user, groups, security, application, and other networking functions.
Mobile OS
Mobile operating systems are those OS which is especially that are designed to power
smartphones, tablets, and wearables devices.
Some most famous mobile operating systems are Android and iOS, but others include
BlackBerry, Web, and watchOS.
Fu
nctions of Operating System
4. Device Management: Device management keeps tracks of all devices. This module
also responsible for this task is known as the I/O controller. It also performs the
task of allocation and de-allocation of the devices.
7. Security:- Security module protects the data and information of a computer system
against malware threat and authorized access.
10. Job accounting: Keeping track of time & resource used by various job and users.