Cbse Class 11 Chapter 1 Detailed Notes
Cbse Class 11 Chapter 1 Detailed Notes
Hardware are physical components which can be seen and touched (tangible). Examples of
hardware include CPU, mouse, keyboard, monitor, motherboard, cables, CPU case, power supply
unit, RAM, graphics card, sound card etc.
Various hardware components are interconnected together using a pathway called 'Bus', that
facilitates the transfer of data.
Software is a set of instructions, its documentation and data, which are stored digitally on the
computer. Examples are Microsoft Windows, Linux, Paint, Word, PowerPoint, Photoshop, VLC
Media Player, VS Code, Python. The software is intangible, i.e cannot be touched.
A computer system receives instructions from the user (usually a human) using Input Devices.
The Operating System (OS) is a crucial piece of software that allows users to interact with the
computer hardware and other software easily.
Computers process data through a series of instructions stored in their memory. The CPU fetches
these instructions, decodes them, and then executes them.
Computers can talk to other computers through networking. The Internet is one such network.
Advantages of Computers
Multi-tasking - can perform multiple tasks simultaneously
Speed - computes data rapidly
Productivity - automates and streamlines work process to increase productivity
Accuracy - tasks are performed with high accuracy
Connectivity - access to vast amount of data and global communication networks
Education- enhances learning through stores resources
Storage - can store large amounts of data for a long time
Reliability - can perform its functions adequately in a controlled environment with high precision
Disadvantages of Computers
High initial costs of purchase, maintenance
Long use may lead to health issues
Security Risks - vulnerable to hacking, loss and theft of information
Environmental Impact due to high carbon emissions
Software issues - problems may arise due to buggy software
Output Devices
1. The hardware devices that are responsible for displaying output from the computer are known
as Output Devices.
2. Some of the popular Output Devices are Display Monitor, Projector, Speaker, Printer, Plotter,
Headphones etc
Memory
1. The location where the computer stores data, instructions, and programs is called the Memory.
2. Computer memory is organized into memory cells, each of which stores a fixed amount of data,
typically represented in binary as 0s and 1s.
3. The Memory of a computer is divided into Primary, Cache and Secondary Memory.
Primary Memory
1. The primary memory is directly accessible by the CPU.
2. It is a high speed memory which can closely match the operational speed of the CPU.
3. Due to the high speed, the cost of primary memory is high and the storage capacity of primary
memory is lower in comparison to the secondary memory.
4. There are two kinds of primary memory, namely RAM and ROM.
Cache Memory
1. Cache memory is an intermediate memory between the CPU and the primary memory.
2. The need for cache memory arises from the difference in operational speed of the CPU and the
primary memory.
3. Often, the CPU is faster than the RAM/ main memory, and thus has to wait for the next instruction
to be loaded from the memory.
4. To reduce this waiting time, and increase the throughput of the CPU, a cache memory (buffer) is
placed between the CPU and primary memory.
5. The cache holds frequently used instructions and data and makes them readily available to the CPU.
Secondary Memory
1. Secondary memory is also known as permanent memory.
2. It is non-volatile in nature, i.e the data does not get lost even after power is turned off from the
computer.
3. Examples of Secondary memory are Hard Disk Drive, Solid State Drive, USB Flash Drive.
4. The CPU does not interact with the Secondary Memory directly.
Units of Memory
1. The smallest unit of memory is called a binary digit, or a bit.
2. The bit can assume only two values, 0 and 1.
3. A sequence of 4-bits is called a Nibble.
4. A Word is a fixed length sequence of bits which the processor can handle at a time.
3 Word Group of bits on which the CPU can work as a single unit. Can be
8 bits, 16 bits, 32 bits or 64 bits depending on CPU Architecture.
5 KiloByte(KB) 1 KB = 1024 B
6 MegaByte(MB) 1 MB = 1024 KB
7 GigaByte(GB) 1 GB = 1024 MB
8 TeraByte(TB) 1 TB = 1024 GB
9 PetaByte(PB) 1 PB = 1024 TB
Types of Software
System Software
It is software which controls all the operations of the computer system and interacts with the hardware
connected to the computer. The computer cannot operate without system software. System software is
majorly categorized into: Operating System, System Utilities and Device Drivers.
Operating System
An operating system is system software that acts as an interface between the user and the computer hardware
and manages all the resources of a computer. Examples of operating systems are Microsoft Windows,
Ubuntu, Android, Apple iOS etc.
System Utilities
The software that performs maintenance and configuration of the computer system is called
System Utility.
Examples include Antivirus software, Disk Defragmentation Tool, System Restore Utility, Disk
Partitioning Utility etc.
Device Drivers
The software that directly interacts with a particular hardware or peripheral device is called the device
driver. Each hardware has its unique device driver without which the operating system cannot communicate
with the device. Examples include RealTek Audio Driver, NVidia Video Driver, MS USB
Driver etc.
Language Translators
Languages are majorly divided into two categories: Low Level Languages and High-Level Languages.
Low Level Languages are nearer to Machine Code than to human-like languages. They are difficult
to understand by humans but easily understandable by machines.
On the other hand, humans can easily understand high level languages but computers require
language translators to convert high level languages into low level languages which they understand.
Language (uses keywords like ADD, SUB, STR), whereas High Level Language comprises C, C++,
Java, Python etc.
Software that translates one language to another language is called language translators.
Language Translators can be divided into Compiler, Interpreter and Assembler.
Programming Tools
Tools that assist the users/developers in creating, editing, testing and debugging related to the development
of software are known as Programming Tools.
They support completion of tasks during the development phase. It includes development tools, code editors
and translators.
Examples include : Visual Studio Code, Sublime Text, Eclipse etc.
Operating System
An operating system is system software that acts as an interface between the user and the computer hardware
and manages all the resources of a computer.
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:
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:
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
Other tasks
Some other tasks performed by OS are Job Accounting, Error Detection, Control over System Performance,
Resource Allocation, Information and Resource Protection, and Handling I/O Operations.
OS User Interface
Operating system acts as an interface between the user and the hardware. There are types of interfaces to
perform different tasks on the basis of requirement.
Boolean Logic is a concept that involves binary variables and operations. It focuses on the values true and
false (1 and 0). It was developed by the English Mathematician and logician George Boole. Boolean Algebra
comprises of following:
1. Boolean Expression
2. Boolean Variable
Boolean Variable
A boolean variable is a variable that holds boolean values True/ False or 1/0.
Boolean Expression
A boolean expression is an expression that consists of a combination of boolean variables, boolean values
and boolean operators. A boolean expression evaluates to either True or False.
Boolean Operators
Boolean operators perform operations on operands (Boolean Variables/Values). The boolean operators are:
AND, OR and NOT.
AND operator - It evaluates to True(1) if all inputs are True(1), otherwise False(0). It is represented by the
dot operator (.)
Example : A.B may be read A AND B
OR operator - It evaluates to True(1) if any of the inputs is True(1), otherwise False(0). It is represented by
the + operator.
Example: A + B may be read as A OR B.
NOT operator - It evaluates to True(1) when the condition is False, and returns False(0) when the condition
is True(1).
Truth Table
A truth table is a representation of all possible combinations of the input variables and the corresponding
output values.
The number of rows in a truth table are 2n, where n is no. of input variables.
Example- Here, A and B are the input boolean variables, OR (+) is the operator, F is the output.
A B F = A OR B
0 0 0
0 1 1
1 0 1
1 1 1
Inverse Law
(AB)'=A'+B'
0 0 1 1 0 1 1
0 1 1 0 0 1 1
1 0 0 1 0 1 1
1 1 0 0 1 0 0
equivalent to the AND of the complements of the individual variables.
(A+B)'=A'.B'
0 0 1 1 0 1 1
0 1 1 0 1 0 0
1 0 0 1 1 0 0
1 1 0 0 1 0 0
Logic Gates
A logic gate is a device that performs a Boolean Function. One or more inputs in the form of 1/0 are provided
to get the specific output governed by a logic. Examples of Logic Gates are: AND, OR, NOT, NOR, NAND
and XOR.
NAND and NOR are called Universal Gates, as they can implement any Boolean expression.
AND Gate
Truth Table
A B A.B
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
Truth Table
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
NOT Gate
Truth Table
A A'
0 1
1 0
NAND Gate
Logic Gate Diagram
Truth Table
NOR Gate
A B A+B (A+B)'
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
Truth Table
XOR Gate
Truth Table
A B A B
0 0 0
0 1 1
1 0 1
1 1 0
Y Y=?
Number System
There are many possible ways to represent numbers. A number system provides a consistent and unique
method to represent the numbers.
A positional number system is one way of writing numbers. It has unique symbols for 0 through (b 1),
where b is the base (also known as radix) of the system. These symbols are called digits.
The binary system is most easily implemented through computer hardware. The binary digits 0 and 1
correspond to the presence or the absence of a digital signal. The manipulation of binary digits is performed
using a combination of boolean logic gates and circuits. Negative numbers can also be represented in the
Binary Number System.
The numbers are represented by creating a sequence of bits, such as 00000, 010100, 011100 etc. Binary
numerals are often subscripted with 2 in order to indicate the base. For example, (110101)2. Numbers that
have no fractional part are called binary integers.
In the figure above, representation of the binary number (101.01)2 is shown. The most significant bit (MSB)
is the bit in a binary number sequence with the largest value. This is usually the bit farthest to the left. The
MSB represents the highest-order place of the binary integer. On the other hand, the Least Significant Bit
(LSB) is the right-most bit of the number.
The maximum possible sequence of binary numbers that can be created using a sequence of n-bits is 2n .
Count of possible binary
No. of Bits
numbers
1 21 = 2
2 22 = 4
3 23 = 8
4 24 = 16
0 000 0
1 001 1
2 010 2
3 011 3
4 100 4
5 101 5
6 110 6
7 111 7
For example, an octal number (532.67)8 can be represented in the decimal number system as
(532.67)8 = 5 x 82 + 3 x 81 + 2 x 80 + 6 x 8-1 + 7 x 8-2
Octal numbers find applications where the number of bits in one word is a multiple of 3. They are also used
as shorthand for representing file permissions on UNIX/Linux operating systems and representation of
UTF8 numbers, etc. The advantage of using Octal numbers is that it uses fewer digits than the decimal
number system. It has fewer computations and is less prone to the computational errors.
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
Some popular uses of Hexadecimal numbers are:
Representation of addresses in memory.
Representation of colors on web pages.
Representation of Media Access Control (MAC) addresses.
Display error messages.
=(1001011)2
= (10001110.1010)2
= (150)8
= (1063.7070)8
= (258)16
= (31)16
0000 0 1000 8
0001 1 1001 9
For the integer part, make groups of four bits together starting from the left side of the radix point, and for
the fractional part, make groups of four bits towards the right side of the radix point.
Replace each group with the corresponding hexadecimal number, we get the hexadecimal equivalent of the
given binary number.
NOTE:
part required to complete the grouping of 4 bits.
Ques 1 - Convert binary number 1000110101110 to hexadecimal number.
Converting Binary Number into Decimal Number:
= (1000110101110)2
= 1 x 212 + 0 x 211 + 0 x 210 + 0 x 29 + 1 x 28 + 1 x 27 + 0 x 26 + 1 x 25 + 0 x 24 + 1 x 23 + 1 x 22 + 1 x 21 +
0 x 20
= 4096 + 0 + 0 + 0 + 256 + 128 + 0 + 32 + 0 + 8 + 4 + 2 + 0
= (4526)10
= (11AE)16
Ques 2 - Convert Binary number 10010111101101 into Hexadecimal Number.
2 5 E D
= (25ED)16
1 6 4 9 C
Hence the equivalent Hexadecimal Number is (164.9C)16
D 2 . 9 2 A B
000 0
001 1
010 2
011 3
100 4
101 5
110 6
111 7
For the integer part, make groups of three bits together starting from the left side of the radix point, and for
the fractional part, make groups of three bits towards the right side of the radix point.
NOTE:
part required to complete the grouping of 3 bits.
1 3 3 2
= (1332)8
= (100111001110.001101)2
4 B (11) 2 A (10)
= (45452)8
F E 6
1111 1110 0110
= (7746)8
2 1 0 6
= (446)16
Ques 2 - Convert Octal Number 765 into Hexadecimal Number.
7 6 5
=1 1111 0101
= (1F5)16
Encoding Schemes
Encoding is defined as the process to convert data from one form to another. Computers only understand
binary language. There is a need to convert popularly used languages by humans into machine
understandable format. Textual characters (letters, numbers and symbols) are assigned unique numerical
codes. Some of the popular encoding schemes are ASCII, ISCII and Unicode.
ASCII
ASCII stands for American Standard Code for Information Interchange.
It was developed in the United States of America by American Standards Association (ASA).
It is used to represent textual information in computers.
ASCII uses 7-bits for encoding.
A maximum of 128 characters may be encoded. Out of these 128 characters, only 95 are printable
including the digits 0-9, lowercase and uppercase characters a-z A-Z and punctuation marks. The
rest of the characters are Control Characters.
ISCII
ISCII stands for Indian Script Code for Information Interchange (ISCII).
ISCII is an extended version of the ASCII code and uses 8 bits for encoding.
It was developed by the Bureau of Indian Standards, India.
It represents various languages from India.
Some of the supported scripts are Devanagari (Hindi, Marathi, Sanskrit, Konkani), Gujarati,
Kannada, Punjabi, Malayalam, Telugu, Tamil, Oriya, Bengali-Assamese etc.
Unicode
Unicode Standard is developed and managed by the Unicode Consortium, which is a non-profit
organization composed of members from Software Development companies such as Apple, Adobe,
Google, IBM, Microsoft etc.
It aims to provide a universal platform for encoding characters of various languages from the world.
It assigns a unique Code Point to every character, independent of the CPU architecture/platform, or
the underlying software.
Unicode covers most writing scripts across the world. As of now, over 161 scripts are included in
the latest version of Unicode.
Unicode defines two mapping methods: the Unicode Transformation Format (UTF) encodings, and
the Universal Coded Character Set (UCS) encodings.
Various versions of UTF are UTF-8, UTF-16, UTF-32.
All UTF encodings map code points to a unique sequence of bytes.
UTF-8 uses 8-bits or 16-bits or 24-bits or 32-bits for each code point.
UTF-16 uses 16-bits or 32-bits for each code point.
UTF-32 uses 32-bits for each code point.
Q. What is hardware?
A. Hardware are physical components which can be seen and touched (tangible). Examples of hardware
include CPU, mouse, keyboard, monitor, motherboard, cables, CPU case, power supply unit, RAM, graphic
card, sound card etc.
Q. What is software?
A. Software is a set of instructions, its documentation and data, which are stored digitally on the computer.
The software is intangible, i.e cannot be touched. Examples are Microsoft Windows, Linux, Paint, Word,
PowerPoint, Photoshop, VLC Media Player, VS Code, Python.
Q. What is a mouse?
Q. What is a keyboard?
A. The keyboard is an input device based on the traditional typewriter, which uses an arrangement of keys.
Keyboards come in various layouts and languages.
Q. What is a scanner?
A. Scanner is an input device that optically scans and digitally captures images from physical photographic
prints, documents, posters etc. Commonly used office scanners use light beams to scan documents placed
on a glass flatbed.
Q. What is a nibble?
A. A sequence of 4-bits is called a nibble.
Q. What is a byte?
A. A sequence of 8 bits is called a Byte (B).
Q. What are the base values of the octal and hexadecimal number system?
A. The Octal number system uses base-8 whereas the Hexadecimal number system uses base-16.
Q. What is Encoding?
A. Encoding is a system that maps characters, symbols, or textual elements to numeric values or bit patterns
for digital representation and storage. It is used to represent human-readable text and symbols as binary
data, which can be processed, transmitted, and stored in computers and other digital systems.
Q. What is the reason for grouping the 4 bits in a binary number to form a Hexadecimal number?
A. The hexadecimal number system uses 16 unique symbols (base-16) for representing numbers, and with
4 bits, each digit in the hexadecimal system can be represented uniquely. Therefore, 4-bit binary sequences
are sufficient to represent all possible symbols in the hexadecimal number system.
Q. Which input device is most suitable for the OS with the following user-interface (UI)?
1. Graphical UI
2. Command Line UI
3. Gesture Based Interface
4. Voice Based Interface
5. Touch Based Interface
ANS. 1. Mouse
2. Keyboard
3. Camera/Webcam
4. Microphone
5. Touch-screen
Q. What is OCR?
A. OCR stands for Optical Character Recognition. It is a pattern recognition technology that identifies the
text present in digital form, such as an image, document etc.
Q. What is MICR?
A. MICR stands for Magnetic Ink Character Reader. It is a device that reads a special kind of ink which is
sensitive to magnetic fields. It is often used to verify the originality of cheques and other documents.
8. A symbol in the binary number system can assume how many values?
a. 2
b. 7
c. 8
d. 10
19. Whenever the computer is started or a software application is launched, the required
program is loaded into ___________ for processing.
a. ROM
b. CPU
c. RAM
d. CU
Q.
Assertion (A): Computers perform complex tasks with incredible speed and accuracy.
Reason (R): The smallest unit of memory is called a bit.
Answer: Both A and R are true but R is not the correct explanation for A.
Q.
Assertion (A): File Management is one of the roles performed by the OS of a system.
Reason (R): An Operating System is an interface between the user and the hardware and manages all
the resources of a computer.
Answer: Both A and R are true and R is the correct explanation for A.
Q.
Assertion (A): NAND and NOR are called the Universal Gates.
Reason (R): OR operator results True(1) if both the inputs are True(1), otherwise False(0).
Q.
Assertion (A): Each symbol in a hexadecimal number system can be represented by a unique 4-bit
binary number.
Reason (R): The hexadecimal number system has 16 unique symbols.
Answer: Both A and R are true and R is the correct explanation for A.
Q.
Assertion (A): Computers understand our language, and hence there is no need to convert into
machine language.
Reason (R): Encoding is defined as the process to convert data from one form to another.