Chapter1 Notes
Chapter1 Notes
1. What is Computer?
Computer is an advanced electronic device that takes raw data as input from the
user and processes these data under the control of set of instructions (called
program) and gives the result (output) and saves output for the future use. It can
process both numerical and non-numerical (arithmetic and logical) calculations.
2. What are the functional components of a computer system?
These are the components are required for the basic functioning of a
computer system.
➢ Input
➢ Central Processing unit(CPU)
➢ Output
➢ Memory
Input:
The devices through which control signals are sent to a computer are termed as
input devices. These devices convert the input data into a digital form that is
acceptable by the computer system. Some examples of input devices include
keyboard, mouse, scanner, touch screen, etc.
Central Processing Unit(CPU):
The main component to make a computer operate is the computer chip or
microprocessor. This is referred to as the Central Processing Unit (CPU).It
performs arithmetic and logic operations. The CPU (Central Processing Unit) is
the device that interprets and executes instructions.
Output:
The device that receives data from a computer system for display, physical
production, etc., is called output device. It converts digital information into
human-understandable form. For example, monitor, projector etc.
Memory Device:
A computer system needs memory to store the data and instructions for
processing. There are two types of memory
1. Main or Primary memory
2. Secondary memory/Storage device
4) Tabulating Machine(1890)
Herman Hollerith designed a tabulating machine for summarizing the
data stored on the punched card. It is considered to be the step towards
programming.
5) Turing Machine(1937)
The Turing machine concept was a general purpose programmable
machine that was capable of solving any problem by executing the
program stored on the punched cards.
6) EDVAC/ENIAC(1945)
John Von Neumann introduced the concept of stored program
computer which was capable of storing data as well as program
in the memory. The EDVAC and then the ENIAC computers were
developed based on this concept.
7) Transistor(1947)
Vacuum tubes were replaced by transistors developed at Bell Labs,
using semiconductor materials.
8) Integrated Circuit(1970)
An Integrated Circuit (IC) is a silicon chip which contains entire
electronic circuit on a very small area. The size of computer drastically
reduced because of ICs.
4. Von Neumann architecture
8. Memory
✓ The location where the computer stores data, instructions, and
programs are called the Memory.
9. Units of Memory:
A computer system uses binary numbers to store and process data. The
binary digits 0 and 1, which are the basic units of memory, are called bits.
A 4-bit word is called a Nibble.
10. Memory Types
Primary Memory:
✓ It is an essential component of a computer system.
✓ The CPU interacts directly with the primary memory to perform read
or write operation.
✓ It is of two types viz. (i) Random Access Memory (RAM) and
✓ (ii) Read Only Memory (ROM).
RAM ROM
RAM is volatile ROM is non volatile
Data will be wiped out as the The contents are not lost
power supply is turned off even when the power is
turned off.
It is used to store data It is permanent
temporarily. Storage.
12.Secondary Memory:
The secondary memory is non-volatile and store the data or instructions
for future use. It has larger storage capacity than primary memory.
It is slower and cheaper than the main memory.
Examples of secondary memory devices include Hard Disk Drive (HDD), CD/
DVD, Memory Card, etc.
12. Data Transfer between Memory and CPU:
Data are transferred between different components of a computer system using
physical wires called bus.
Bus is of three types— (i) Data bus to transfer data between different
components,
(ii) Address bus to transfer addresses between CPU and main memory.
(iii) Control bus to communicate control signals between different
components of a computer.
As the CPU may require to read data from main memory or write data to main
memory, a data bus is bidirectional. But the control bus and address bus are
unidirectional.
13. Microprocessors
✓ A processor (CPU) which is implemented on a single microchip is
called microprocessor.
✓ Microprocessor is a small-sized electronic component inside a
computer that carries out various tasks involved in data processing
as well as arithmetic and logical operations.
✓ A microprocessor is built over an integrated circuit comprising
millions of small components like resistors, transistors and diodes.
✓ Memory Size: Depending upon the word size, the size of RAM varies.
Initially, RAM was very small (4MB) due to 4/8 bits word size.
✓ Clock Speed: The clock speed indicates the speed at which the
computer can execute instructions. Earlier, it was measured in Hertz
(Hz) and Kilohertz (kHz). it is now measured in Gigahertz (GHz), i.e.,
billions of pulses per second.
✓ Cores: Core is a basic computation unit of the CPU. CPU with two,
four, and eight cores is called dual-core, quad-core and octa-core
processor, respectively.
15. Microcontroller
The microcontroller is a small computing device which has a CPU, a fixed
amount of RAM, ROM and other peripherals all embedded on a single chip
as compared to microprocessor that has only a CPU on the chip.
Data can also be raw and unorganized facts that are processed to get
meaningful information.
Structured data: Data with pre-specified tabular format may be stored in a data
file to access in the future. Structured data may be sorted in ascending or
descending order.
Ex. Sales transaction, online railway ticket booking, Attendance register etc.
Unstructured Data: Data which are not organized in a pre-defined record
format is called unstructured data. Examples include audio and video files,
graphics, text documents, social media posts, satellite images
Data Retrieval: It involves fetching data from the storage devices, for its
processing as per the user requirement. As databases grow, the challenges
involved in search and retrieval of the data in acceptable time. Minimizing
data access time is crucial for faster data processing.
20. Hardware:
Hardware refers to the physical components of the computer system
which can be seen and touched. For example, RAM, keyboard, printer,
monitor, CPU, etc.
21. Software:
software is a set of instructions and data that makes hardware functional
to complete the desired task. Software acts as an interface between
human users and the hardware.
The software can be broadly classified into three categories (i) System
software, (ii) Programming tools and (iii) Application software.
Languages are majorly divided into two categories: Low Level Languages
and High-Level Languages.
Those software which are designed to perform specific task for the end-
user are called application software.
There are again two broad categories of application software
▪ General purpose and
▪ customized application software.
31. General Purpose Software:
These are ready to use software for daily use purpose. The application
software developed for generic applications, to cater to a bigger audience in
general are called general purpose software. e.g. word processor,
spreadsheet, presentation, DBMS etc.
Memory Management :
The operating system manages the memory resources of a computer
system. It keeps a record of used and available memory. It includes:
● Memory Allocation, Reallocation and Deallocation
● Memory Mapping
● Memory Swapping .
Device Management:
Operating system manages communication among all the devices, keeps
track of all the devices, allocates and deallocates devices. It includes:
● Device initialization
● Device Configuration
● Device Scheduling
Process Management:
It manages all the programs in execution (processes). It includes:
● Process Creation & Termination
● Process Scheduling
● Context Switching.
File Management:
The operating system manages all the file management tasks. It keeps
track of location, status, storage and operations of a file. It includes:
● File Creation and Deletion
● File Permissions and Security File Compression and Encryption
● File Sharing
Network Management:
It provides services to organize and maintain the network. It allows
computers in a network to communicate with each other. It includes:
● Network Configuration
● Network Connectivity
● Network Resource Management.
Security:
The operating system protects the system from all the threats,
unauthorized access and other vulnerabilities. It includes:
● Authentication
● Authorization
● Data Encryption
● Firewall Management
*************************************************