Loyola Computer Science Study Guide
Loyola Computer Science Study Guide
in
11
s
es
pr
ex
vi
.in
s
es
pr
ex
vi
al
.k
Author:
w
.in
always seek for the best, sources to learn and score high marks.
The pattern of the question being asked in the exams has changed
dramatically and the difficulty level has also increased considerably. To
s
succeed in board exams and to actualize your dream, you are required
es
to prepare strategically and study in a focused manner.
This book gives important tips which covers the entire chapter.
Loyola serves the above cited purpose in perfect manner.
pr
➢ Specially designed for coaching students of different levels.
(Slow learners, average and Topper students)
ex
➢ Lot of additional questions are given for toppers
➢ The “EC Computer Science” is prepared with due care on the lines
vi
of the Govt. Examination Valuation, the easy method of studying, the
lesson and the perfect way of answering the questions.
al
➢ The answers are well prepared, briefly and easily for the students to
study without any difficulty and stress.
.k
Loyola Publication
CONTENTS
Chapter No. Title PAGE
.in
1 Introduction to Computers 5
2 Number Systems 21
3 Computer Organization 46
s
4 Theoretical Concepts of Operating System 56
es
5 Working with Windows Operating System 65
UNIT II-ALGORITHMIC PROBLEM SOLVING
6 Specification and Abstraction 75
pr
7 Composition and Decomposition 83
8 Iteration and recursion 97
ex
UNIT III – INTRODUCTION TO C++
9 Introduction to C++ 107
vi
15 Polymorphism 205
16
w
Inheritance 214
.in
➢
s
computers as a switch or an amplifier.
Transistors:
es
➢ The transistor (“transfer resistance”) is made up of semi-conductors.
➢
It is a component used to control the amount of current or voltage used for amplification/
pr
➢ Punch cards also known as Hollerith cards are paper cards containing several punched or
Assembly language:
➢ An assembly language is a low-level programming language.
vi
Integrated Circuits:
➢ The IC is a package containing many circuits, pathways, transistors, and other electronic
Microcomputer:
➢ Micro computer is used to describe a standard personal computer.
High-level languages:
.k
➢ Natural Language Processing is a method used in artificial intelligence to process and derive
Robotics:
➢ Robot is a term coined by Karel Capek in the 1921 to play RUR (Rossum’s Universal Robots).
➢ It is used to describe a computerized machine designed to respond to input received manually
w
5
Loyola EC 11th ◊ Computer Science
.in
(b) Transistors
(c) Integrated circuits (c) Monitor (d) Printer
Ans : (a) Touch Screen
(d) Microprocessors
booting is used.
s
2. Name the volatile memory March-2023
es
(c) Touch boot (d) Real boot
(c) RAM (d) EPROM Ans : (a) Warm booting
Ans : (c) RAM 8. Expand POST
3. Identify the output device March-2020 (a) Post on self Test
pr
memory?
(c) Plotter (d) Projector
(a) ROM (b) RAM
vi
Section - B
w
instructions provided to it and gives the desired output at a very fast rate.
2. Distinguish between data and information.
w
Data Information
Data is defined as an unprocessed collection
Information is a collection of facts from
of raw facts, suitable for communication,
which conclusions may be drawn.
interpretation or processing.
Example: 134, 17 ‘Helena’, ‘C” Example: Helena is 17 years old
6
Loyola EC 11th ◊ Computer Science
➢
The ALU performs arithmetic operations such as addition, subtraction, multiplication,
.in
➢
The result of an operation is stored in internal memory of CPU.
s
6. What is the function of memory?
es
Memory unit is used to temporarily store the programs and data when the instructions are
ready to execute.
7. Differentiate Input and Output unit.
pr
Input Unit Output Unit
Input unit is used to feed any form of data An output unit is any hardware component
to the computer which can be stored in the that conveys information to users in an
ex
memory unit for further processing. understandable form.
Example: Keyboard, Mouse etc., Example: Printer, Monitor etc.,
8. Distinguish Primary and Secondary memory.
vi
power supply is switched off. even after the power supply is switched off.
Example: RAM. Example: CD-ROM, DVD ROM,Hard Disk
w
Section - C
Short Answers
w
a) Speed :
Computer is very fast calculating device. It can execute basic operations like subtraction,
addition, multiplication and division at a few microseconds. It can move and copy data at a
speed in the order of billion instruction per second.
b) Accuracy :
Computer always gives accurate results. The accuracy of Computer does not go down
when they are used continuously for hours together. It always gives accurate results.
7
Loyola EC 11th ◊ Computer Science
c) Storage capacity :
Computer have a very large storage capacity. A large volume of information can be stored
in the memory of computer and information can be retrieved correctly when desired.
d) Versatility :
➢ The working of computer with different types of data is known as versatility.
➢ Computer can works with different type of data and information such as visuals, text,
.in
graphics & video etc. So, versatility is a most important characteristic of computer.
e) Diligence :
A Computer can work for long hours with the same accuracy and speed because it is free
from problems of boredom or lack of concentration
s
2. Write the applications of computer.
Computers play a vital role in our day to day life in the fields education, research, travel and
es
pr
➢ Input unit is used to feed any form of data to the computer, which can be stored in the
Impact printers:
➢ Impact printers print with striking of hammers or pins on ribbon.
➢ Impact printers can print on multipart (using carbon papers) by using mechanical pressure.
w
8
Loyola EC 11th ◊ Computer Science
be Monochrome which display text or images in Black and White or can be color, which
display results in multiple colors.
➢ There are many types of monitors available such as CRT (Cathode Ray Tube), LCD (Liquid
.in
Crystal Display) and LED (Light Emitting Diodes).
Section - D
Explain in details
1. Explain the basic components of a computer with a neat diagram. March-2019
s
es
➢ Central Processing Unit(Arithmetic and Logic Unit, Control Unit)
➢ Output Unit
➢ Memory Unit
pr
Function of a computer:
➢ Every task given to a computer follows an Input- Process- Output Cycle (IPO cycle).It needs
certain input, processes that input and produces the desired output.
➢ The input unit takes the input, the central processing unit does the processing of data and
ex
Control Unit
.k
ALU
Input Unit Output Unit
Internal
Memory Data Path
Control Path
w
Main Memory
Secondary Storage
w
components of a computer
w
➢ It accepts binary data as input, process the data according to the instructions and provide the
result as output.
➢ The CPU has three components which are Control unit, Arithmetic and logic unit (ALU) and
Memory unit.
9
Loyola EC 11th ◊ Computer Science
.in
➢ The result of an operation is stored in Main Component: Transistors
Merits/ Demerits :
s
Control Unit: ➢ Consumed less power compared to first
generation
➢ The control unit controls the flow of
es
➢ Punched cards were used
pr
of a computer. ➢ Machine language as well as Assembly
Output Unit:
UNIVAC 1108
ex
users in an understandable form. Third Generation Computer:
Example: Monitor, Printer etc. Year : 1964-1971
Memory Unit: Main Component: Integrated Circuits (IC)
➢ The Memory Unit is of two types which Merits/ Demerits :
vi
are a primary memory and secondary ➢ Computers were smaller, faster and more
memory. reliable
➢ The primary memory is used to temporarily ➢ Consumed less power.
al
store the programs and data when the ➢ High-Level Languages were used
instructions are ready to execute. Example:
➢ The secondary memory is used to store the IBM 360 series, Honeywell 6000 series
.k
data permanently.
➢ The Primary Memory is volatile, that is, Year: 1971-1980
Main Component:
10
Loyola EC 11th ◊ Computer Science
➢ Computers size was drastically reduced. ➢ Inkjet printers work by spraying ionised
including decision making and logical heating it so that it explodes towards the
reasoning paper in bubbles or by using piezoelectricity
Sixth Generation Computer: in which tiny electric currents controlled
.in
Year: In future by electronic circuits are used inside the
Merits/ Demerits: printer to spread ink in jet speed.
➢ Parallel and Distributed computing ➢ An Inkjet printer can spread millions of
➢ Computers have become smarter, faster dots of ink at the paper every single second.
s
es
➢ Development of robotics ➢
Software
pr
c. Bar Code / QR Code Reader:
3. Explain the following: ➢ A Bar code is a pattern printed in lines of
a. Inkjet Printer
different thickness.
b. Multimedia projector ➢ The Bar code reader scans the information
ex
c. Bar code / QR code Reader on the bar codes transmits to the Computer
a. Inkjet Printers: for further processing.
➢ Inkjet Printers use colour cartridges which ➢ The system gives fast and error free entry
combined Magenta, Yellow and Cyan inks of information into the computer.
vi
(c) 1992 (d) 1839 Ans: (a) 1837 5. The period of Second generation
11
Loyola EC 11th ◊ Computer Science
6. The period of Third generation computers 14. Computer is the combination of ______.
.in
15. ________ holds the data and instructions
s
es
16. ________ is the Expansion of CPU.
(c) 1964-1974 (d) 1980-1998
pr
invented.
12
Loyola EC 11th ◊ Computer Science
(a) Printer
(b) Scanner (a) Character Per Seconds
(c) Plotter
(d) Digital Camera (b) Character Per Second
Ans: (d) Digital Camera (c) Calculations Per Second
22. CRT expansion is _____
(d) Correction Per Second
(a) Cathode Ray Tube Ans: (b) Character Per Second
.in
(b) Cathode Radio Tabular
29. LED expansion is ______.
(c) Cathod Rays Technology
s
es
(a) Lifted Cathode Diodes
(b) Lifted Cluster Display Ans: (a) Light Emitting Diode
(c) Liquid Crystal Display 30. USB - expansion is _______.
pr
(a) Uniform Serious Bus
Ans: (c) Liquid Crystal Display (b) Uniform Serial Bus
24. VGA expansion is ______ (c) Universal Serial Bus
ex
(a) Visualize Graphing Adapter (d) Universal Serial BAS
(b) Video Graphing Adapting Ans: (c) Universal Serial Bus
(c) Video Graphics Array
(d) Voice Graphite Array 31. ALU - expansion is _______________.
vi
of computers.
(a) Charles Babbage (b) William (d) Arithmatic Logic Unit
(c) John Napier (d) Blaise Pascal Ans: (b) Arithmetic Logical Unit
.k
(a) J. Presper Eckert & John Mauchly (b) Charged Coupled Device
(b) J. Napier (c) Changed Couple Device
w
(c) J. Van Nueman & Herman Hollerith (d) Couple Changed Device
(d) J. Mauchaley Ans: (b) Charged Coupled Device
Ans: (a) J. Presper Eckert & John Mauchly
w
13
Loyola EC 11th ◊ Computer Science
Computer. Computer
First Generation Computer: Fourth Generation Computer:
Year: 1940-1956 Year: 1971-1980
Main Component: Vacuum tubes Main Component: Microprocessor Very
.in
Merits/ Demerits:
s
➢ Microcomputer series such as IBM and
➢ Machine Language was used
es
➢ Portable Computers were introduced
2. Write short notes on Second Generation
5. Write short notes on Fifth Generation
Computer.
pr
Year: 1956-1964 Fifth Generation Computer:
Main Component: Transistors Year: 1980-till date
Merits/ Demerits: Main Component: Ultra Large Scale
ex
1108
w
Computer
Computer.
Sixth Generation Computer:
w
14
Loyola EC 11th ◊ Computer Science
.in
➢ Usually, the recent motherboard
➢ The individual keys for letters, numbers
➢ This keyboard-layout is derived from the Printers are divided into two main
s
categories:
es
8. Expand VLSI,ULSI
pr
printers.
vi
15
Loyola EC 11th ◊ Computer Science
.in
the Computer.
➢ Using the microphone along with speech other electronic components all working
together to perform a particular function
s
the Computer. 29. Write notes on Nano-technology.
es
Nano-technology is an engineering,
22. Write notes on light pen.
screen.
molecule that is 100 nanometers or smaller.
➢ light pen is hard to use and not accurate.
pr
30. Write notes on Touch Screen.
23. Write notes on Vacuum tubes .
made up of semiconductors.
➢ It is a component used to control the registers, and information kiosks.
➢ Some touch screens uses a grid of infrared
➢ Parallel Processing
➢ Machine language is a collection of binary ➢ Superconductors
digits or bits that the computer reads and ➢ Computers very small in size
interprets. ➢ Acts more faster
➢ In first generation, machined language ➢ Usage of High-level languages
was used. ➢ Can recognize Images and Graphs
16
Loyola EC 11th ◊ Computer Science
➢ Hardware are the physical components of a computer like motherboard, memory devices,
➢ Both hardware and software together make the computer system function.
.in
s
Impact Printers print with striking of Non-Impact Printers do not use striking
hammers or pins on ribbon. mechanism for printing.
es
Impact Printers can print on multi-part Non-Impact Printers cannot print on
(using carbon papers) multipart
Impact Printers using mechanical pressure Non-Impact Printers use electrostatic or
laser technology.
pr
Low Quality and less speed Quality and speed of these printers are
better than Impact printers.
ex
Example : Dot Matrix printers , Example : Laser printers, Inkjet printers
Line matrix printers
35. Differentiate Dot Matrix Printer and Laser Printer.
vi
Dot Matrix Printers can print on multi- Laser Printers cannot print on multi-part .
part (using carbon papers)
.k
Dot Matrix Printers use mechanical Laser Printers use electrostatic or laser
pressure technology.
Low Quality and less speed Quality and speed of Laser Printer is better
w
Cold Booting:
➢ When the system starts from initial state i.e. it is switched on, we call it cold booting or Hard
Booting.
w
➢ When the user presses the Power button, the instructions are read from the ROM to initiate
Booting.
➢ The system does not start from initial state and so all diagnostic tests need not be carried out
in this case.
17
Loyola EC 11th ◊ Computer Science
.in
recognition device used for computer 41. What are the types of Booting?
security, equipped with the fingerprint
➢ Cold Booting
recognition feature that uses biometric
technology. ➢ Warm Booting
s
➢ Fingerprint Reader / Scanner is a very safe 42.
es
of using passwords, which is vulnerable to
fraud and is hard to remember. software that makes the computer to work.
➢ When a computer is switched on, there is
38. Write notes on Retinal Scanner.
Retinal Scanner:
pr
Retinal Scanner performs a retinal scan ➢ At the same time, in ROM, the pre-written
which is a biometric technique that uses program called POST (Power on Self Test)
unique patterns on a person’s retinal blood will be executed first.
ex
vessels.
➢ This program checks if the devices
39. Write notes on Scanner.
➢ Scanners work like a Xerox machine. ➢ If these devices are ready, then the BIOS
➢ Scanners convert any type of printed
(Basic Input Output System) gets executed.
al
Impact Printers:
➢ Impact Printers print with striking of hammers or pins on ribbon.
➢ These printers can print on multi-part (using carbon papers) by using mechanical pressure.
Example: Dot Matrix printers and Line matrix printers .
18
Loyola EC 11th ◊ Computer Science
➢
It generally prints one line of text at a ➢ One of the chief characteristics of laser
time. The printing speed of these printers printer is their resolution - how many Dots
varies from 30 to 1550 CPS (Character Per per inch (DPI).
Second). ➢ The available resolution range around
➢ A Dot matrix printer that prints using a
1200 dpi. Approximately it can print 100
fixed number of pins or wires. pages per minute(PPM).
➢ Each dot is produced by a tiny metal rod, Inkjet Printers:
.in
also called a “wire” or “pin”, which works ➢ Inkjet Printers use colour cartridges which
by the power of a tiny electromagnet or combined Magenta, Yellow and Cyan inks
solenoid, either directly or through a set of to create color tones.
➢ A black cartridge is also used for
s
small levers.
➢ It generally prints one line of text at a monochrome output. Inkjet printers work
es
time. The printing speed of these printers by spraying ionised ink at a sheet of paper.
varies from 30 to 1550 CPS (Character Per ➢ The speed of Inkjet printers generally
Second). ranges from 1-20 PPM (Page Per Minute).
➢ They use the technology offering ink by
pr
Line matrix printers :
➢ Line matrix printers use a fixed print head heating it so that it explodes towards the
paper in bubbles or by using piezoelectricity
for printing.
in which tiny electric currents controlled
ex
➢ Basically, it prints a page-wide line of dots.
by electronic circuits are used inside the
pressure to print on multi-part (using ➢ Scanners are used to enter the information
carbon papers). directly into the computer’s memory.
.k
Laser printers and Inkjet printers are non- ➢ Fingerprint Scanner is a fingerprint
impact printers. recognition device used for computer
w
19
Loyola EC 11th ◊ Computer Science
Retinal Scanner:
➢ Retinal Scanner performs a retinal scan which is a biometric technique that uses unique
➢ It looks like a TV. Pictures on a monitor are formed with picture elements called PIXELS.
➢ Monitors may either be Monochrome which display text or images in Black and White or can
.in
s
➢ The monitor works with the VGA (Video Graphics Array) card.
➢ The video graphics card helps the keyboard to communicate with the screen.
es
Plotter:
pr
➢ Plotter is an output device that is used to produce graphical output on papers.
20