11 CS Unit
11 CS Unit
Class: XI
UNIT-1
COMPUTER SYSTEM AND ORGANIZATION
1. RAM
2. ROM
3. Cache Memory
RAM (Random Access Memory)
Data can be accessed randomly. It is volatile memory i.e. when power gets off data
will be lost.
ROM (Read Only Memory)
It plays an important role in performing POST(Power On Self Test). It will check
all the connected devices are working properly or not. Data cannot be edited once
written.
Cache Memory
It is used to increase the speed of operations of CPU. It is placed between RAM
and CPU. It stores the copies of data from frequently accessed memory locations
that reduce the average time required to access data. This memory is examined first
when the CPU needs some data.
Secondary Memory
Secondary memory is also known as auxiliary memory. It stores data permanently.
It has a larger storage capacity than primary memory. Data written on secondary
memory must be brought up on to primary memory before use.
Hard Disk
• It pronounced as “eye-oh”
• Refers to a program, operation or devices that transfer data to or from a
computer and to or from a peripheral device
• The transfer is input for one device and output for another device
• Example: Writable CD
Fig:IO Devices
Battery
Memory Units
• It is just like a cell; these cells are broken down into small units called bits
• Bit means a binary digit either 0 or 1
• 4 bits make up a nibble
• 8 bits make up one byte
• Every higher memory unit is equal to 210 of its lower units
1. System Software
2. Application Software
System Software
In Computer Systems and Organization, software plays vital role n operations. A
computer is just like a rectangular box of hardware without software. The system
software is responsible to perform some internal tasks of a computer system. There
are two types of system software
Operating System
The primary function of the Operating System is to provide a platform to user and
make the computer usable. It allows to make the hardware run competently. The
tasks of the operating system are device management, process management, user
management etc. There are different types of OS such as Single User OS, Multi-
User OS, Time-sharing OS, Real-time OS, Multi-tasking OS, Distributed OS etc.
Language Processor
It is a translator that translates a high-level language program to machine level
language. There are three types of language processors such as Assembler,
Compiler and Interpreter.
i. Compiler: It converts High Level Language program into machine
language in one go.
ii. Interpreter: It converts High Level Language program into machine
language line by line.
iii. Assembler: It converts assembly language into machine language.
Application Software
Application software carries out the important functions for Computer Systems and
Organization with the help of programs. It provides special services or a specific
task. This software is written by programmers to serve users as per their
requirement. It is subdivided into categories such as Packages, Utilities,
Customized Software, and Developer Tools.
Packages
The Packages are a special set of software that serves general-purpose Ex. MS
Office, Adobe, DTP Software, Macromedia tools etc.
Utilities
Utilities are helpful programs like basic editing, calculation, cleaning, rearranging,
scanning files etc. Ex. Text Editor, Calc, Backup, Compression, Defragmenter etc.
Tailor-made software
Customized Software refers to tailor-made software that provides functions as per
the requirement of people such as ERP software, Payroll Software, Hotel
Management, Reservation System etc.
Developer Tools/IDE Tools
Developer tools are designed for the software developer to write code and compile,
debugging, testing software Ex. Netbeans, Anaconda etc.
OS User interface
There are different types of user interfaces each of which provides a different
functionality. Some commonly used interfaces are :
(B) Graphical User Interface : Graphical User Interface (GUI) lets users run
programs or give instructions to the computer in the form of icons, menus and
other visual options. GUI interfaces include Microsoft Windows, Ubuntu, Fedora
and Macintosh etc.
(C) Touch-based Interface : Using the touchscreen, a user provides inputs to the
operating system, which are interpreted by the OS as commands like opening an
app, closing an app, dialling a number, scrolling across apps, etc. Examples of
popular operating systems with touch based interfaces are Android and iOS
.
(D) Voice-based Interface : Now a days user can use voice-based commands to
make a computer work in the desired way. Some operating systems which provide
voice-based control to users include iOS (Siri), Android (Google Now or “OK
Google”), Microsoft Windows 10 (Cortana).
(E) Gesture-based Interface : Some smartphones based on Android and iOS as well
as laptops let users interact with the devices using gestures like waving, tilting, eye
motion and shaking.
Truth Table
A truth table represents a Boolean function or expression with all possible input
and output results in tabular form.
If the result is always 1 or true or high, is called Tautology, whereas the result is
false or 0(zero) or low is known as Fallacy. The number of rows in the truth table
is computed as 2n .
Rules of writing Truth table:
0 0
0 1
AND
It is a binary operator that operates on two variables and the result of the AND
operator is known as logical multiplication. To denote AND
operator dot(.) symbol is used. The truth table for AND operator looks like as
following:
A B A.B (Result)
0 0 0
0 1 0
1 0 0
1 1 1
AND operator accepts two input variables A and B with values 0 and 1
respectively. the result calculated as follows:
Row 1: A=0, B = 0 , 0 x 0 = 0
Row 2: A = 0, B = 1, 0 x 1 = 0
Row 3 : A = 1. B = 0, 1 x 0 = 0
Row 4: A = 1, B = 1, 1 x 1 = 1
The result of A.B also written as AB.
In short the AND operator returns TRUE or 1 when both input are 1, rest all results
will be 0. True is also considered as high, and False as low.
OR
It is also a binary operator that operates on two variables. The result of the OR
operator is also known as logical addition. The symbol is used for OR is plus
(+). The truth table for the OR operator looks as follows:
A B A+B (Result)
0 0 0
0 1 1
1 0 1
1 1 1
OR operator accepts two input variables A and B with values 0 and 1 respectively.
the result calculated as follows:
Row 1: A = 0, B = 0 , 0 + 0 = 0
Row 2: A = 0, B = 1, 0 + 1 = 1
Row 3: A = 1, B = 0, 1 + 0 = 1
Row 4: A = 1, B = 1, 1 + 1 = 1
In short the OR operator returns TRUE or 1 when any one input value is 1,
otherwise 0. True is also considered as high, and False as low.
After getting familiar with logical operations for notes Boolean Logic Computer
Class 11 you should learn about operator precedence.
Logic Gates
A logical gate is a logical circuit that takes one or more inputs and produces result.
It uses three operators AND, OR and NOT known as AND Gate, OR Gate and
NOT Gate. These are fundamentals gates.
NOT Gate
A NOT gate has only one input. It is known as inverter gate. It is used for
electronic inverter devices. It produces the reverse result of an input. The output is
always negation or complement of an input signal.
or gate
Some more gates are available with OR and AND gates followed by inverter, N or
X is written in front of name of gate. They are as follow:
NAND Gate
It stands for NOT AND that produce reverse result of AND gate. The truth
table for NAND Gate is as following:
A B A.B (A.B)’
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NOR Gate
It stands for NOT OR. It produces reverse output than the OR gate. The truth table
for NOR Gate is as follows:
A B A+B (A+B)’
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
NOR Gate
XOR Gate
It produces high output if the input of 1s is odd, otherwise false.
A B Result
0 0 0
0 1 1
1 0 1
1 1 0
XOR Gate
The last topic of notes Boolean Logic Computer Class 11 is all about basic boolean
laws. Just observe them.
De Morgan's Laws
➢ De Morgan's First Law states that the complement of the union of two sets is
the intersection of their complements.
➢ Whereas De Morgan's second law states that the complement of the
intersection of two sets is the union of their complements. These two laws
are called De Morgan's Law.
For proof:Refer text book page no.65,66.
Binary Addition
Binary numbers can be added just like normal numbers but in case of binary
numbers sum is always 0 or 1. Rules of adding binary numbers are:
1. 0+0=0
2. 0+1=1
3. 1+0=1
4. 1+1=0 with carry 1
Example 1:
All the 26 alphabets from A to Z (both upper and lower), numeric digits from 0 to
9 as we are using decimal number systems and other special symbols like @,#,$,%,
etc need to be converted into machine language.
To do this each and every character or digit or special symbol assigned a specific
code to represent them. These codes are as following:
ASCII Code
It is a simple code assigned to a character to represent data. ASCII (pronounced as
“askee”) is a 7 – bit character code. It represents all the characters available for
writing in the file. Every digit in ASCII code represents one byte. Let us have a
look at the following commonly used characters and code range:
a to z 97 to 122
0 to 9 48 to 57
Space 32
The computer generally converts these ASCII codes into an equivalent binary
number. Let’s understand it by the following example:
Suppose you want to use the capital letter D. So its equivalent ASCII code is 68.
This code 68 is a decimal number, ASCII. So the equivalent binary number is
1000100. So finally D = 1000100 for the computers.
ISCII Code
When computers are used with English language ASCII codes enough to represent
data. But as and when the use of computers broadly extended to countries like
India, it’s very important to represent data in Indian Languages. So for that in
1991, the Bureau of Indian Standards adopted the Indian Standard Code for
Information Interchange has evolved. This code is capable of 8 bits. It is also
known as the Indian Scripts Code for Information Interchange. It supports various
Indian languages like Devnagri, Gurumukhi, Gujarati, Oriya, Bengali, Assamese,
Telugu etc.
Unicode
Unicode is used for a universal set of characters. As ISCII is used for Indian
languages, Unicode is used accepted by the universal standards and represent data
in different languages. It was designed for the purpose of representing almost all
the languages in computers. The Unicode has different versions like UTF – 8, UTF
– 16, UTF – 32.
In this, the numbers in UTF like 8 as 8 bits known as an octet, 16 as 2 – octets, and
32 as 4 – octets representation.