Computer Awareness 1
Computer Awareness 1
BY
ROHAN RAVIKUMAR
2
Session-1- Basics of computer
• Definition of Computer
• Classification of Computers
• Computer Hardware
• Computer Software
3
Definition of Computer
• A computer is a programmable device which accepts, store, logically
manipulate information and give desired output.
• Characteristics of Computer: Speed , Accuracy, Reliability, Versatility,
Storage Capacity.
4
Classification of Computers
• Based on generation
1st generation computer, 2nd generation computer, 3rd
generation, 4th generation and 5th generation computer.
• Based on functionality
Analog computer, Digital computer, Hybrid computer
• Based on size
Super computer, Mainframe computer, Minicomputer, Micro
computer (PC).
5
Based on Generation
6
First Generation Computers(1940-1956)
• Vacuum tubes for circuitry
• Magnetic drums for memory
• High power consumption.
• machine language
• Input was based on punched cards and paper tape, and output was
displayed on printouts.
• Ex: UNIVAC and ENIAC computers.
7
8
Second Generation Computers(1956-1963)
• Transistors replaced vacuum tubes
• The transistor was invented at Bell Labs in 1947.
• They still relied on punched cards for input and printouts for output.
• Assembly language was used.
• First Time OS and core memory were introduced.
• Ex: COBOL, FORTRAN, IBM 1401, 1402, PDP-1.
9
transistor
11
Level of Integration No. of components
Small scale integration (SSI) 0-100
Medium scale integration 100-500
(MSI)
Large scale integration (LSI) 500-3L
Very large scale integration 3L-15L
(VLSI)
Very very large scale Above 15L
integration(VVLSI)
Fourth Generation Computers(1971-present)
• LSI, VLSI
• Portable computers
• RAID (Redundant Array of Inexpensive Disks)
• Virtual reality
• Data communication
• Ex : IBM PC, Apple Macintosh
13
Fifth Generation Computers(present-future)
• Parallel processing, speech recognition, robotics, AI
14
Quantum Computers
15
16
Based on Functionality
17
Analog computers
• Data varies continuously
• Used for measurements, communication , broadcasting
18
Digital computers
• Discrete data
• High speed
• Binary system
• Solve complex math problems
19
Hybrid computers
• Combination of analog and digital
• ADC and DAC are required
• Specialized tasks like for ICU, modern vehicles
20
Classification of Digital Computers
21
Super Computer
• They are the highest performing system. The actual Performance of a
supercomputer is measured in FLOPS instead of MIPS. Mostly use
Linux-based operating systems. Used in stock analysis, weather
forecasting, nuclear research.
• India’s first super computer PARAM. India’s top super computer
Pratyush (Cray XC40) used by Indian Institute of Tropical Meteorology.
22
23
Mainframe Computer
• These are commonly called as big iron; they are usually used by big
organizations for bulk data processing.
• Multiuser, up to 1000 workstations at a time.
• They are also used in Banking, railways, airlines.
• E.g.: IBM z Series, System z9 and System z10 servers.
24
Mini Computer
• They have lesser speed and storage compared to super and
mainframe computers.
• They are Mid-sized computers.
• 4 to 200 workstations can be connected.
• Ex: CDC 160A, CDC 1700, HP 2100.
25
Micro Computers (PC)
• A microcomputer is a small, relatively inexpensive computer with a
microprocessor as its CPU.
• It includes a microprocessor, memory, and minimal I/O circuitry
mounted on a single printed circuit board.
26
Computer Hardware
CPU
PHERIPHERALS
27
Central Processing Unit (CPU)
28
• The central processing unit (CPU) or processor, is the unit which
performs most of the processing inside a computer. It processes all
instructions received by software running on the PC and by other
hardware components, and acts as a powerful calculator.
• The CPU is placed into a specific square-shaped socket found on all
motherboards(Main circuit- CPU+ Memory+ Expansion slots).
29
30
Control Unit
• This unit controls the operations of all parts of the computer but does
not carry out any actual data processing operations.
• It is responsible for controlling the transfer of data and instructions
among other units of a computer.
• It manages and coordinates all the units of the computer.
• It obtains the instructions from the memory, interprets them, and
directs the operation of the computer.
• It communicates with Input/Output devices for transfer of data or
results from storage.
• It does not process or store data.
31
ALU (Arithmetic Logic Unit)
• It has two sets of operations- arithmetic operations and Logical
operations.
• Arithmetic operations- addition, subtraction, multiplication..
• Logical operations- AND, OR, EX-OR, NOT..
32
LOGICAL OPERATIONS
33
34
35
NOTE
Registers: High speed
memory units for critical
functions.
36
Main Memory
• CPU can directly access main memory.
• It consists of RAM and ROM.
• This unit can store instructions, data, and intermediate results. This
unit supplies information to other units of the computer when
needed.
• Its size affects speed, power, and capability.
37
Computer – Memory
Memory is primarily of three types −
• Cache Memory
• Primary Memory/Main Memory
• Secondary Memory
38
Cache Memory
• Cache memory is a very high speed semiconductor memory which
can speed up the CPU.
• It acts as a buffer between the CPU and the main memory. It is used
to hold those parts of data and program which are most frequently
used by the CPU.
• The parts of data and programs are transferred from the disk to cache
memory by the operating system, from where the CPU can access
them.
39
The advantages of cache memory are as follows −
• Cache memory is faster than main memory.
• It consumes less access time as compared to main memory.
• It stores the program that can be executed within a short period of
time.
• It stores data for temporary use.
The disadvantages of cache memory are as follows −
• Cache memory has limited capacity.
• It is very expensive.
40
Primary Memory (Main Memory)
• Primary memory holds only those data and instructions on which the
computer is currently working.
• It has a limited capacity and data is lost when power is switched off. It
is generally made up of semiconductor device.
• The data and instruction required to be processed resides in the main
memory. It is divided into two subcategories RAM and ROM.
• It is the working memory of the computer.
• Faster than secondary memories.
• A computer cannot run without the primary memory.
41
Secondary Memory
• This type of memory is also known as external memory or non-
volatile. It is slower than the main memory.
• CPU directly does not access these memories, instead they are
accessed via input-output routines. The contents of secondary
memories are first transferred to the main memory, and then the CPU
can access it. For example, disk, CD-ROM, DVD, etc.
42
Random Access Memory(RAM)
• Main memory
• Volatile
• Quick access
• Both read and write
Read Only Memory(ROM)
• Permanent
• Set of instructions built by manufacturer are stored in it.
• Only read
43
Programmable ROM (PROM)
• To store program
• Non-erasable
Erasable PROM (EPROM)
• Data can be erased by UV light
Electrically Erasable PROM (EEPROM)
• Data can be erased by applying voltage
• Flash memory
44
EPROM
EEPROM
Peripheral Devices
• They are devices that can be connected to a computer. Three types- Input
devices , Output devices and Storage devices(CD, hard disk, USB)
Input Devices
• Capable of inputting info into a comp system- ex: keyboard, scanner,
webcam, mouse..
Output Devices
• Anything that gives out info from comp system- ex: monitor, printer,
speaker..
• Some devices, such as video display terminals, modems may provide both
input and output.
46
Computer Software
47
Computer Software
Software is a set of programs, which is designed to perform a well-
defined function.
A program is a sequence of instructions written to solve a particular
problem.
Mainly 3 types of software:
• System software
• Utility software
• Application software
48
System Software
• Performs basic functions required for working of computer
• Two types
• Compilers(Language processors)
• Operating System(OS)
49
Operating System
• An operating system is a program that acts as an interface between
the software and the computer hardware.
• It is an integrated set of specialized programs used to manage overall
resources and operations of the computer.
• It is a specialized software that controls and monitors the execution
of all other programs that reside in the computer, including
application programs and other system software.
50
Functions of OS
•Memory Management
•Processor Management
•Device Management
•File Management Security
•Job Accounting
•Control Over System Performance
•Interaction with the Operators
•Error-detecting Aids
•Coordination Between Other Software and
Users
51
Utility Software
• Its functions Analyze, monitor, configure, optimize, maintain
• Anti-virus
• Desktop widgets: virtual tools
• Backup software
52
Application Software
• Application software products are designed to satisfy a particular
need of a particular environment. All software applications prepared
in the computer lab can come under the category of Application
software.
• Application software may consist of a single program, such as
Microsoft's notepad for writing and editing a simple text. It may also
consist of a collection of programs, often called a software package.
53
Features of application software are as follows −
• Close to the user
• Easy to design
• More interactive
• Slow in speed
• Generally written in high-level language
• Easy to understand
• Easy to manipulate and use
• Bigger in size and requires large storage space
54
Programming Language
• A programming language is a set of commands, instructions, and
other syntax use to create a software program.
Three types
• Machine language
• Assembly language
• High level language
55
Machine Language
• Only language understood by computer
• Sequence of bits of 0 or 1
• Most difficult for human to understand
• 1st gen language
Assembly language
• 2nd gen language
• Readable instructions
• Instructions like MOV, ADD..
56
High-level Language
• Programmers use this
• C++, java...
• Statements are in English so very much readable
• Print, if, if else...
57
Language Processors
58
Assembler
• Converts assembly language into machine language
Interpreter
• Converts HLL into machine language by converting it line by line.
Complier
• Converts HLL into machine language. It converts whole HLL program
in one go.
59
60