Unit1 ComputerSystem
Unit1 ComputerSystem
Functions of a Computer
MEMORY UNIT
SECONDARY
CU
ALU
(iii) It supplies the converted instructions and data to the computer system for further
processing.
Some of the commonly used input devices are keyboard, mouse, trackball, joystick, light pen,
touch screen, barcode reader, OMR, OCR, MICR, Smart Card Reader, Biometric Sensor,
Scanner, Mic, Web Cam, etc.
Functions of Output Devices:
The following functions are performed by an output unit
(i) It accepts the results produced by the computer, which are in coded form (i.e., in binary
form), and hence, cannot be easily understood by us.
(ii) It converts these coded results to human acceptable (readable) form.
(iii) It supplies the converted result to the outside world.
Some of the commonly used output devices are Monitor, Printers, Plotter, Speaker,
Headphones, Projector etc.
CPU (Central Processing Unit)
Definition:
The CPU (Central Processing Unit) is the primary component of a computer that performs
most of the processing inside a computer. It is often referred to as the "brain" of the computer
because it carries out instructions from programs, executing arithmetic, logic, control, and
input/output (I/O) operations specified by the instructions.
Memory Unit: A component of a computer that stores data, instructions, and information for
use in processing.
CLASS XI: COMPUTER SCIENCE NOTES
CD – Compact Disc
Primary Memory: The memory unit that communicates directly with the CPU is called
main memory or internal memory or primary memory. It is the internal storage memory unit
used by a computer system to hold data and instructions. The primary memory has limited
storage capacity.
Types of Primary Memory: 1. RAM 2. ROM
1. RAM (Random Access Memory): RAM (Random Access Memory) is a type of volatile
memory used in computers and other devices to store data that is currently being used or
processed. It allows data to be read and written quickly in any order, which is why it is called
"random access."
Characteristics of RAM
• Volatile Memory: RAM requires power to maintain the stored information. When the
computer is turned off, all data in RAM is lost.
• Speed: RAM is much faster than secondary storage devices, such as hard drives and
SSDs, which is why it is used for tasks that require quick data access.
• Capacity: The amount of RAM in a system can significantly affect performance,
particularly in tasks that require large amounts of data processing, such as gaming,
video editing, and running multiple applications simultaneously.
Types of RAM:
a) SRAM (Static RAM): It is a type of memory that requires a constant power supply in
order to hold the data and information.
b) DRAM (Dynamic RAM): It stores the information and data in a cell containing a
capacitor and transistor, these cells may be refreshed with electric pulses in few
milliseconds.
CLASS XI: COMPUTER SCIENCE NOTES
SRAM DRAM
It stores information as long as the power It stores information as long as the power
is supplied. is supplied or a few milliseconds when the
power is switched off.
Transistors are used to store information in Capacitors are used to store data in DRAM.
SRAM.
Capacitors are not used hence no refreshing To store information for a longer time, the
is required. contents of the capacitor need to be
refreshed periodically.
SRAM is faster compared to DRAM. DRAM provides slow access speeds.
These are used in cache memories. These are used in main memories.
2. ROM (Read Only Memory): In this type of memory, information once stored
remain fixed, i.e., it cannot be changed. So, ROM can only be used for reading. It
contains a set of start-up instruction, i.e., what to do when a computer is turned ON.
The contents on ROM remain stored even if power is turned OFF. This memory is
often associated with non-volatile type of memory.
Types of ROM:
a) PROM (Programmable Read Only Memory): Once data is written to a PROM
chip, it cannot be modified or erased. This makes PROM suitable for applications
where the data does not need to be changed.
b) EPROM (Erasable Programmable Read Only Memory): A type of non-
volatile memory that can be reprogrammed and erased multiple times. Unlike
PROM, EPROM can be erased by exposing it to ultraviolet (UV) light and
reprogrammed using an EPROM programmer.
c) EEPROM (Electrically Erasable Programmable Read Only Memory): A
type of non-volatile memory that can be electronically erased and reprogrammed.
Cache Memory: A small, high-speed volatile memory located close to the CPU, designed to
store frequently accessed data and instructions to speed up overall processing.
• High Speed: Faster than main memory (RAM), reducing the time the CPU takes to
access data.
• Small Size: Typically much smaller in capacity compared to RAM, ranging from a
few kilobytes to several megabytes.
• Volatile: Data is lost when power is turned off, similar to RAM.
CLASS XI: COMPUTER SCIENCE NOTES
Secondary Memory / Storage Devices: This memory is also known as secondary storage or
auxiliary memory. It is the slower and cheaper form of memory. CPU does not access the
secondary memory directly. It is a permanent storage device and non-volatile in nature, i.e.,
the information cannot be erased even power is switched OFF and data will not be destructed
until or unless the user erases it.
Difference Between RAM and ROM:
Feature RAM (Random Access ROM (Read-Only
Memory) Memory)
Purpose Temporary storage for Permanent storage for
active processes firmware and boot
instructions
Volatility Volatile (data is lost when Non-volatile (data is
power is off) retained even when power is
off)
Read/Write Capability Read and write Read-only
Speed High-speed Generally slower compared
to RAM
Usage Used for running Used for storing firmware,
applications and active tasks BIOS, and system boot
instructions
Data Modification Data can be easily modified. Data is usually pre-
programmed and not easily
altered
Capacity Usually larger capacity (GB Usually smaller capacity
range) (MB range)
Price More expensive Less expensive
Units of Memory:
Bit: The smallest unit of data in computing, representing a binary digit (either 0 or 1).
1 Nibble = 4 bits 1 Byte = 8 bits
1 Kilobyte (KB) = 1024 bytes 1 Megabyte (MB): 1024 KB
1 Gigabyte (GB): 1024 MB 1 Terabyte (TB): 1024 GB
1 Petabyte (PB): 1024 TB 1 Exabyte (EB): 1024 PB
1 Zettabyte (ZB): 1024 EB 1 Yottabyte (YB): 1024 ZB
CLASS XI: COMPUTER SCIENCE NOTES
System Software
Language
Operating System Device Driver Utility Software
Translator
Operating System: An operating system (OS) is a system software that manages computer
hardware and software resources and provides common services for computer programs. It
acts as an intermediary between users and the computer hardware, ensuring that applications
can function properly on the device.
Some examples of different types of operating systems across various categories:
1. Process Management:
o Manages the execution of multiple processes, ensuring that each application gets
adequate CPU time.
o Handles process creation, scheduling, and termination.
2. Memory Management:
o Manages the computer's memory, including the allocation and deallocation of
memory space as needed by different programs.
o Ensures that each application has enough memory to execute and that they do not
interfere with each other.
CLASS XI: COMPUTER SCIENCE NOTES
A computer would be useless without operating system because it cannot do anything itself.
It needs an operating system to drive it and to make it do some task.
(i) The application programs do not access the hardware resources directly. Therefore, an
operating system is required to access and use the hardware resources. In a desktop computer,
these resources include the processor, memory, disk space, etc. (On a cell phone, they include
the keypad, the screen, the address book, the phone dialer, the battery and the network
connection).
This task is very important, as various programs and input methods compete for the attention
of the Central Processing Unit (CPU) and demand memory, storage and Input/Output (I/O)
bandwidth for their own purpose.
(ii) It provides a stable, consistent way for applications to deal with the hardware without
having to know all the details of the hardware.
This task is especially important if there is to be more than one of a particular type of
computer using the operating system.
CLASS XI: COMPUTER SCIENCE NOTES
(iii) An operating system prepares the computer for taking instructions from the user. Once it
is ready to take command, it converts the command of the user into the machine code, attach
its own input to the command and then gives it to the CPU to execute.
(iv) The operating system controls and co-ordinates all the activities of a computer system.
Note: An Operating System is the first program that is loaded into the computer’s main
memory, when a computer is switched on.
1. User – Friendly
2. Efficient.
Compiler: Converts the entire source code of a high-level programming language into
machine code (binary code) in one go.
Device Driver: A device driver is a specialized software program that allows the
operating system and other software to communicate with hardware devices. Device
drivers act as intermediaries between the operating system and hardware components,
translating software instructions into hardware-specific commands and vice versa.
• Graphics Drivers: Enable communication between the operating system and the
graphics card (e.g., NVIDIA GeForce driver, AMD Radeon driver).
• Printer Drivers: Allow the operating system to communicate with and control printer
hardware (e.g., HP printer driver, Canon printer driver).
• Network Drivers: Enable network communication by controlling network interface
cards (NICs) (e.g., Realtek Ethernet driver, Intel wireless driver).
• Audio Drivers: Manage audio hardware, enabling sound input and output (e.g.,
Realtek HD Audio driver, Creative Sound Blaster driver).
• Storage Drivers: Control hard drives, SSDs, and other storage devices (e.g., Intel
Rapid Storage Technology driver, Samsung NVMe driver).
CLASS XI: COMPUTER SCIENCE NOTES
Utility Software: Utility software is a type of system software designed to help manage,
maintain, and control computer resources. It performs specific tasks that assist in the
optimal functioning of the computer, often by ensuring the operating system and
hardware operate efficiently.
Application Software
Word Processors:
• Used for creating and editing text documents.
• Examples: Microsoft Word, Google Docs.
Spreadsheets:
• Used for organizing, analyzing, and storing data in tabular form.
• Examples: Microsoft Excel, Google Sheets.
Presentation Software:
• Used for creating slide show presentations.
• Examples: Microsoft PowerPoint, Google Slides.
Database Management Systems (DBMS):
• Used for creating, managing, and manipulating databases.
CLASS XI: COMPUTER SCIENCE NOTES