XI CS VOLUME I NOTES
XI CS VOLUME I NOTES
,RMKMHSS - 601206
Title Page
No.
1 Introduction to Computers 3
2 Number Systems 7
3 Computer Organization 16
2
Unit I Fundamentals of Computers CHAPTER
1
Introduction to Computers
1.Explain the Generations of Computers Sixth Generation In future
Here, computers works based on Artificial Neural
Based on various stages of development, Networks.
computers can be divided into six different Parallel and Distributed computing
generations. Natural Language Processing (NLP) is a component of
First Generation 1942- 1955 Artificial Intelligence (AI).
Vacuum tubes were used
It provides the ability to develop the computer
Big in size program to understand human language.
Consumed more power Development of robotics
Malfunction due to overheat The explosive growth of Wide Area Networking
Machine Language was used (WAN)
Ex. ENIAC , EDVAC , UNIVAC 2.Write short note on sixth Generation computers.
Second Generation 1955- 1964 Here, computers works based on Artificial Neural
Transistors replaced Vacuum tubes Networks.
Smaller compared to First Generation Parallel and Distributed computing
Generated Less Heat Natural Language Processing (NLP) is a component of
Consumed less power compared to first generation Artificial Intelligence (AI).
Punched cards were used It provides the ability to develop the computer
First operating system was developed - Batch program to understand human language.
Processing and Multiprogramming Operating System Development of robotics
Machine language as well as Assembly language was The explosive growth of Wide Area Networking
used. (WAN)
Third Generation 1964 -1975 3.What is a computer?
Integrated Circuits (IC) replaced Transistors A Computer is an electronic device.
Computers were smaller, faster and more reliable It takes data as an input from the user.
Consumed less power processes it under the control of a set of
High Level Languages were used instructions (called program),
Fourth Generation 1975-1980 Produces a result (output),
Microprocessor ( Very Large Scale Integrated Circuits Saves it for future use.
(VLSI) ) 4.Define Data.
Smaller and Faster Data is defined as an un- processed collection of
Microcomputer series such as IBM and APPLE were raw facts,
developed The data is a fact about people, places or some
Portable Computers were Introduced objects.
Fifth Generation 1980 – till date It is an input of the computer.
Ultra Large Scale Integration (ULSI)
It will not giving any meaningful message.
Parallel Processing Ex. 134, 16 ‘Kavitha’, ‘C’
Super conductors 5.Define Information
Computers size was drastically reduced. Information is defined processed collection of facts.
Can recognize Images and Graphics Information conveys some meaning .
Introduction of Artificial Intelligence and Expert Information is output of the computer .
Systems Ex. Vijay is 16 years old
Able to solve high complex problems including
decision making and logical reasoning
3
6.Draw the components of computer (or) Working 14. Define control unit
model of computer. (or) Input- Process- Output Cycle The control unit controls the flow of data
(IPO between the CPU, memory and I/O devices.
cycle). It also controls the entire operation of a
computer.
15. What is the function of memory?
Memory unit used to store the data and programs
temporarily or permanently
There are two types of memory, they are primary
memory and secondary memory
7.What is Data Processing? 16. Define Output
Conversion of data into information is called data An Output Unit is any hardware component that
processing. conveys information to users in an understandable
8.What are Hardware and Software? form.Example: Monitor, Printer, Speaker, plotter etc
Hardware is the physical component of a 17. Explain about Memory unit. Or Distinguish
computer between Primary and secondary memory.
Ex.motherboard, memorydevices,monitor,keyboard There are two types of memory, they are
etc., primary memory and secondary memory.
Software is the set of programs or instructions. primary memory secondary memory
Ex. System software ,Application store the data store the data
9.What are the important Components of a Computer? and programs permanently.
Input unit , Central processing unit ,Output unit and temporarily
Memory unit It is volatile, It is non volatile, that
10.Define Input Unit. that is, the is, the content is
Input unit is used to feed any form of data to the content is lost available even after
computer, when the power the power supply is
Which can be stored in the memory unit for supply is switched off.
further processing. switched off.
Example: Keyboard, mouse, etc. Ex. The Random Ex.Read Only
11.Define Central Processing Unit Access Memory Memory(ROM),Hard
CPU is the major component which interprets (RAM) Disk, CD – ROM etc..
and executes software instructions. 19.List some types of Mouse
It also control the operation of all other components Differentiate between Optical and Laser Mouse
such as memory, input and output units. Mechanical Mouse , Optical Mouse and Laser Mouse
It accepts data as input, process the data according Mechanical Mouse
to the instructions and provide the result as output. A small ball is kept inside and touches the pad
12.What are the major components present in CPU? through a hole at the bottom of the mouse.
1. Control unit, When the mouse is moved, the ball rolls.
2. Arithmetic and logic unit (ALU) This movement of the ball is converted into signals
3. Memory unit and sent to the computer.
13.Write short note on Arithmetic and Logic Unit(ALU) Optical Mouse
The ALU is a part of the CPU. Measures the motion and acceleration of pointer.
Here, various computing functions are performed It uses light source to judge the motion of the
on data. pointer.
The ALU performs arithmetic operations such as Optical mouse has three buttons.
addition, Subtraction, multiplication, division and Optical mouse is less sensitive towards surface.
logical operations. Laser Mouse
The result of an operation is stored in internal Measures the motion and acceleration of pointer.
memory of CPU. It uses Laser Light to judge the motion of the
The logical operations of ALU promote the pointer.
decision-making ability of a computer. Laser Mouse is highly sensitive and able to work
on any hard surface.
18.Explain Some Important Input Devices. Bar Code :
Keyboard: A Bar code is a pattern printed in lines of different
Keyboard is the most common input device used thickness.
today. The Bar code reader scans the information on
The data and instructions are given as input to the the bar codes transmits to the Computer for
computer by typing on the keyboard. further processing.
There are different set of keys available in the QR Code Reader: QR (Quick response) Code:
keyboard such as character keys, modifier keys, The QR code is the two dimension bar code which
system and GUI keys, enter and editing keys, can be read by a camera .
function keys, navigation keys, numeric keypad Voice Input Systems:
and lock keys etc.. Microphone serves as a voice Input device.
Mouse: It captures the voice data and send it to the
Mouse is a pointing device used to control the Computer.
movement of the cursor on the display screen. Digital Camera:
It can be used to select icons, menus, command It captures images / videos directly in the digital
buttons or activate something on a computer. form.
Some mouse actions are i) move, ii)click, iii)double It uses a CCD (Charge Coupled Device) electronic
click, iv)right click, v)drag and drop. chip.
Different types of mouse available are: Mechanical It converts light rays into digital format.
Mouse, Optical, Laser Mouse, Air Mouse, 3D Touch Screen:
Mouse, Tactile Mouse, Ergonomic Mouse and A touch screen is a display device that allows the
Gaming Mouse. user to interact with a computer by using the
Scanner: finger.
Scanners are used to enter the information It is an alternative to a mouse or keyboard.
directly into the computer’s memory. Touch screens are used in computers, laptops,
The scanner converts any type of printed or monitors, smart phones, tablets, ATM etc..
written 20.Explain Some Output Devices.
Information including photographs into a digital Write the significant features of monitor
format. Monitor:
Fingerprint Reader /Scanner: Monitor is the most commonly used output device
Finger print Scanner is a fingerprint recognition to display the information.
device used for computer security, Pictures on a monitor are formed with picture
It is used in biometric technology. elements called PIXELS.
It is a very safe and convenient device for security Monitors are two types i) Monochrome ii) color
instead of using passwords CRT (Cathode Ray Tube), LCD (Liquid Crystal
Track Ball: Display) and LED (Light Emitting Diodes) are the
In Track ball user spins the ball in various directions types of monitor.
to navigate the screen movements. Monitor works with the VGA (Video Graphics
Retinal Scanner: Array) card.
It performs a retinal scan which is a biometric It acts as an interface between the computer and
technique . display monitor.
Light Pen: Plotter:
A light pen is a pointing device . Plotter is an output device used to produce
It is connected to a monitor. graphical output on papers.
The tip of the light pen contains a light-sensitive It uses single color or multi color pens to draw
element pictures.
Which detects the light from the screen enabling Printers:
the computer to identify the location of the pen on Printers are used to print the information on
the screen. papers.
Optical Character Reader: Printers are divided into two main categories:
It is a device which detects characters printed or • Impact Printers • Non Impact printers
written on a paper with OCR
The Scanned document can be edited using a word
processor.
Differentiate between Impact and No Impact printers. If these devices are ready, then the BIOS (Basic
Impact Printers Non-Impact Printers Input Output System) gets executed.
It prints with striking of do not use striking This process is called Booting.
hammers or pins on mechanism for Thereafter, a program called “Bootstrap Loader”
ribbon. printing. transfers OS from hard disk into main
It can print on multi- They use electrostatic memory(RAM).
part (using carbon or laser technology. Now the OS gets loaded (Windows/Linux, etc.,)
papers) by using and will get executed.
mechanical pressure Booting process is of two types.
It makes noise while It is silent while printing 1)Cold Booting 2) Warm Booting
printing Cold Booting:
Poor Quality and speed Good Quality and speed When the system starts from initial state is called
Ex. Dot Matrix printers Ex. Laser printers , cold booting or Hard Booting.
, Line matrix printers Inkjet printers Booting process initiate by pressing Power button.
Laser Printers All diagnostic tests could be carried out in this
Laser printers mostly work with similar technology process.
used by photocopiers. Warm Booting:
It makes a laser beam scan back and front across When the system restarts or the system does not
a drum inside the printer, make up a pattern. start from initial state is called Warm Booting or Soft
It can produce very good quality of graphic images. Booting
The resolution range is around 1200 dpi.(Dots per Booting process initiate by pressing Reset button.
inch). All diagnostic tests need not be carried out in this
Approximately it can print 100 pages per case.
minute(PPM). There are chances of data loss and system damage
Inkjet Printers: as the data might not have been stored properly.
Inkjet printers work by spraying ionised ink at a sheet 22.Characteristics of a computer
of paper.
They use the technology of firing ink by heating it. The computer characteristics are
An Inkjet printer can spread millions of dots of ink at It gives the desired output at a very fast rate and
the paper every single second. accurate.
Inkjet Printers use colour cartridges which combined Computers are very versatile as they do a lot of
Magenta, Yellow and Cyan inks. different tasks.
A black cartridge is used for monochrome output. It can store and retrieve data
The speed of Inkjet printers generally range from 1- It works based on instructions.
20 PPM (Page Per Minute).
Speakers: 23. Applications of computer:
Speakers produce voice output (audio) . The various applications of computer are,
This has become very common in places like Business
airlines, schools, banks, railway stations, etc.. Education
Multimedia Projectors: Banking
Multimedia projectors are used to produce Communication
computer output on a big screen. Weather forecasting,
These are used to display presentations in meeting Booking airlines, railway or movie tickets
halls or in classrooms. Games
21.Booting of computer
When a computer is switched on, there is no
information in its RAM.
In ROM, the pre-written program called POST
(Power on Self Test) will be executed first.
This program checks if the devices like RAM,
keyboard, etc., are connected properly and ready to
operate.
Unit I Fundamentals of Computers CHAPTER
2
Number Systems
1.What is Data? 9.How speed of computer is described?
The speed of a computer depends on the number of
Data is defined as an un- processed collection of bits it can process at once.
raw facts, For example, a 64- bit computer can process 64-bit
The data is a fact about people, places or some numbers in one operation
objects. While a 32-bit computer break 64-bit numbers down
suitable for communication, interpretation or into smaller pieces, making it slower.
processing. 10.What is radix of a number system? Give example
It is an input of the computer. What are the different types of Number System?
It will not giving any meaningful message. Radix or base is number of digits in each number
Ex. 134, 16 ‘Kavitha’, ‘C’ system.
2.Define Bit or What is the basic unit of data? Each number system is uniquely identified by its base
A bit is the short form of Binary digit. value or radix.
Which can be ‘0’ or ‘1’. Radix or base is the general idea behind positional
It is the basic unit of data in computers. numbering system.
3.Define nibble A numbering system is a way of representing
A nibble is a collection of 4 bits (Binary digits). numbers. They are,
4.Define Byte. What is the basic unit of memory size? Decimal number system( Base Value 10 )
A collection of 8 bits is called Byte. 0,1,2,3,4,5,6,7,8,9
A byte is considered as the basic unit of measuring Binary number system( Base Value 2 )0,1
the memory size in the computer. Octal number system( Base Value 8 )
5.Define Word length 0,1,2,3,4,5,6,7
Word length refers to the number of Hexadecimal number system( Base Value 16)
bits processed by a Computer’s CPU. 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Ex. 8bits, 16 bits, 32 bits and 64 bits 11. Explain 1’s Complement representation.
6.How Computer memory is represented? Used to represent signed numbers.
Computer memory (Main Memory and Secondary This is for negative numbers only.
Storage)is normally represented in terms of KiloByte Step 1:Convert given Decimal number
(KB) or MegaByte (MB). into Binary
In binary system, 1 KiloByte represents 1024 bytes Step 2: Check if the binary number
that is 210 . contains 8 bits , if less add 0 at the
7.How computers are handle the data? What is left most bit, to make it as 8 bits.
Machine language? Step 3: Invert all bits (i.e. Change 1 as 0
Computer handles data in the form of ‘0’(Zero) and and 0 as 1)
‘1’ (One). 12.Write short note on Decimal Number system
Any kind of data like number, alphabet, special It consists of 0,1,2,3,4,5,6,7,8,9
character should be converted to ‘0’ or ‘1’ which can The base is 10.
be understood by the Computer. It is the oldest and most popular number system
Computer understandable language is called used in our day to day life.
Machine language( 0 and 1) The positional value as a power of 10.Ex. 28,11
8.How characters are represented in computer explain
with examples?
Bytes are used to represent characters in a text.
Different types of coding schemes are used to
represent the character set and numbers.
The most commonly used coding scheme is the
American Standard Code for Information
Interchange (ASCII).
13.Write short note on Binary Number System 18.Decimal to Hexadecimal Conversion
It consists of 0 and 1. The base is 2. Repeated Division by 16
The positional value as a power of 2.
The left most bit in the binary number is called as the
Most Significant Bit (MSB)
It has the largest positional Value.
The right most bit in the binary number is called as
the Least Significant Bit (LSB)
(31)10 = (1F )16
fractional Decimal to Binary
It has the smallest positional Value..
19.Conversion of fractional Decimal ( 0.2 )to Binary
Binary Arithmetic
Binary Addition Table
LOGIC CIRCUIT
LOGIC SYMBOL
LOGIC SYMBOL
̅ .B + A . 𝑩
Algebraic expression : C = 𝑨 ̅
17.Prove the following Absorption law by using Truth
TRUTH TABLE Table A + (A . B) = A
A B 𝐴̅ 𝐵̅ 𝐴̅ . B A . 𝐵̅ 𝐴̅ . B + A . 𝐵̅
0 0 1 1 0 0 0 A B A.B A+(A.B)
0 1 1 0 1 0 1 0 0 0 0
1 0 0 1 0 1 1 0 1 0 0
1 1 0 0 0 0 0 1 0 0 1
In boolean algebra. In boolean algebra ⊕ or "encircled 1 1 1 1
plus"stands for the XOR Hence, A + (A . B) = A is proved
Therefore 18.Write De Morgan’s laws
C = A ⊕B First Law : ̅̅̅̅̅̅̅̅̅
𝑨+𝑩 =𝑨 ̅ .𝑩
̅
Second Law ̅̅̅̅̅̅ ̅
: 𝑨. 𝑩 = 𝑨 + 𝑩 ̅
Logic Symbol
19. Write the associative laws?
1)A + (B + C) = (A + B) + C
2) A . (B . C) = (A . B) . C
A B 𝐴̅ 𝐵̅ 𝐴̅ .B A . 𝐵̅ 𝐴̅ .B + A .𝐵̅ ̿̿̿̿̿̿̿̿̿̿̿̿̿̿̿̿̿
𝐴 . B + A . 𝐵̅ .
0 0 1 1 0 0 0 1
0 1 1 0 1 0 1 0
1 0 0 1 0 1 1 0
1 1 0 0 0 0 0 1
̅ .B + A . 𝑩
Algebraic expression : C = 𝑨 ̅
Unit I Fundamentals of Computers CHAPTER
3
Computer Organization
1.Differentiate between computer architecture and Data bus
Computer organization A data bus is used to transfer data between the
Computer Architecture deals with the engineering memory and the CPU.
considerations involved in designing a computer. The Memory Data Register(MDR) is connected with
Computer Organization deals with the hardware the data bus
components that are transparent to the Programmer. The data bus is bidirectional
2.What is microprocessor? Define microprocessor. Control bus
The microprocessor is a programmable The control bus controls both read and write
multipurpose silicon chip. operations.
It is driven by clock pulses. 5. What are the parameters which influence the
It accepts input as a binary data and after characteristics of a microprocessor? Or
processing, it provides the output data as per the What are the Characteristics of Microprocessors.
instructions stored in the memory. Explain
There are three important Characteristics of
Microprocessors. They are,
a) Clock speed
b) Instruction set
c) Word size
3.What are the main units of Microprocessor? Explain Clock speed
Microprocessor is made up of 3 main units. They are, Every microprocessor has an internal clock.
1. Arithmetic and Logic unit (ALU)
It regulates the speed of executing instructions.
2. Control unit
The speed at which the microprocessor executes
3. Registers (Internal Memory)
instructions is called the clock speed.
Arithmetic and Logic unit (ALU):
Clock speed is measured in MHz (Mega Hertz) or in
To perform arithmetic and logical instructions
GHz (Giga Hertz).
based on computer instructions.
Instruction set
Control unit:
Instruction is a command which is given to a
To control the overall operations of the
computer to perform an operation based on data.
computer through signals.
Basic set of machine understandable instructions to
Registers (Internal Memory):
execute by microprocessor is called an instruction
They are used to hold the instruction and data for
set.
the execution of the processor.
Types of operations
4.What is System Bus?
Data transfer
A bus is a collection of wires used for communication
Arithmetic operations
between the Microprocessor and other devices.
Logical operations
There are 3 types of buses, they are
1. Address bus Control flow
2. Data bus Input/output
3. Control bus Word size
Address bus The number of bits that can be processed by a
The Address bus is used to point a memory location. processor in a single instruction is called its word
The Memory Address Register(MAR) is connected size.
with the address bus. 6.What is an Instruction?
The address bus is unidirectional. Instruction is a command which is given to a
computer to perform an operation based on data.
7.How to determine architecture of the
microprocessor?
Total number of input and output pins determine
the architecture of the microprocessor
8.Differentiate between Memory Data Register(MDR) The read operation transfers the data(bits) from
and Memory Address Register (MAR) word to Memory Data Register.
MDR MAR The write operation transfers the data(bits) from
It keeps the data It keeps the address of Memory Data Register to word.
data 11.How microprocessors are classified ?
It is connected with It is connected with the based on the Data Width
the data bus address bus based on Instruction Set
The word in the ALU places the address of 12.How Microprocessors are classified based on the
RAM has the same the memory to be fetched Data Width or size of the data?
size as MDR into MAR Depending on the data width, microprocessors can
8. What is the use of program counter? Or What is a process instructions.
Program counter? It can be classified as follows:
The Program Counter (PC) is a special register in the • 8-bit microprocessor
CPU which always keeps the address of the next • 16-bit microprocessor
instruction to be executed. • 32-bit microprocessor
9.Explain how Data communication between CPU and • 64-bit microprocessor
memory. Or 14.What are the types of microprocessors based on
How the read and write operations are performed by a instruction set?
processor? Explain Reduced Instruction Set Computers (RISC)
Complex Instruction Set Computers (CISC)
The Central Processing Unit(CPU)has a Memory Data Reduced Instruction Set Computers (RISC)
Register (MDR) anda Memory Address Register They have small set of highly optimized instructions.
(MAR). Complex instructions are implemented using
MDR keeps the data . simple instructions.
MAR keeps the address of data. Ex.Pentium IV, Intel P6, AMD K6 and K7
The Data bus is connected with MDR. Complex Instruction Set Computers (CISC)
They support hundreds of instructions.
The address bus is connected with MAR.
These Computers can accomplish a wide variety of
The word in the RAM has the same size as MDR.
tasks, making them ideal for personal computers.
If the processor is an 8-bit processor ,The size MDR is Ex.Intel 386 & 486, Pentium, Pentium II and III, and
eight 8 bits. Motorola 68000.
The data bus has eight parallel wires to transfer data 15.Write short note on Memory access.
either MDR to word or word to MDR. Computer memory is the storage space in the
The control line is labeled asR/W , which becomes 1 computer, where dataand instructions are stored.
means READoperation and 0 means WRITE There are two types of accessing methods to access
operation. (read or write) the memory.
They are sequential access and random access.
16.What are the methods of accessing memory?
There are two types of accessing methods to access
(read or write) the memory.
They are sequential access and random access
Sequential access,
The memory is accessed in an orderly manner
from starting to end.
Random access,
Any byte of memory can be accessed directly
without navigating through previous bytes.
Hard Disk
Hard disk is a magnetic disk used to store data.
It has the stacked arrangement of disks accessed
by a pair of heads for each of the disks.
It comes with a single or double sided disk.
Compact disk(CD)
CD is made up of polycarbonate plastic material.
A thin layer of aluminum or gold is applied to the
surface.
In CD, data is represented as "pits" encoded in a
spiral track on top.
The areas between pits are known as "lands".
A motor within the CD player rotates the disk.
The capacity is 700MB
Digital Versatile Disc (DVD)
DVD is an optical disc
DVDs are read with a laser.
The disc can have one or two sides, and one or two
layers per side;
Single layer has 4.7 GB capacity,
Double layer has 8.5 GB capacity.
Double-layered sides are usually gold-coloured
Single-layered sides are usually silver-coloured, like
a CD
Thunderbird Firefox
It is an email software It is a browser software
Used to send and receive Used to browse internet
emails web pages.
Save Save As
Save as dialog box Save as dialog box
appears first time only appears always
Used to save the Used to save the
modification without modification with
changing name and changing name and
location of file location of file.
Control System
panel settings
Search Search
your
computer
Input y
Case
“BALL”
Y*y F==’B’
Algorithm
Right_angled(a,b,c)
--input: c>=a,c>=b Case
--output: ifc2 = a2 + b2 is true result = TRUE otherwise F==’C’ “CAT”
result = FALSE
if ( square(c ) == square(a) + square(b) )
result: = TRUE it is right angle triangle
else ’
result: = FALSE it is not a right angle triangle
Flowchart Default Statement End
Algorithm
Contents(a,b,c)
--input : a=10,b=20,c=30
--output: a=c ,b=a ,c=b
a=30,b=10 , c=20
Algorithm
Start
Read a,b,c
t=b
b=a
a=c
c=t
print a,b,c
End
24.Trace the step-by-step execution of the algorithm for
factorial(4).
factorial(n)
-- inputs : n is an integer , n ≥ 0
-- outputs : f = n!
f, i := 1 ,1
while i ≤ n
f, i := f × i, i+1
Algorithm
Read n=4
f=1,i=1
check i<=n if true execute the following loop
{
f=f*i
i=i+1
}
If false comes out of the loop and
Print f
Output: 24
Unit II Algorithmic Problem Solving CHAPTER
p + g : = 1234
g =1234 - 1
g = 1233 ( No.of games played = 1233)
White squares W = 32
Black squares B = 32
W+ B = 64 , W – B = 0 = 0 mod 4
But the required state has 63 W 1 B
So W – B = 63 – 1 = 62 = 2 mod 4
Which is impossible.
CHAPTER - 1 Answers:
1. First generation computers used 1.c 2.d 3.b 4.c 5.a 6.c 7.b
(a) Vacuum tubes (b) Transistors 8.c
(c) Integrated circuits (d) Microprocessors
2. Name the volatile memory Part - II
(a) ROM (b) PROM (c) RAM (d) EPROM 1. Which is a basic electronic circuit which operates on
3. Identify the output device one or more signals?
(a) Keyboard (b) Memory (c) Monitor (d) Mouse (A) Boolean algebra (B) Gate (C) Fundamental gates
4. Identify the input device (D) Derived gates
(a) Printer (b) Mouse (c) Plotter (d) Projector 2. Which gate is called as the logical inverter?
5. …………… Output device is used for printing building (A) AND (B) OR ( C) NOT (D) XNOR
plan, flex board, etc. (a) Thermal printer (b) Plotter 3. A + A = ?
(c) Dot matrix (d) inkjet printer (A) A (B) O (C ) 1 (D) A
6. In ATM machines, which one of the following is used 4. NOR is a combination of ?
to (a) Touch Screen (b) speaker (c) Monitor (d) Printer (A) NOT(OR) (B)NOT(AND) (C ) NOT(NOT) (D)
7. When a system restarts …………… ….. Which type of NOT(NOR)
booting is used. (a) Warm booting (b) Cold booting (c) 5. NAND is called as …… Gate
Touch boot (d) Real boot. (A) Fundamental Gate (B) Derived Gate (C ) Logical
8. Expand POST Gate (D) Electronic gate
(a) Post on self Test (b) Power on Software Test Answers:
c) Power On Self Test (d) Power on Self Text 1.b 2.c 3.a 4.a 5.b
9. Which one of the following is the main memory? CHAPTER - 3
(a) ROM (b) RAM (c) Flash drive (d) Hard disk
10. Which generation of computer used IC’s? 1. Which of the following is said to be the brain of a
(a) First (b) Second (c) Third (d) Fourth computer?
Answers: (a) Input devices (b) Output devices (c) Memory device
1.a 2.c 3.c 4.b 5.b 6.a 7.a (d) Microprocessor
8.d 9.b 10.c 2. Which of the following is not the part of a
CHAPTER - 2 Part - I microprocessor unit?
1. Which refers to the number of bits processed by a (a) ALU (b) Control unit (c) Cache memory (d) register
computer’s CPU? 3. How many bits constitute a word?
A) Byte B) Nibble C) Word length D) Bit (a) 8 (b) 16 (c) 32 (d) determined by the processor
2. How many bytes does 1 Kilo Byte contain? used.
A) 1000 B) 8 C) 4 D) 1024 4. Which of the following device identifies the location
3. Expansion for ASCII when address is placed in the memory address register?
A) American School Code for Information Interchange (a) Locator (b) encoder (c) decoder (d) multiplexer
B) American Standard Code for Information Interchange 5. Which of the following is a CISC processor?
C) All Standard Code for Information Interchange (a) Intel P6 (b) AMD K6 (c) Pentium III (d) Pentium IV
D) American Society Code for Information Interchange 6. Which is the fastest memory?
4. 2^50 is referred as (a) Hard disk (b) Main memory
A) Kilo B) Tera C) Peta D) Zetta (c) Cache memory (d) Blue-Ray dist
5. How many characters can be handled in Binary 7. How many memory locations are identified by a
Coded Decimal System? processor with 8 bits address bus at a time?
A) 64 B) 255 C) 256 D) 128 (a) 28 (b) 1024 (c) 256 (d) 8000
6. For 11012 what is the Hexadecimal equivalent? 8. What is the capacity of 12cm diameter DVD with
A) F B) E C) D D) B single sided and single layer?
7. What is the 1’s complement of 00100110? (a) 4.7 GB (b) 5.5 GB (c) 7.8GB (d) 2.2 GB
A) 00100110 B) 11011001 C) 11010001 D) 9. What is the smallest size of data represented in a CD?
00101001 (a) blocks (b) sectors (c) pits (d) tracks
8. Which amongst this is not an Octal number?
A) 645 B) 234 C) 876 D) 123
10. Display devices are connected to the computer 4. What is the meaning of "Hibernate" in Windows
through. XP/Windows 7?
(a) USB port (b) Ps/2 port (c) SCSI port (d) VGA a. Restart the Computer in safe mode
connector b. Restart the Computer in hibernate mode
Answers: c. Shutdown the Computer terminating all the running
1.d 2.c 3.d 4.c 5.c 6.c 7.c applications
8.a 9.c 10.d d. Shutdown the Computer without closing the running
applications
CHAPTER - 4 5. Which of the following OS is not based on Linux?
1) Operating system is a a. Ubuntu b. Redhat c. CentOs d. BSD
A) Application Software B) Hardware 6. Which of the following in Ubuntu OS is used to view
C) System Software D) Component the options for the devices installed?
2) Identify the usage of Operating Systems a. Settings b. Files c. Dash d. VBox_GAs_5.2.2
A) Easy interaction between the human and computer 7. Identify the default email client in Ubuntu.
B) Controlling input & output Devices a. Thunderbird b. Firefox c. Internet Explorer d.
C) Managing use of main memory D) All the above Chrome
3) Which of the following is not a function of an 8. Which is the default application for spreadsheets in
Operating System? Ubuntu? This is available in the software launcher.
A) Process Management B) Memory Management a. LibreOffice Writer b. LibreOffice Calc
C) Security management D) Complier Environment c. LibreOffice Impress d. LibreOffice Spreadsheet
4) Which of the following OS is a commercially licensed 9. Which is the default browser for Ubuntu?
Operating system? a. Firefox b. Internet Explorer c. Chrome d. Thunderbird
A) Windows B) UBUNTU C) FEDORA D) REDHAT 10. Where will you select the option to log out,
5) Which of the following Operating systems support suspend, restart, or shut down from the desktop of
Mobile Devices? Ubuntu OS?
A) Windows 7 B) Linux C) BOSS D) iOS a. Session Indicator b. Launcher c. Files d. Search
6) File Management manages
A) Files B) Folders C) Directory systems D) All the Above Answers:
7) Interactive Operating System provides
A) Graphics User Interface (GUI) B) Data Distribution 1.d 2.a 3.d 4.d 5.d 6.a 7.a
C) Security Management D) Real Time Processing 8.b 9.a 10.a
8) Android is a
A) Mobile Operating system B) Open Source CHAPTER - 6
C) Developed by Google D) All the above
9) Which of the following refers to Android operating 1.Which of the following activities is algorithmic in
system’s version? nature?
A) JELLY BEAN B) UBUNTU C) OS/2 D) MITTIKA (a) Assemble a bicycle. (b) Describe a bicycle.
(c) Label the parts of a bicycle. (d) Explain how a bicycle
Answers: works.
1.c 2.d 3.d 4.a 5.d 6.d 7.a 2. Which of the following activities is not algorithmic in
8.d 9.a nature?
(a) Multiply two numbers. (b) Draw a kolam.
CHAPTER - 5 (c) Walk in the park. (d) Braid the hair.
3. Omitting details inessential to the task and
1. From the options given below, choose the operations representing only the essential features of the task is
managed by the operating system. known as
a. Memory b. Processor c. I/O devices d. all the above (a) specification (b) abstraction
2. Which is the default folder for many Windows (c) composition (d) decomposition
Applications to save your file? 4. Stating the input property and the as :-output
a. My Document b. My Pictures c. Documents and relation a problem is known
Settings d. My Computer (a) Specification (b) statement
3. Under which of the following OS, the option Shift + (c) algorithm (d) definition
Delete – permanently deletes a file or folder?
a. Windows 7 b. Windows 8 c.Windows10 d. All of
the OS
5. Ensuring the input-output relation is 6. How many times the loop is iterated?
(a) the responsibility of the algorithm and the right of the i := 0
user. while i ≠ 5
(b) the responsibility of the user and the right of the i := i + 1
algorithm. (a) 4 (b) 5 (c) 6 (d) 0
(c) the responsibility of the algorithm but not the right of
the user. Answers:
(d) the responsibility of both the user and the algorithm. 1.a 2.c 3.b 4.a 5.a 6.b
6. If i = 5 before the assignment i := i-1 after the
assignment, the value of i is CHAPTER - 8
(a) 5 (b) 4 (c) 3 (d) 2 1.A loop invariant need not be true
7. If 0 < i before the assignment i := i-1 after the (a) at the start of the loop. (b) at the start of each
assignment, we can conclude that iteration (c) at the end of each iteration (d) at the start
(a) 0 < i (b) 0 ≤ i (c) i = 0 (d) 0 ≥i of the algorithm
2.We wish to cover a chessboard with dominoes, the
number of black squares and the number of white
Answers: squares covered by dominoes, respectively, placing a
1.a 2.d 3.b 4.a 5.d 6.4 7.b domino can be modeled by
(a) b := b + 2 (b) w := w + 2 (c) b,w := b+1, w+1(d) b := w
CHAPTER - 7 3. If m x a + n x b is an invariant for the assignment
1. Suppose u,v = 10 ,5 before the assignment .What are a, b : = a + 8, b + 7, the values of m and n are
the values of u and v after the sequence of (a) m = 8, n = 7 (b) m = 7, n = -8 (c) m = 7, n = 8 (d) m
assignments? = 8, n = -7
1 u := v 4. Which of the following is not an invariant of the
2 v := u assignment? m, n := m+2, n+3
(a) u, v = 5 ,5 (b) u, v = 5 ,10 (c) u, v = 10 ,5 (d) u, v = (a) m mod 2(b) n mod 3 (c) 3 X m - 2 X n (d) 2 X m - 3 X n
10 ,10 5. If Fibonacci number is defined recursively as
2. Which of the following properties is true after the to evaluate F(4), how many times F() is applied?
assignment (at line 3) ? (a) 3 (b) 4 (c) 8 (d) 9
1 -- i+j = 0 6. Using this recursive definition
2 i, j := i+1, j-1 how many multiplications are needed to calculate a10?
3 -- ? (a) 11 (b) 10 (c) 9 d) 8
(a) i+j >0 (b) i+j < 0 (c) i+j =0 (d) i = j
3. If C1 is false and C2 is true, the compound statement Answers:
1 if C1 1.d 2.a 3.b 4.d 5.b 6.9
2 S1
3 else
4 if C2
5 S2
6 else
7 S3
Executes
(a) S1 (b) S2 (c) S3 (d) none
4. If C is false just before the loop, the control flows
through
1 S1
2 while C
3 S2
4 S3
(a) S1 ; S3 (b) S1 ; S2 ; S3 (c)S1 ; S2 ; S2 ; S3 (d) S1 ; S2
; S2 ; S2 ; S3
5. If C is true, S1 is executed in both the flowcharts, but
S2 is executed in
(a) (1) only (b) (2) only (c) both (1) and (2) (d) neither
(1) nor (2)
Dept.of C.S. ,RMKMHSS - 601206
42
www.rmkmhsselango.blogspot.com 9677515019