Download as pdf or txt
Download as pdf or txt
You are on page 1of 72

Chapter 1 - Fundamentals of Computer

1. The base of hexadecimal number system is (2,8,10,16) [ March 2020, Score 1 ]

Ans. 16

2. What are the methods of representing characters in memory. [ March 2020, Score 2 ]

Ans. ASCII – American Standard Code for Information Interchange – 7 bit or 8 bit
EBCDIC – Extended Binary Coded Binary Coded Decimal Interchange Code
ISCII – Indian Standard Code for Information Interchange. Now replaced by Unicode.
Unicode – Can represent all characters of written languages of the world and other symbols

in
3. (i) Find the 2’s complement of (100010) 2 [ March 2020, Score 1 ]

.
( ii ) Find the value of x, y, z from the following : [ March 2020 ]

(a) (10101) 2 = (x) 10

(b) (107) 8 = (y) 2

(c) (351) 10 = (z) 16


ve [ Score 1 ]

[ Score 1 ]

[ Score 2 ]

Ans. ( i ) 1’s complement (interchange zeros and ones) – 011101


sli
2’s complement (Add 1 to one’s complement) - 011110
( ii ) ( a) 1 x 24 + 0 + 1 x 22 + 0 + 1 = (21) 10
x = 21
( b) ( 107 ) 8 = ( 001 000 111 ) 2
Hs

y=001000111
( c ) ( 351 ) 10 = ( 16F ) 16
z = 16F

4. Write full form of JPEG [ July 2019, Score 1 ]

Ans. Joint Picture Experts Group

5. Explain why computers are considered as the best electronic data processing machines.
[ July 2019, Score 2 ]
Ans.
Speed: A computer can perform millions of operations in a second or in fraction of second.
Accuracy: A computer can perform arithmetic operations with a very high degree of accuracy.
Diligence: Since computer is a machine, it can operate for long hours untiringly.
Versatility: Computer can be used to perform many beings, different kinds of processing tasks.
Huge memory: Computer has enormous memory capacity. Huge volume of data can be stored in its
memory for processing.

6. The number of symbols used in a number system is called ---------- [ March 2019, Score 1 ]

Ans. Radix / Base

7. (i) List down the functional units of a computer by using a diagram. [ March 2019, Score 2 ]

(ii) What are the advantages and limitations of a computer ? [ March 2019, Score 3 ]

Ans. ( i )

. in
( ii ) Advantages
ve
Speed: A computer can perform millions of operations in a second or in fraction of second.
Accuracy: A computer can perform arithmetic operations with a very high degree of accuracy.
Diligence: Since computer is a machine, it can operate for long hours untiringly.
sli
Versatility: Computer can be used to perform many beings. different kinds of processing tasks.
Huge memory: Computer has enormous memory capacity. Huge volume of data can be stored in its
memory for processing.
Limitations
Lack of IQ: A computer does not have natural intelligence as humans have.
Hs

Lack of decision making power: Computer cannot decide on its own and it does not possess intuitive
capabilities like human.
8. Processed data is called ------------------------- [ July 2018, Score 1 ]

Ans. Information

9. Fill in the blanks : [ July 2018, Score 2 ]


(a) (DA)16 = (------)2
(b) (25)10 = (------)8

Ans. ( a ) 1101 1010


( b ) 31

10. Represent -35 in the following forms: (Hint : Use 8 bit form of representation)
a) Sign and magnitude
b) One’s Complement [ July 2018, Score 3 ]
c) Two’s Complement
Ans. a) Binary representation – 00100011 (appending zeroes to the left to make as 8 bit)
Sign and magnitude representation 10100011 (by making the MSB as 1 for negative numbers)
b) Binary representation – 00100011
1’s complement – 11011100 (by interchanging the 1’s and 0’s)
c) Binary representation – 00100011
2’s complement - 11011101 (by adding 1 to 1’s complement)
11. Meaningful and processed from of data is known as ---------------- [ March 2018, Score 1 ]
Ans. Information

in
12. Despite of the high speed and accuracy, computers are said to be the slaves of human beings.
Why ? [ March 2018, Score 2 ]
Ans. Since computers have no IQ and decision making capabilities, they can only perform tasks

.
according to the instructions given by human.
13. If ( M ) 8 = 96 10 = ( N ) 2, Find M and N [ March 2018, Score 3 ]
Ans. M=140, N=1100000

a) ALU, CU and ROM


ve
14. CPU has three components. Which one of the following is the CORRECT option?
b) ALU, CU and RAM [ July 2017, Score 1 ]
c) ALU, CU and Registers d) ALU, RAM and ROM
sli
Ans. c) ALU, CU and Registers
15. Convert the number (198)10 into the other three number system [ July 2017, Score 3 ]
Ans. Binary – (11000110)2
Octal – (306)8
Hexadecimal – (C6)16
Hs

16. If binary equivalent of 56 is (111000) 2 find the 1's complement form and sign & magnitude form of
-56 in the 8 bit . [ July 2017, Score 2 ]

Ans. 8 bit representation of 56 – 00111000


Sign & Magnitude representation of -56 – 10111000
1’s Complement representation of -56 – 11000111
17. Find the missing terms ( 18 ) 16, ( 1A ) 16, ( 1C ) 16 ..........., .......... [ March 2017, Score 1 ]
Ans. ( 1E ) 16 , ( 20 ) 16
18. Convert (1010.11) 2 to decimal [ March 2017, Score 2 ]

Ans. Decimal equivalent of 1010 – 1x23 + 0+ 1x2 + 0 = 10


Decimal equivalent of .11 – 1 x 2-1 + 1x 2-2 = 0.5 + 0.25 = 0.75
The decimal equivalent of 1010.11 = 10.75
19. Processed data is known as .............. [ March 2017, Score 1 ]
Ans. Information
20. Which one of the following is considered as a brain of the computer ? [ July 2016, Score 1 ]
a) Central Processing Unit b) Control Unit c) Arithmetic and Logic Unit d) Monitor
Ans. Central Processing Unit
21. List the stages of data processing [ July 2016, Score 3 ]
Ans. Data capturing, Input, Process, Storage, Output, Distribution of Information
22. Convert the hexadecimal (A2D)16 into octal [ July 2016, Score 2 ]
Ans. Binary equivalent of ( A2D ) 16 = 101000101101
Octal equivalent (grouping 3 bits from right to left) = ( 5055 ) 8
23. If ( 11011 ) 2 = ( A ) 8 = ( B ) 16 = ( C ) 10 . Find the value of A,B ,C [ March 2016, Score 3 ]

in
4 3
Ans. Decimal equivalent – 1x2 + 1x2 + 0 + 1x2 + 1 = 27,
C = 27
Octal equivalent – 33,

.
A = 33
Hexadecimal equivalent – 1B,
B = 1B
ve
24. Meaningful and processed form of data is known as .....
Ans. Information
[ March 2016, Score 1 ]

25. Write a short note on Unicode [ July 2015, Score 2 ]


sli
Ans. Unicode uses more than 16 bits and hence it can represent more characters. Unicode can
represent data in almost all written languages of the world.
26. Fill the series (151) 8, (153) 8 , (155) 8 ......, ......... [ July 2015, Score 1 ]
Ans. (157) 8, (161) 8
27. a) Write the 2's complement form of the decimal -119 [ July 2015, Score 2 ]
Hs

b) State the benefit of using 2's complement representation as compared to 1's complement form.
[ Score 1 ]
Ans. a) Binary equivalent of 119 – 01110111
1’s complement – 10001000
2’s complement – 10001001
b) Range is more in 2's complement.
In 2's complement there is no ambiguity in 0 representation
29. Represent -83 in 1's complement form [ March 2015, Score 2 ]
Ans. Binary equivalent – 01010011
1’s Complement form – 10101100
30. Find the smallest number in the list.
a) (1101)2 b) (A)16 c) (13)8 d) (15)10 [ March 2015, Score 2 ]
Ans. Decimal equivalent of (1101)2 – 8+4+0+1=13
Decimal equivalent of (A)16 = 10
Decimal equivalent of (13)8 = 11
Comparing all the decimal numbers , 10 is the smallest
That is, (A)16

31. Name the character representation coding scheme developed by India and approved by the
Bureau of Indian Standards ( BIS ). [ March 2015, Score 1 ]

Ans. ISCII

in
*******************************************************************************************************************

.
Chapter 2 – Components of the Computer System

1. Write the full form of HDMI


ve [ March 2020, Score 1 ]
Ans. High Definition Multimedia Interface
2. Name the software that translates assembly language program into machine language
sli
program. [ March 2020, Score 1 ]
Ans. Assembler
3. Categorize devices given below into input devices and output devices.
Joystick, Scanner, Microphone, Printer, Mouse, VDU, Speaker. [ March 2020, Score 2 ]
Hs

Ans. Input Devices: Joystick, Scanner, Microphone, Mouse


Output Devices: Printer, VDU, Speaker
4. Differentiate RAM and ROM. [ March 2020, Score 3 ]

Ans.
RAM ROM
It is faster than ROM It is a slower memory
It allows reading and writing Allows reading only
volatile Non volatile

5. Explain any three common methods used for e-waste disposal [ March 2020, Score 3 ]

Ans. a) Reuse: It refers to second hand use or use after slight modification.
b) Incineration: It is a controlled and complete combustion process, in which waste materials
are burned in specially designed incinerators at high temperatures.
c) Recycling of e-waste: It is the process of manufacturing new products from e-waste.
6. What are the major functions of an operating system ? [ July 2019, Score 2 ]
Ans. Important functions of Operating systems are:
1) Process management : 2) Memory management : 3) File management :
4) Device management :
7. Compare Freeware and Shareware. [ July 2019, Score 2 ]
Ans.
Freeware Shareware
All features are free All features are not available
Can be distributed free of cost Permission is required for distribution.

8. a) What are CPU registers? [ July 2019, Score 1 ]

in
b) Explain any two types of CPU registers. [ July 2019, Score 2 ]

Ans. a) The memory locations inside the CPU are called Registers.

.
b) 1) Accumulator: It stores the result of ALU operations.
2) Instruction Register (IR): It stores the instruction to be executed.
9. Define following terms
a) Assembler
b) Interpreter
ve [ July 2019, Score 3 ]
[ Score 1 ]
[ Score 1 ]
c) Compiler [ Score 1 ]
sli
Ans. a) An assembler is a software which converts assembly language into machine language.
b) An interpreter is a software which converts high level language into machine language. It
translates and executes one statement at a time.
c) A compiler is a software which converts high level language (source code) into machine
language (object code). It scans the entire program in a single run.
Hs

10. What are the importance of secondary storage devices in computer system ?
[ July 2019, Score 3 ]
Ans. Secondary memory is also known as auxiliary memory. It is used to store large volumes of
programs and Data. Magnetic devices, Optical disks and Semiconductor devices are commonly used
secondary storage. Secondary memory has a high storage capacity than Primary memory.
Secondary memory is cheaper than Primary memory.
Secondary storage devices are:
Magnetic memories: Magnetic tape, Hard disk
Optical memories: CD, DVD, Blue Ray DVD
Flash memory devices: USB Flash memory, Flash memory card.
11. What is the importance of registers in computer system? Name any two registers.
[ March 2019, Score 2 ]
Ans. The memory locations inside the CPU are called Registers. Accumulator, Memory Address
Register, Program Counter, Instruction Register are some registers.
12. What do you mean human ware? Give any examples. [ March 2019 , Score 2 ]
Ans. Human ware refers to the people who use the computer. For example: Programmers, System
Analyst, Data entry operators etc. They are also called Skin ware or peopleware.

13. Explain any three freedom designed by FSF for software. [ March 2019 , Score 3 ]
Ans. Free and Open source software ( FOSS ) is a software that can be used freely, copy, modify
and redistribute. The four essential freedoms are:
Freedom 0:- The freedom to run the program as you wish, for any purpose .

in
Freedom 1:- The freedom to study how the program works.
Freedom 2:- The freedom to distribute copies.

Freedom 3:- The freedom to improve programs and release the improvements to the public

.
14. As a student, explain any three approaches that you can adopt to promote 'Green Computing'.

Ans. Some of the approaches are:


ve [ March 2019 , Score 3 ]

Turn off computer when not in use. Use power saver mode. Use laptops rather than desktops. Take
printouts only if necessary.
15. Write the full form of HDMI [ July 2018, Score 1 ]
sli
Ans. High Definition Multimedia Interface
16. Name any four parts on the mother board [ July 2018, Score 2 ]
Ans. CPU socket, Peripheral ports, Expansion slots and power connector.
17. Compare RAM and ROM [ July 2018, Score 2 ]
Hs

Ans.
RAM ROM
It is faster than ROM It is a slower memory
It allows reading and writing Allows reading only
volatile Non volatile

18. a) "e-Waste is one of the major problems which we are facing all over the world". [ July 2018 ]
Justify the statement. [ Score 1 ]
b) Explain e-Waste disposal methods. [ Score 2 ]
c) Define the term, green - computing. How can you implement green - computing? [ Score 2 ]
Ans. a) e - Waste refers to un-wanted or non-working electronic products. They cause serious health
and pollution problems. They contain harmful metals such as lead, cadmium, mercury etc. 50 million
tons of e-Waste are produced each year. Global mountain of e-Waste is expected to continue
growing at 8% per year.
b) e-Waste disposal methods are:
a) Reuse: It refers to second hand use or use after slight modification.
b) Incineration: It is a controlled and complete combustion process, in which waste materials
are burned in specially designed incinerators at high temperatures.
c) Recycling of e-waste: It is the process of manufacturing new products from e-waste.
d) Land filling: It is the widely used method for the disposal e-waste. Soil is excavated and e-
waste is buried in it.
c) Green computing is the use of computer and related resources in an environmentally responsible
manner. To promote green computing, the following four complementary approaches are employed:

in
Green Design, Green manufacturing, Green Use and Green Disposal.
19. Write the full form of USB [ March 2018, Score 1 ]
Ans. Universal Serial Bus

.
20. Name the four e-Waste disposal methods [ March 2018, Score 2 ]
Ans. Reuse, Incineration, Recycling and Land filling
21. What are the features of RAM ?
ve [ March 2018, Score 2 ]
Ans. RAM is Random Access Memory and is used to temporarily store data and instructions. RAM
is a semiconductor memory. RAM provides a limited storage capacity such as 2GB, 4GB etc. . RAM
is volatile in nature. ie, it will lose data when the power is switched off.
sli
22. a) Write a detailed classification of software. [ March 2018, Score 2 ]
b) Some programming languages use compiler whereas some use interpreter. What makes
them different ? [ Score 2 ]
c) What do you mean by free software ? [ Score 1 ]
Ans. a) A set of programs written for a computer is called software. They are classified into two ·
Hs

System software and Application Software.


A system software is a software designed to control the hardware. It provides an environment for the
working of application programs. It is classified into three: Operating system, Language Processor
and Utility software. Application software is a set of programs designed for a specific task. It is
designed for end user. Application software are of two types: General purpose and specific purpose
application software.
b) A compiler is a software which converts high level language (source code) into machine language
(object code). It scans the entire program in a single run. If there is any error in the program, the
compiler provides a list of errors at the end of compilation. If there are no errors, the compiler will
generate object file. An interpreter is a software which converts high level language into machine
language as line by line manner. It translates and executes one statement at a time.
c) A free software gives the user the freedom to use, copy, distribute, examine, change and improve
the software.
23. Which one of the following is used to connect a projector to a computer? [ July 2017, Score 1 ]
a) USB port b) PS/2 port c) Parallel port d) VGA port
Ans. VGA port.
24. In an office, various kinds of reports and account statements are to be prepared. Name the two
types of software needed and explain how they satisfy the requirement. [ July 2017, Score 2 ]
Ans. Word processing software. This is used for creating and modifying documents. It helps to
create , edit, format and print textual matters easily.eg: MSWord, Open Office Writer etc.
Spreadsheet software: it allows us to perform calculations. MS Excel, Open Office Calc etc.
25. Briefly describe the different types of memories used in computers. [ July 2017, Score 5 ]
Ans. Memory is used to store data and instructions. Memory can be classified into two: Primary
memory and Secondary memory.

in
Primary memory holds data and results temporarily. Secondary memory on the other hand holds data
and information permanently. Primary memory is volatile as secondary memory is non-volatile.
Primary memory: There are three types of Primary memory: Random Access Memory (RAM), Read

.
Only Memory (ROM) and Cache memory.
RAM ( Random Access Memory ): RAM is volatile and is used to temporarily store data and
ve
instructions. Primary memory is a semiconductor memory.
ROM ( Read Only Memory ): ROM is non-volatile and is used to store start-up or bootstrap programs
(Firmware).
Types of ROM: There are three types of ROM’s, PROM, EPROM and EEPROM.
sli
Cache memory: Cache memory is a high speed memory placed between main memory and CPU to
increase the speed of execution. Frequently used data and programs are placed in the cache
memory.
Secondary memory
Hs

Secondary memory is also known as auxiliary memory. It is used to store large volumes of programs
and Data. Magnetic devices, Optical disks and Semiconductor devices are commonly used
secondary storage. Secondary memory has a high storage capacity than Primary memory.
Secondary memory is cheaper than Primary memory.
Magnetic Storage Device
Magnetic storage devices use plastic tape or disks coated with magnetic materials. Data is recorded
magnetically.
Optical Storage Devices
Optical disk uses laser rays for reading and writing data. Data is written in the form of pits and lands
( 0 and 1) .
Flash Memory Devices
Flash Memory is an electronic non-volatile storage medium which can be electrically erased and re-
programmed ( EEPROM ). It is used in mobile phones, digital camera etc. BIOS in PC is usually
stored in flash memory
26. USB port stands for……….. [ March 2017, Score 1 ]
a) Uniform Serial Bus b) Universal Serial Bus c) Uninterruptable Serial Bus
d) Updatable Serial Bus
Ans. b) Universal Serial Bus
27. A ……….. is a computer peripheral that allows you to connect and communicate with other
computers via telephone lines. [ March 2017, Score 1 ]
Ans. Network Interface Card
28. Arrange the following memory or storage devices on the base of their operation speed in
ascending order. [ March 2017, Score 2 ]
a) Hard disk b) Cache c) RAM d) Registers
Ans. Hard disk – RAM – Cache - Registers

in
29. Compare Dot Matrix Printer ( DMP ), Ink jet printer, Laser printer and Thermal printer on the basis
of their working speed, quality of printing and expense for printing. [ March 2017, Score 5 ]
Ans.

.
Features Laser Printers Inkjet Printers Thermal Printers Dot Matrix Printers
Working Speed 20 pages/ minute 6 pages/minute 150 mm per second 30-550 char. / min.
Quality
Expense
Best
Highly Expensive
ve
Good
costly
Poor
Economical
Very poor
Cheap
30. Which one of the following CPU registers holds address of next instruction to be executed by the
processor ? [ July 2016, Score 1 ]
sli
a) Accumulator b) Instruction Register(IR) c) Memory Address Register d) Program
Counter (PC)
Ans. d) Program Counter ( PC )
31. List e-Waste disposal methods. [ July 2016, Score 2 ]
Ans. Reuse, Incineration, Recycling and Land filling
Hs

32. What do you mean by utility software? List any four types of utility software with their use.
[ July 2016, Score 5 ]
Ans. Utility software: A utility program allows a user to perform maintenance type tasks. It helps
in the performance of a computer. Some of the commonly available utilities are given below.
1. Compression tools: This utility reduces the size of a file. Winzip, WinRaR, 7Zip are commonly
used compression tools.
2. Disk defragmenter: The disk defragmenter rearranges files on the computer, thereby
increasing access speed.
3. Backup software: Backup means copying files. It helps to preserve data in case of hardware
failure etc.
4. Antivirus software: Antivirus software are used to detect and remove computer viruses.
Commonly used antivirus programs are Quick heal, Avast, Norton, Kaspersky etc.
33. Mr. Rajmohan wants to buy a computer. He is an engineer by profession. He wants a device
which can be used to draw directly on the monitor screen. [ March 2016, Score 3 ]
a) Suggest him an input device [ Score 1 ]
b) Suggest him any four practices of green computing. [ Score 2 ]
Ans. a) Light Pen.
b) Green Design, Green Manufacturing, Green use and Green disposal.
34. Explain any five commonly used secondary memory devices. [ March 2016, Score 5 ]
Ans. Some of the commonly used secondary memory devices are:
Hard disk: A hard disk consists of a metallic disk, coated with a magnetic material, which is placed
inside a container. It has high storage capacity and is durable. It is used as secondary storage in a
computer.

in
Compact disk (CD): A Compact Disk is an optical disk capable of storing data using laser. It is
available in two forms CD-R ( Recordable ) and CD-RW ( Rewritable ).
Blue ray DVD: Blue ray is an optic disk which can store huge volumes of data than a CD. Blue –violet

.
laser has shorter wave length and offer more precision in focusing. It’s capacity ranges from 25 GB to
50 GB.
ve
USB Flash drive: Flash drive is a small storage device, consisting of flash memory typically in the
size of a human thumb. It is portable and is available in different capacities.
Flash memory card: A flash memory is an electronic storage device for storing digital information.
They are commonly used in mobile phones, digital camera etc.
sli
35. List and explain the different methods for disposing electronic waste. [ July 2015, Score 2 ]
OR
Consider that NSS volunteers of your school have taken up a campaign to educate your friends in
other schools to reduce e-Waste. Write four captions (methods) for the campaign through which
students can reduce the volume of e-Waste produced.
Hs

Ans. Following methods are used for e-waste disposal.


a) Reuse: It refers to second hand use or use after slight modification.
b) Incineration: It is a controlled and complete combustion process, in which waste materials are
burned in specially designed incinerators at high temperatures.
c) Recycling of e-waste: It is the process of manufacturing new products from e-waste. Monitors,
Hard disks, laptops etc can be recycled.
d) Land filling: It is the widely used method for the disposal e-waste. Soil is excavated and e-waste is
buried in it.
OR
1. Stop buying unnecessary electronic devices.
2. On damage, try to repair it instead of buying a new one.
3. Try to recycle electronic devices.
4. Buy products with good warranty and take back policies.
36. Write an example of an operating system that is a free and open source software.
[ July 2015, Score 1 ]
Ans. Linux / Ubuntu
37. Almost all desktop computers have keyboard and mouse as their standard input devices. List
and explain any other five input devices used to enter data into a computer. [ July 2015, Score 5 ]
Ans. 1) Light pen : A light pen is a pointing device in the form of a pen. It is used to select objects
directly from the screen. It uses a light detector. They are used in CAD (Computer Aided Design), and
drawing purpose (Engineers and Artist).
2) Touch Screen: A touch screen is an input device that operates by touching the screen. It is
commonly used in Tablet PC, Mobile phone etc. It is also used in railway stations and ATM machines
3) Graphic tablet: A graphic tablet is an input device that enables the users to hand draw images,

in
graphics etc. It consists of a flat surface on which users can draw.
4) Touchpad : A touchpad is a pointing device used in portable computers. They are used as a
substitute for mouse. It is operated using finger.

.
5) Joystick : Joystick is a device that enables the users to quickly move on the screen. It is used for
playing Games, Simulation and Robotics. It has a lever which can be moved in any direction.
38.
ve
a) Differentiate between a compiler and an interpreter.
b) C++ uses the ……………language processor for translation.
[ March 2015 , Score 2 ]

Ans. a) A compiler is a software which converts high level language (source code) into machine
language (object code). It scans the entire program in a single run. If there is any error in the
sli
program, the compiler provides a list of errors at the end of compilation. If there are no errors, the
compiler will generate object file. An interpreter is a software which converts high level language into
machine language as line by line manner. It translates and executes one statement at a time.
b) Compiler.
39. What are the types of memories used in computers ? [ March 2015 , Score 6 ]
Hs

Ans. Memory is used to store data and instructions. Memory can be classified into two: Primary
memory and Secondary memory.
Primary memory holds data and results temporarily. Secondary memory on the other hand holds data
and information permanently. Primary memory is volatile as secondary memory is non-volatile.
Primary memory: There are three types of Primary memory: Random Access Memory (RAM), Read
Only Memory (ROM) and Cache memory.
RAM ( Random Access Memory ): RAM is volatile and is used to temporarily store data and
instructions. Primary memory is a semiconductor memory.
ROM ( Read Only Memory ) : ROM is non-volatile and is used to store start-up or bootstrap programs
(Firmware).
Types of ROM: There are three types of ROM’s, PROM, EPROM and EEPROM.
Cache memory: Cache memory is a high speed memory placed between main memory and CPU to
increase the speed of execution. Frequently used data and programs are placed in the cache
memory.
Secondary memory : Secondary memory is also known as auxiliary memory. It is used to store large
volumes of programs and Data. Magnetic devices, Optical disks and Semiconductor devices are
commonly used secondary storage. Secondary memory has a high storage capacity than Primary
memory. Secondary memory is cheaper than Primary memory.
Magnetic Storage Device : Magnetic storage devices use plastic tape or disks coated with magnetic
materials. Data is recorded magnetically.
Optical Storage Devices : Optical disk uses laser rays for reading and writing data. Data is written in
the form of pits and lands ( 0 and 1) .

in
Flash Memory Devices : Flash Memory is an electronic non-volatile storage medium which
can be electrically erased and re-programmed ( EEPROM ). It is used in mobile phones, digital
camera etc. BIOS in PC is usually stored in flash memory.

.
ve
*******************************************************************************************************************

Chapter 3 – Principles Of Programming and Problem Solving


sli
1. Write any two limitations of flowchart? [ March 2020, Score 2 ]
Ans. Flowcharts are very time consuming.
a. Any change or modification in the logic usually requires a completely new flowchart.

2. Define the following: [ March 2020, Score 3 ]


Hs

i) syntax error
ii) Logical error
iii) Runtime error
Ans. i) Syntax error : Syntax error occurs due to incorrect use of program statement. For example:
undefined variable, incorrect words etc.
ii) Logical error : Logical error is an error in planning the logic of a program.
ii)Run time error : Errors that occur during execution of a program are called run time errors. For
example, ‘Division by Zero’ is a run time error.
3. Consider the following algorithm [ March 2020 ]
Step 1: start
Step 2: N=1
Step 3: Print N
Step 4: N=N+1
Step 5: if N < = 5 then go to step 3
Step 6: stop
i) Write the output of the above algorithm [ Score 2 ]
ii) Draw the flowchart of the above algorithm [ Score 3 ]

Ans
i) 1 2 3 4 5

ii) Start

N=1

in
Print N

N=N+1

.
Yes
ve If N<=5

No
stop
4. Program written in HLL is known as ………………………… [ July 2019,Score 1 ]
sli
Ans. Source program
5. Draw the flowchart for the algorithm given below [ July 2019,Score 3 ]
Step1: start
Step 2: Input A, B
Hs

Step3 : If A > B then


Step 4: Print A
Step 5 : Else
Step 6 Print B
Step 7: End of if
Ans:

Start

Input A, B

No
If A>B
Yes

Print A
Print B

stop

6. a) List different phases in programming [ July 2019,Score 2 ]


b) Explain any three phases in programming [ Score 3 ]
Ans. a) Three stages in programming are,
1. Problem identification

in
2. Preparing algorithms and flowcharts.
3. Coding
b) i). Problem identification

.
In this phase the problem is analysed. The data involved in processing, the output to be obtained are
identified. The data involved in processing, its type and quantity, formula to be used, activities

ii). Algorithms and Flowcharts


ve
involved and the output to be obtained are identified in this stage.

Once the problem is identified, a step-by-step procedure is developed to solve the problem.
Algorithm: An algorithm is a finite sequence of instructions to solve a problem. It is a step by step
sli
procedure to solve a problem.
Flowchart: A flowchart is a pictorial representation of an algorithm. It is mainly used to understand an
algorithm
iii). Coding
The set of instructions expressed in any programming language is called a computer program. The
Hs

process of writing a program is called coding.


7 Pictorial representation of algorithm is called --------------------- [ March 2019,Score 1 ]
Ans. Flowchart
8. Write an algorithm to find the biggest of two numbers [ March 2019,Score 3 ]
Ans:
Step 1: .Start
Step 2: Input A,B
Step 3: If A>B then
Step 4: Print A
Step 5: Else
Step 6: Print B
Step 7: Stop
9. The process of converting source code into object code is called -------- [ July 2018, Score 1 ]
Ans. Translation
10. Write short notes on the following [ July 2018, Score 2 ]
a) coding
b) debugging
Ans. a) Coding: The set of instructions expressed in any programming language is called a
computer program. The process of writing a program is called coding.
b) Debugging: The process of detecting and correcting errors is called debugging. There are two
types of error, Syntax error and Logical error.
11. Draw a flowchart to find the sum and average of three given numbers [ July 2018 , Score 3 ]
Ans

in
Start

.
Input A, B ,C

Sum = A + B + C
ve
Print Sum
sli
Average = Sum / 3

Print
Average
Hs

stop

12. ……………. is a step by step to solve a problem. [ March 2018 , Score 1 ]


Ans. Algorithm
13. Problem Solving by computer proceeds through different stages. Name the stages in correct
order
[ March 2018 , Score 2 ]
Ans. The different stages in programming are,
1. Problem identification
2. Algorithms and flowcharts.
3. Program Coding
4. Translation
5. Debugging
6. Execution and testing
7. Documentation
14. Following is a flow chart to find the sum of first 50 natural numbers [ March 2018 ]

Start

in
Sum = 0, N = 1

Is N < = 50

.
No
Yes
ve
Sum = Sum + N
N=N+1
Print Sum

Stop
sli
a) Correct the flow chart if there are errors [ Score 2 ]
b) Redraw the flow chart to the sum of even numbers between 1 and 50. [ Score 1 ]

Ans. a)
Start
Hs

Sum = 0, N=1

Is N No
<=50 Print Sum

Yes

Sum = Sum + N
Stop
N=N+1

b) Change initialisation statement N = 1 to N = 2 and updation statement N = N + 1 to N = N + 2.


15. What is debugging? Which are the different types of errors that may occur in a program?
Ans. The process of detecting and correcting errors is called debugging. There are three types of
error, Syntax error, Logical error, Run time error.
i) Syntax error : Syntax error occurs due to incorrect use of program statement. For example:
undefined variable, incorrect words etc.
ii) Logical error : Logical error is an error in planning the logic of a program.
iii) Run time error : Errors that occur during execution of a program are called run time errors. For
example, ‘Division by Zero’ is a run time error.
16. Write an algorithm to print the multiples of 5 between 100 and 200 in descending order.
OR [ July 2017, Score 3 ]
Draw a flowchart to input three numbers and display the smallest.

in
Ans. Step 1: .Start
Step 2: Let i = 100
Step 3: Print i

.
Step 4: i = i + 5
Step 4: If i < = 200 then go to step 3
Step 5: Stop

Start
OR
ve
sli
Read 3 no.s a, b,
c No No
Yes Yes
Is a>b and a>c Is b>a and b> c

Yes Yes
Hs

Print a Print b Print c

Stop

17. Errors may occur in two stages of programming. [ July 2017 ]


a) Name these two stages. Explain the nature of errors in these stages. [ Score 3 ]
b) The process of correcting these errors is known as ....... [ Score 1 ]
Ans. a) Translation and execution
i) Syntax error : Syntax error occurs due to incorrect use of program statement. For example:
undefined variable, incorrect words etc.
ii) Logical error : Logical error is an error in planning the logic of a program.
iii) Run time error : Errors that occur during execution of a program are called run time errors. For
example, ‘Division by Zero’ is a run time error.
c) Debugging

18. Fill the missing block [ March 2017, Score 1 ]

Source Code Object Code

Ans. Translation
19. In a flow chart, the terminal symbol ( an ellipse ) is used to indicate the …………. and
…………….. in the program logic [ March 2017, Score 1 ]
Ans. Start and Stop.
20. List the different stages in programming. [ March 2017, Score 1 ]
Ans. The different stages in programming are,

in
1. Problem identification
2. Algorithms and flowcharts.
3. Program Coding

.
4. Translation
5. Debugging
6. Execution and testing
7. Documentation
ve
21. Which one of the following is not a part of program documentation? [ July 2016, Score 1 ]
a) Writing comments in the source code.
sli
b) Detecting and correcting errors
c) Preparation of system manual
d) Preparation of user manual.
Ans. b) Detecting and correcting errors.
Hs

22. Draw any six flow chart symbols and specify their standardized meaning.[ Sep 2016, Score 3 ]
Ans.
Start/Stop Process Input/Output

Decision Connector Flow lines

23. Write an algorithm to print first 100 natural numbers.


OR [ July 2016, Score 3 ]
Explain the different types of errors that may occur in a program.
Ans. Step 1: .Start
Step 2: Let i = 1
Step 3: Print i
Step 4: i = i + 1
Step 4: If i < = 100 then go to step 3
Step 5: Stop
OR
i) Syntax error : Syntax error occurs due to incorrect use of program statement. For example:
undefined variable, incorrect words etc.
ii) Logical error : Logical error is an error in planning the logic of a program.
iii) Run time error : Errors that occur during execution of a program are called run time errors. For
example, ‘Division by Zero’ is a run time error.
24. An algorithm is a finite sequence of instruction to solve a problem. [ March 2016 ]
a) What are the characteristics of algorithm? [ Score 3 ]

in
b) Pictorial representation of algorithm is called ----------- [ Score 1 ]
Ans. a) Characteristics of an algorithm
1. It should begin with instruction(s) to accept inputs.

.
2. Each instruction must be precise and should have only one meaning.
3. The number of instructions must be finite.

b) Flowchart
ve
4. An algorithm must produce desired output.

25. Draw a flowchart to find the sum and average of even numbers between 1 and 99.
OR [ March 2016, Score 3 ]
sli
Write a short note on the importance of internal documentation.

Ans.
Start
Hs

Let Sum=0, i=2 ,c = 0

No

Is i < = 98 Avg = sum / c Print Sum,


Avg
Yes

Sum = Sum +i
i = i + 2 , c = c+1 Stop

OR
Writing comments in source code is called internal documentation. It helps in program modification
later.
Internal documentation helps to understand the logic of program. It also helps why a particular
statement is used in the program. The documentation part will not be considered by the compiler.
Documentation is the last step in programming.
26. Observe the following statements. [ July 2015, Score 1 ]
a) Internal documentation consists of procedures for installing and using the program.
b) Flowcharts are pictorial representations of algorithms.
Choose the most appropriate answer from the options below.
i) Statement a) is correct
ii) Statement b) is correct
iii) Both statements are correct
iv) Both statements are wrong

in
Ans. ii) Statement b) is correct
27. Draw a flowchart for the following algorithm. [ July 2015, Score 4 ]
Step I : Start

.
Step 2: Input Max
Step 3: Num=5 ve
Step 4 : Repeat steps 5 and 6 while Num<=Max
Step 5: Output Num
Step 6: Num=Num + 5
Step 7 : Stop
sli
Ans. Start

Input Max
Hs

Num = 5

No
Is Num<=Max

Yes

Num = Num + 5 Output Num Stop

28. While writing a C++ program ,a student forget to put a semicolon at the end of declaration
statement. What type of error can we expect at the time of compilation? [ March 2015 , Score 1 ]
Ans. Syntax error
29. Draw a flowchart to print first 100 natural numbers
OR [ March 2015 , Score 3 ]
What are the characteristics of an algorithm?

Ans.
Start

in
Let i = 1

.
No
Is i < = 100 Stop

i=i+1
Yes
ve
Print i
sli
OR
Characteristics of an algorithm
1. It should begin with instruction(s) to accept inputs.
2. Each instruction must be precise and should have only one meaning.
3. The number of instructions must be finite.
Hs

4. An algorithm must produce desired output.


30. Briefly explain the phases in programming. [ March 2015 , Score 3 ]
Ans. 1. Problem identification: In this phase the problem is analysed. The data involved in
processing, the output to be obtained are identified.
2. Algorithms and Flowcharts: Once the problem is identified, a step-by-step procedure is
developed to solve the problem. It is called algorithm. A flowchart is a pictorial representation of an
algorithm.
3. Coding: The set of instructions expressed in any programming language is called a computer
program. The process of writing a program is called coding.
4. Translation: The process of converting a program written in high level language into machine
language is called translation.
5.Debugging: The process of detecting and correcting error is called debugging.
6. Execution and testing: The purpose of testing is to find if the results are correct. The program
will be executed and the result will be compared.
7.Documentation: This is the last step in programming. Writing comments in source code is called
internal documentation. Another form of documentation is preparing user manual
.

*******************************************************************************************************************

4 - Getting Started with C + +

in
1. Pick odd one out: ( float, break, add, char ) [ March 2020, Score 1 ]

Ans. add

.
2. Define token in C++. Name any four tokens available in C++. [ March 2020, Score 3 ]

ve
Ans. Tokens are the fundamental building blocks of the program. They are also called as lexical
units. C++ has five types of tokens – Keywords, Identifiers, Literals, Punctuators and Operators.
3. The tokens that convey a specific meaning to the language compiler are called……………
[ July 2019, Score 1 ]
sli
Ans. keywords
4. Find the invalid C++ identifiers from the list given below and give reason.
(a) count (b) 2 Number [July 2019, Score 2 ]
(c) _totalTax (d) Average height
Hs

Ans. 2 Number – First character must be an alphabet or underscore


Average height – Space is not allowed.
5. What is the escape sequence character for new line in C++ program?
[ March 2019, Score 1 ]

Ans. \n
6. Differentiate between character literal and string literal [ March 2019, Score 2 ]

Ans. Character literal is a single character enclosed in single quotes. Eg: ‘a’, ‘9’, ‘+’ etc.
String constant is a sequence of one or more characters enclosed within a pair of
double quotes is called. Eg: “Hello friends”, “123” etc.
7. Define tokens in C++. List any four types of tokens. [ July 2018, Score 3 ]

Ans. Tokens are the fundamental building blocks of the program. They are also called as lexical
units. C++ has five types of tokens – Keywords, Identifiers, Literals, Punctuators and Operators.
8. a) What is a token in C++ ? [ March 2018, Score 1 ]
b) Distinguish between keywords and identifiers. [ Score 2 ]

Ans. a) Tokens are the fundamental building blocks of the program.


b) i. Keywords: The words (tokens) that convey a specific meaning to the language compiler.
These are also known as reserved words or special words as they are reserved for special
purposes. Eg:- int, for, if, main....
ii. Identifiers: These are the user-defined words used to name different program elements such as
memory locations, statements, functions, objects, classes etc. The identifiers of memory locations
are called variables.

in
9. The following are invalid identifiers in C++. Write a reason for each. [ July 2017, Score 2 ]
a) Id#
b) void

.
c) 2ab
d) avg hgt

Ans. a) Id#
b) void
-
-
ve
# (special character ) cannot be used.
void is a keyword, which cannot be used.
c) 2ab - Digit is not allowed as the first character.
d) avg hgt - Space is allowed.
sli
10. IDE Stands for ……………….. [ March 2017, Score 1 ]
a) Integrated Development Environment
b) Information Development Environment
c) Inheritance Development Environment
Hs

d) Interactive Development Environment

Ans. a) – Integrated Development Environment.


11. Classify the following identifiers valid or invalid. If invalid, give a reason.
a) Length_1 [ March 2017, Score 4 ]
b) _Length1
c) Length 1
d) 1Length

Ans. a) Length_1 – Valid identifier


b) _Length1 – Valid identifier
c) Length 1 – Invalid identifier ( Space is not allowed )
d) 1Length – Invalid identifier ( Digit is not allowed as the first character )
12. Which one of the following is NOT a character constant in C++ ? [ July 2016, Score 1 ]
a) ‘a’
b) a
c) ‘8’
d) ‘\a’

Ans. b) a
13. Identify and classify the different tokens in the following C++ statements.

age =18 ; [ July 2016, Score 2 ]


Ans. age – identifier
= - operator
18 – Literal ( Integer literal )

in
14. In C++ which among the following is NOT a rule for a valid identifier.?
a) The first character must be a letter or underscore ( _ ). [ March 2016, Score 1 ]
b) White space and special characters are not allowed.
c) Keywords can be used as an identifier.

.
d) Upper and lower case can be treated differently.
ve
Ans. c) Keywords can be used as an identifier.
15. What are tokens in C++? List any two types of tokens. [ March 2016, Score 2 ]

Ans. Tokens are the fundamental building blocks of the program. They are also called as lexical
units. C++ has five types of tokens – Keywords, Identifiers, Literals, Punctuators and Operators.
sli
16. Classify the identifiers given below as valid and invalid. Give reasons for invalidity.
sum, if, _Num 1, Switch, stud Age [ July 2015, Score 2 ]

Ans. sum - Valid


if - Invalid ( if is a keyword, which is not allowed )
Hs

Switch - Valid
Stud Age - Invalid ( Space is not allowed )
17. Explain the rules for naming identifiers. [ March 2015, Score 2 ]

Ans. Rules for naming identifiers:


· The first character must be a letter or underscore ( _ ).
· White space and special characters are not allowed.
· Keywords cannot be used.
· Upper- and lower-case letters are treated differently.
18. ………………. are tokens that never change their values while execution takes place.
[ March 2015, Score 1 ]

Ans. Literals or constants.


*******************************************************************************************************************
5 – Data Types and Operators

1. Which is the keyword used for empty data type ? [ March 2020, Score 1 ]

Ans. void
2. Write the syntax to declare a variable in C++ with an example. [ March 2020, Score 2 ]

Ans. data_type variable1 ;


3. Classify the following operators into unary and binary. [ March 2020, Score 2 ]
[ < , ! , = , ++ ]

in
Ans. Unary operators - ! and ++
Binary operators - < and ==
4. Compare relational operator and logical operator [ March 2020, Score 2 ]

.
Ans. Relational operators: Used for comparing numeric data. These are binary operators. The
result of any relational operation will be either True or False.

Equal to ( = = ), Not equal to ( ! = )


ve
Less than ( < ) , Greater than ( > ) , Less than equal to ( < = ), Greater than equal to ( > = ),

Logical Operators : Logical operators are used to combine two or more relational expressions. C++
provides three logical operators and they are:
sli
Logical AND && - the result will be true if both the expressions are true; false otherwise.
Logical OR || - the result will be false if both the expressions are false; true otherwise.
Logical NOT ! - negates the logical value of an expression.
5. Find the value of z in the following expression, if x = 10 and y = 4. [ March 2020, Score 3 ]
i) z=x%y;
Hs

ii) z = ( x < 20 ) && ( y < 5 )


iii) z = ( x > 20 ) ; ; ( y > 5 )

Ans. i) z = 2
ii) z = 1 or True
iii) Question has an error. So, you will get mark for any answer. ( if the question was
z = ( x > 20 ) || ( y > 5 ) , answer would be 0 Or False )
6. Rewrite the expression a = a + 10 using arithmetic assignment operator
[ July 2019, Score 1 ]

Ans. a + = 10 ;
7. What are the different types of C++ statements? [ July 2019, Score 2 ]

Ans. Different types of C++ statements are:


Declaration statements, Assignment statements, Input statements and output statements.
8. Write short note on datatypes in C++. [ July 2019, Score 3 ]

Ans. Data types: These are the means to identify the nature of the data and the set of operations
that can be performed on the data. Based on nature, size and associated operations, data types
are classified as: Fundamental data types, Derived data types and User defined data types.
1. Fundamental data types: These are the built-in data types of C++. Also known as basic data
types or atomic data types. They are atomic in nature and cannot be further decomposed of. The
five fundamental data types in C++ are char, int, float, double and void.
2. Derived data types: Derived data types are constructed from fundamental data types. Derived
data types are: Array, pointers, functions etc.
3. User Defined data types: User defined data types are data types which are defined by the user
himself. User can define the following data types: Structure, Union, enumeration, class etc.

in
9. What are statements? Explain any two types of statements in C++. [ March 2019, Score 3 ]

Ans. Statements are the smallest executable unit of a programming language.


1. Declaration statements: Any variable must be declared before it is used. When we declare a

.
variable, we tell the compiler about the type of data that will be stored in it.
Variable declaration syntax:
ve
data_type <variable1>, <variable2>, <variable3>, . . . ;
2. Assignment statements: If in a statement, an assignment operator is used, it is called
assignment statement.
10. Explain three different types of logical operators. [ March 2019, Score 3 ]
sli
Ans. C++ provides three logical operators and they are:
Logical AND && - the result will be true if both the expressions are true; false
otherwise.
Logical OR || - the result will be false if both the expressions are false; true
Hs

otherwise.
Logical NOT ! - negates the logical value of an expression.
11. a) What is operator? Classify the operators based on number of operands.
[ March 2019, Score 2 ]
b) Find the output of the following operations if x = -11 and y =3 [ March 2019, Score 3 ]
i) – x + - y
ii) x % - y
iii) x % -11
iv) ( x > y) & (x < y )
v) ! ( x < y )
vi) x * y

Ans. a) Operators are the tokens or symbols that trigger computer to carry out operations. Based
on number of operands, operators are classified as : unary, binary and ternary.
b) i) - 8
ii) - -2
iii) - 0
iv) - 0 or False
v) - 0 or False
vi) - -33
12. Briefly explain two any expressions in C++. [ July 2018, Score 2 ]

Ans. Expressions are composed of operators and operands. Classified into arithmetic
expressions, relational expressions and logical expressions.
Arithmetic expression: An expression in which only arithmetic operators are used. Further
classified into integer expressions and floating point (real) expressions.

in
Integer expression: An arithmetic expression that contains only integer operands and produces an
integer result after performing all the operations given in the expression.
13. Consider x = 5 and y = 2 and write the output of the following expressions.

.
a) x == y && y > x b) x > = 2 || y ==2 c) ( x * x ) – y [ July 2018, Score 3 ]

Ans. a) 0 or False b) 1 or True


ve
14. Explain any three types of statements in C++.
c) 23
[ July 2018, Score 3 ]

Ans. 1. Declaration statements: Any variable must be declared before it is used. When we declare
a variable, we tell the compiler about the type of data that will be stored in it.
sli
Variable declaration syntax: data_type <variable1>, <variable2>, <variable3>, . . . ;
2. Assignment statements: If in a statement, an assignment operator is used, it is called
assignment statement.
3. Input statements: Input statement is a means that allows the user to store data in the memory
Hs

during the execution of the program. The get from or extraction operator ( >> ) specifies the input
operation. Eg: cin>>num;
15. Wite the output of the following C++ expressions. [ March 2018, Score 2 ]
Let a = 7, b = 2
a) a + b * 3 / ++b ;
b) a < = 7 && b > 1 ;

Ans. a) 9
b) 1 Or True
16. Data types are necessary to declare variables in C++. [ March 2018 ]
a) What is a data type? [ Score 1 ]
b) Write the classification of fundamental data types in C++. [ Score 2 ]

Ans. a) Data types: These are the means to identify the nature of the data and the set of
operations that can be performed on the data.
b) Fundamental data types: These are the built-in data types of C++. They are atomic in nature
and cannot be further decomposed of. The five fundamental data types in C++ are char, int, float,
double and void.
17. Write a short note on arithmetic and logical operators in C++. [ March 2018, Score 3 ]

Ans. Arithmetic operators are used to perform basic arithmetic operations such as :
Addition ( + ), Subtraction ( - ), Multiplication ( * ) , Division ( / ), Modulus ( % )
Modulus operator (%) is also called as mod operator. It gives the remainder value during arithmetic
division.
C++ provides three logical operators and they are:
Logical AND && - the result will be true if both the expressions are true; false
otherwise.

in
Logical OR || - the result will be false if both the expressions are false; true
otherwise.
Logical NOT ! - negates the logical value of an expression.

.
18. Explain the operations involved in the following C++ expressions and write the output.
a) 5 / 2 + 3
b) ( 10 % 3 ) / 2.0
ve OR
[ July 2017, Score 2 ]

Write sample statements in C++ for the cascading of input and output operators.

Ans. a) Division and addition. Output is 5.


sli
b) Modulus and division. Output is 0.5
OR
If we want to input 3 values to different variables a,b and c, we can write it as cin>>a>>b>>c ;
Similarly, to display the contents of 3 different variables, we can write as cout<<a<<b<<c ;
Hs

19. Find the best match from columns B and C for each item in column A. [ July 2017, Score 3 ]
A B C

a) “g” i) Assignment operator 1 Modifier


b) == ii) int 2 Same as 9
c) short iii) Relational operator 3 constant
iv) String 4 Two operands are needed

Ans. a) – iv) – 3 ( “g” – String – constant )


b) – i) – 4 ( == - Assignment operator – Two operands are needed )
c) – ii) – 1 ( short – int – Modifier )
20. List the three numeric data types in C++ with an example for each. [ July 2017, Score 3 ]

Ans. The three numeric data types are:


i) int: integers are whole numbers without fractional parts. Eg: 8, -26
ii) float: Float numbers are numbers with fractional parts. Eg: 45.8, 0.632, -45.32
iii) double: double datatypes represent float values with higher precision and size. Eg: same
as that of float.
21. Let x and y are two variables of int data type, then correct the following input statement.
cin<<x>>y ; [ March 2017, Score 1 ]

Ans. cin>>x>>y ;
22. Predict the output of the following operations [ March 2017, Score 2 ]
x = -5 and y = 3 initially
a) -x b) x / y c) x % y d) -x + -y

in
Ans. a) 5 b) -1 c) -2 d) 2
23. Consider the following statement. [ March 2017, Score 2 ]
int Length ;
Then what is the difference between ( a ) and ( b ) ?

.
a) Length = 50
b) Length == 50
ve
Ans. Length = 50 means: Assign value 50 to the variable Length.
Length == 50 means: Compare whether the value within the variable Length is 50 or not.
24. A part of bio data of a student is given. Identify the data types which we can use to store and
sli
process these data. [ March 2017, Score 3 ]
Roll_Number : 34
Age : 17
Sex : M
Hs

Mob_Number : 8181818181
Height_In_Cm : 152.8
Pincode : 690601

Ans. Roll_Number : int Age: int Sex: char


Mob_Number: long int Height_In_Cm: Float Pincode: long int
25. Given that x = 5 and y = 5. What will be the value of the expression x > y || y > x ?
[ July 2016, Score 1 ]

Ans. 0 or False
26. What is the difference between x = 5 and x == 5 in C ++ ? [ july 2016, Score 2 ]
OR
Write value returned by following C++ expressions.
a) 60 % 25
b) 22 / 7
Ans. x = 5 means: Assign value 5 to the variable x.
x == 5 means: Compare whether the value within the variable x is 5 or not.
OR
a) 10
b) 3
27. Explain logical operators in C++ ? [ July 2016, Score 3 ]

Ans. Logical Operators : Logical operators are used to combine two or more relational
expressions. C++ provides three logical operators and they are:
logical AND && - the result will be true if both the expressions are true; false
otherwise.
Logical OR || - the result will be false if both the expressions are false; true

in
otherwise.
Logical NOT ! - negates the logical value of an expression.
28. Memory requirement of void data type in C++ is .......... byte(s). [ March 2016, Score 1 ]

.
Ans. 0 ( Zero )
ve
29. Explain the different types of logical operators in C++. [ March 2016, Score3 ]

Ans. Logical Operators : Logical operators are used to combine two or more relational
expressions. C++ provides three logical operators and they are:
logical AND && - the result will be true if both the expressions are true; false
sli
otherwise.
Logical OR || - the result will be false if both the expressions are false; true
otherwise.
Logical NOT ! - negates the logical value of an expression.
Hs

30. Distinguish between float and double data type in C++. [ March 2016, Score 2 ]
OR
What is a variable? Differentiate between memory address and content of the variable.

Ans. float: float numbers are numbers with fractional parts. Float needs 4 bytes of memory.
double: double datatypes represent float values with higher precision and size. Its size is 8
bytes.
OR

Variable is the name given to memory location, by which data in these location is referenced. The
value stored in the location is called content of the variable. It is otherwise called as R-value. The
location number at which the variable is stored is called its address. Address is also called as L-
value.
31. If a = 5, b = 7 and c = 3, predict the output of the following expressions.[ July 2015, Score 2 ]
a) a < b
b) b % a
c) ( a > c ) && ( a < b )
d) a / c

Ans. a) 1 Or True
b) 2
c) 1 Or True
d) 1
32. a) What do you mean by a data type? Compare the fundamental data types char and int
available in C++. [ July 2015, Score 3 ]

in
b) Write the declaration in C++ for a variable that can be used to store height of a student.
Justify, why you have selected this data type in the declaration. [ July 2015, Score 1 ]

Ans. a) Data types: These are the means to identify the nature of the data and the set of

.
operations that can be performed on the data. Based on nature, size and associated operations,

types.
ve
data types are classified as: Fundamental data types, Derived data types and User defined data

int data type: Integers are whole numbers without a fractional part. They can be positive, negative
or zero. C++ allows 4 bytes of memory for integers.
char data type: Characters are the symbols covered by the character set of C++. The characters
sli
are internally treated as integers. Only 1 byte of memory is required for char data type.
b) float height ; Here, the variable is declared in float type so that the height with fractional values
can be stored in it.
33. The memory size of float data type in C++ is .......... bytes. [ July 2015, Score 1 ]
Hs

a) 2
b) 4
c) 8
d) 10

Ans. 4
34. Identify the name of the following operators in C++ &&, ||, ! [ March 2015, Score 1 ]

Ans. && - Logical AND


|| - Logical OR
! - Logical NOT
35. What is the difference between “ = “ and “==” operators? [ March 2015, Score 2 ]
OR
What is the output of the following C++ statements ?
x =-7, y=3
a) Add -x with -y
b) x modulus y

Ans. = is a an assignment operator which assign a value in the right side to the left.
== is a relational operator which compares whether the two values or expressions are equal or
not.
OR
a) –7 + 3 = 4
b) -1
36. In the following program, some lines are missing. Fill the missing lines and complete it.
#include<iostream> [ March 2015, Score 3 ]

in
……………………………..
{
int num1,num2,sum ;

.
cout<<”Enter two numbers:” ;
…………………………..
…………………………
cout<<”Sum of numbers are=”<<sum ;
ve
}

Ans. #include<iostream>
sli
using namespace std;
int main( )
{
int num1,num2,sum;
Hs

cout<<num1>>num2;
sum=num1+num2;
cout<<<<”Sum of numbers are=”<<sum ;
}
37. What are data types? Explain the fundamental data types in C ++. [ March 2015, Score 3 ]

Ans. Data types: These are the means to identify the nature of the data and the set of operations
that can be performed on the data.
Fundamental data types: These are the built-in data types of C++. They are atomic in nature and
cannot be further decomposed of. The five fundamental data types in C++ are char, int, float,
double and void.

***************************************************************************************************************
6 – Introduction to Programming

1. Explain two ways to write comments in C ++. [ March 2020, Score 2 ]

Ans. There are two types of comments in C++.

i. Single line comment: This type of comment deactivates only that line where comment is applied.
Single line comments are applied with the help of “ //” .
ii. Multi-line Comment: This Type of comment deactivates group of lines when applied. This type
of comments are applied with the help of the operators “/*” and “*/ ”. These comment mark with /*
and end up with */.

in
2. Consider the following C++ code: [ March 2020, Score 3 ]

int x = 5 , y = 2 ;
float z;

.
z=x/y;
cout << z ;
ve
Write the output of the above code. Justify your answer.
Ans. Output is 2. Since x and y are int, the result will also be an integer ( int / int is int ).

3. What is meant by type modifier ? Explain any two type modifiers in C++.
[ March 2020, Score 3]
sli
Ans. Type modifiers are the keywords used to alter the size, range or precision of data supported
by the basic data types. It alters the range of values by altering the memory size. Important
modifiers are signed, unsigned, long and short.

4. Explain the importance of main ( ) function in C++ programs. [ July 2019, Score 2 ]
Hs

Ans. Every C++ program consists of a function named main ( ). It’s an essential function in every
C++ program. The compilation and execution starts at main ( ) and ends within main( ).

5. Explain type modifiers in C++. [ July 2019, Score 3 ]


Ans. Type modifiers are the keywords used to alter the size, range or precision of data supported
by the basic data types. It alters the range of values by altering the memory size. Important
modifiers are signed, unsigned, long and short.

6. (a) Differentiate Type Promotion and Type Casting. [ July 2019, Score 3 ]

(b) Write a C++ program to find sum of two given numbers. [ July 2019, Score 2 ]
Ans. a) Type promotion is the implicit type conversion which is performed by C++ compiler
internally. C++ converts the lower sized operands to the data type of highest sized operand. The
conversion is always from lower type to higher and hence the name type promotion.
Type casting is the explicit type conversion and is done by the programmer by specifying the data
type within parentheses to the left of the operand.

b) #include<iostream>

using namespace std;

int main ( )

int num1,num2,sum ;

cout<<”Enter two numbers:” ;

in
cin>>num1>>num2 ;

sum = num1+num2;

cout<<”Sum = “<<sum;

.
return 0;

}
ve
7. The starting symbol of a pre - processor directive statement is ..... [ March 2019, Score 1 ]
Ans. #
sli
8. What is the use of comments in a program? List out two ways to include comments in C++
program. [ March 2019, Score 2 ]
Ans. There are two types of comments in C++.

i. Single line comment: This type of comment deactivates only that line where comment is applied.
Hs

Single line comments are applied with the help of “ //” .


ii. Multi-line Comment: This Type of comment deactivates group of lines when applied. This type
of comments are applied with the help of the operators “/*” and “*/ ”. These comment mark with /*
and end up with */.
9. List out type modifiers in C++. [ March 2019, Score 2 ]
Ans. Type modifiers are the keywords used to alter the size, range or precision of data supported
by the basic data types. It alters the range of values by altering the memory size. Important
modifiers are signed, unsigned, long and short.

10. a) What is constant? [ March 2019, Score 2 ]

b) Write the keyword for constant declaration in C++.


c) Give an example.
Ans. a) Constants are the values whose value can never be changed during execution.
b) const

c) Eg: const float pi=3.14; the value of pi remains constant (unaltered) throughout the execution of
the program.

11. C++ program execution starts and ends within ......... function. [ July 2018, Score 1 ]
Ans. main ( )

12. Explain implicit and explicit type conversion with suitable examples. [July 2018, Score 3 ]
Ans. Type promotion is the implicit type conversion which is performed by C++ compiler internally.
C++ converts the lower sized operands to the data type of highest sized operand. The conversion
is always from lower type to higher and hence the name type promotion.

in
Eg:- 5 / 2.0 results 2.5

Type casting is the explicit type conversion and is done by the programmer by specifying the data
type within parentheses to the left of the operand.

.
Eg:- sum = ( float ) 5 + 7 ; results 12.0

#include<iostream>
using namespace std;
ve
13. a) Consider the structure of C++ program given below and answer the following question.
[July 2018 ]

int main( )
{
sli
statements;
:
:
}
Hs

Which is the pre-processor directive statement in the code? [ Score 1 ]

b) Explain the use of header files in a program. [ Score 2 ]

c) Write a C++ Program to print the following message: (Hint : Use only one cout statement ).
“SMOKING IS INJURIUS TO HEALTH ” [ Score 2 ]

“ SAY GOODBYE TO DRUGS “

Ans. a) #include<iostream>

b) Header files are the files available along with compiler and they are kept in the standard library.
The header files contain the information about functions, objects and predefined derived data
types.

c) #include<iostream>
using namespace std;

int main ( )

cout<<“SMOKING IS INJURIUS TO HEALTH \n SAY GOODBYE TO DRUGS ” ;

return 0;

14. What is the name of files created to support C++ programs and kept in the standard library.
[ March 2018, Score 1 ]

in
Ans. Header files.

15. Detect and correct the errors in the following C++ code. [ March 2018, Score 2 ]
#include<iostream>

.
using name space std;
int main ( ) ;
{
int a, b ;
cout<<”Enter two numbers: ” ;
ve
cin>>a and b;
sli
a + b = c;
cout<<"Sum = “<<c ;
return 0 ;
}
Ans. using name space std; - using namespace std;
Hs

main ( ) ; - main ( )

cin>>a and b; - cin>>a>>b;

a+b=c; - c = a + b;

16. a) Write the equivalent arithmetic operations for the given C++ short hands. [ March 2018 ]
i) x % = 20 ;
ii) ii) a + = 2 ;
iii) iii) p / = 5 ; [ Score 1 ½ ]
b) What is the difference between a = 20 and a = = 20? [ Score 1 ½ ]

Ans. a) i) x = x % 20 ;

ii) a =a + 2 ;
iii) p = p / 5 ;

b) a = 20 means assign 20 to the variable a whereas a = = 20 means check whether the

value within a is 20 or not.

17. a) What is a type conversion? [ March 2018,Score 2 ]

Which are the two ways of type conversion?

b) Define type casting. [ Score 2 ]

c) Consider the C++ code [ Score 1 ]

int p = 7, q = 2 ;

in
float a, b;

a= p/q;

b=(a+q) /q;

.
Find the values of a and b. ve
Ans. a) Type conversion is conversion of the data type of an operand into another type. It is done
in two ways: implicitly and explicitly.

b) Type casting is the explicit type conversion and is done by the programmer by specifying
sli
the data type within parentheses to the left of the operand.

Eg:- sum = ( float ) 5 + 7 ; results 12.0

c) a = 3.0 and b = 2.5


Hs

18. Write four different C++ statements to add 1 to the value stored in the variable Num.

[ July 2017, Score 2 ]

Ans. a++, ++a, a = a + 1, a+=1

19. Identify six errors in the following C++ program and give a reason for each.

#include<iostream> [ July 2017, Score 3 ]

namespace using std;

int main()

int a; b;

cin<<a<<b ;
a+b = s ;

cout>>s;

Ans. Line 2 – using is not used in the beginning.

Line 4 – instead of “,” “;” is used before b

Line 5 – wrong symbol for input operation

Line 6 – s is not declared

Line 6 – wrong use of assignment

in
Line 7 – wrong symbol for output operation

20. If A = 5, B = 4 , C = 3 , d = 4 , then what is the result in X after the following operation ?


X=a+b–c*d [ March 2017, Score 3 ]

.
ve OR
Is there any difference between (a) and (b) by considering the following statement?
char Gender ;
(a) Gender = ‘M’ ;
(b) Gender = “M” ;
sli
Ans. X = 5 + 4 – 3 * 4 = 5 + 4 -12 = 9 – 12 = -3

OR

a) Gender = ‘M’ indicates that the character constant value ‘M’ is assigned to the variable
Hs

Gender. Size of Gender will be 1 Byte.


b) Gender = “M” indicates that string constant value ‘M’ is assigned to the variable Gender. Size
of Gender will be 2 Bytes.
21. Which one of the following is NOT a valid C ++ statement? [ July 2016, Score 1 ]
a) x = x + 10 ;
b) x + = 10 ;
c) x + 10 = x ;
d) x = 10 + x ;
Ans. c) x + 10 = x

22. Write output of the following C++ program. [ July 2016, Score 2 ]
#include<iostream>
using namespace std;
int main( )
{
int a =10 ;
cout<<”\n a = “ <<a++ ;
cout<<”\n a = “<<++a;
}
Ans. a = 10

a = 12

23. Comments in a program are ignored by the compiler. Then why should we include
comments? Write the methods of writing comments in a C++ program ?
[ July 2016, Sep 3 ]

in
Ans. Comments provide internal documentation of a program. They are lines in code that are
added to describe the program. There are two types of comments in C++.

i. Single line comment: This type of comment deactivates only that line where comment is applied.

.
Single line comments are applied with the help of “ //” .
ve
ii. Multi-line Comment: This Type of comment deactivates group of lines when applied. This type
of comments are applied with the help of the operators “/*” and “*/ ”. These comment mark with /*
and end up with */.
24. The arithmetic assignment operation Y / = 10 is equivalent to……… [ March 2016, Score 1 ]
a) Y=10
sli
b) Y=Y+10
c) Y=Y/10
d) none of these
Ans. Y = Y / 10
Hs

25. What is implicit type conversion? Why it is called type promotion? [ March 2016, Score 3 ]
Ans. Type promotion is the implicit type conversion which is performed by C++ compiler internally.
C++ converts the lower sized operands to the data type of highest sized operand. The conversion
is always from lower type to higher and hence the name type promotion.

26. The following program finds the sum of three numbers. Modify the program to find the
average. (Average should display fractional part also). [ March 2016, Score 2 ]
#include<iostream>
using namespace std;
int main ( )
{
int x ,y , z, result;
cout<<"Enter values f or x ,y, z" ;
cin>>x>>y>>z;
result=x+y+z;
cout<<"The answer is ="<<result;
return 0 ;
}
Ans. declare a variable avg and write as: avg = result /3.0 and display avg.

27. Explain the difference between float g = 9 . 8 ; and const float g=9.8 ;[ July 2015, Score 2 ]
Ans. float g = 9.8 specifies that g is a normal variable and it is initialized with the value 9.8

Const float g = 9.8 specifies that g is a constant type variable and it is initialized with a value
9.8, which cannot be change during run time.

in
28. Predict the value of 'b' in the following C++ code after execution of each code snippet a) and
b). Justify your answer. [ July 2015, Score 3 ]
a) a = 5 ; b = a++;

.
b) a = 5 ; b = ++a ;

ve OR
What is the role of comments in a program? Explain the different ways to write comments in a
C++ program.

Ans. a) a) b = 5
sli
a. b = 6
b) In the first statement, post increment is used. Here, first the value is used, then
incremented. Whereas in the second statement, pre increment is used. Here, first the value is
incremented, then used.
Hs

29. Write a C++ program to find the total and percentage of a student in six subjects.
[ March 2015, Score 3 ]
Ans. #include<iostream>

using namespace std;

int main ( )

int num1, num2, num3, num4, num5, num6, sum ;

float per ;

cout<<”Enter marks in six subjects:” ;

cin>>num1>>num2>>num3>>num4>>num5>>num6 ;
sum = num1+num2+num3+num4+num5+num6;

per = sum /100 ;

cout<<”Sum = “<<sum;

return 0;

30. How do the type modifiers affect the size and range of int and char data types?
[ March 2015, Score 2 ]
Ans. Type modifiers are the keywords used to alter the size, range or precision of data supported
by the basic data types. Important modifiers are signed, unsigned, long and short. It alters the

in
range of values by altering the memory size.

char data type has modifier as signed and unsigned

int data type has modifier as signed, unsigned, short and long.

.
ve
******************************************************************************************************************.

Chapter 7 - Control Statements in C++


sli
1. Differentiate between switch and if ..... else statement [ March 2020, Score 3]
Ans.

switch statement if else statement


Hs

Evaluates conditions with equality operator only. Evaluate any relational or logical expression.

Case constant must be an integer or a character Condition may include range of values and
type value. floating point constants.

When no match is found, default statement is When no expression evaluates to True, else
executed. block is executed.

break statement is required for exit from the Program control automatically goes out after the
switch statement. completion of a block.

More efficient when the same variable or More flexible and versatile compared to switch.
expression is compared against a set of values
for equality.
2. Consider the following C++ code. [ March 2020, Score 5 ]
int x, sum;
sum = 0;
x=1;
while ( x < = 5 )
{ sum = sum + x ;
x++ ;
}
cout << sum;
a) Which is the loop control variable in above code
b) Write the four elements initialization, test expression, update statement and body of loop in the

in
above code
c) Write the output of above code

.
Ans. a) x
b) x=1; - initialization
x<=5 – test expression
x++; - update statements
sum=sum+x;
ve
- body of the loop
c) 15 (1+2+3+4+5)
sli
3. Consider the following C++ code [ March 2020, Score 2 ]
for ( i=1 i< = 10 ; ++i )
cout << i;
Rewrite the above code using while loop
Ans. i=1;
Hs

while(i<=10)
{
cout<<i;
++i;
}
4. Briefly explain conditional operators in C++. [ July 2019, Score 2 ]
Ans. Conditional operator is an alternative to if else statement.
Its general form is :
Test expression ? True_case code : False_case code ;
Conditional operator is a ternary operator.
5. Compare switch statement and else if ladder. [ July 2019, Score 3 ]
switch statement if else statement

Evaluates conditions with equality operator only. Evaluate any relational or logical expression.

Case constant must be an integer or a character Condition may include range of values and
type value. floating point constants.

When no match is found, default statement is When no expression evaluates to True, else
executed. block is executed.

6. Consider the following C++ code [ July 2019, Score 3 ]


int n=1;
while ( n<=10 )

in
{
cout<< n << “ “;
++n;

.
}
a) Write the output of the code ve
b) Rewrite the above code using for loop

Ans. (a)1 2 3 4 5 6 7 8 9 10
(b)
sli
for (n=1;n<=10;++n)
{
cout<< n << “ “;
}
Hs

7. Rewrite the following code using switch case statement [ March 2019, Score 2 ]

if( lan == 'M' )


cout << “ Malayalam “;
else if ( lan == 'E' )
cout<< “ English “;
else
cout << “ i prefer neither malayalam nor English “;
Ans. switch(lan)
{
case ‘M’: cout<<”Malayalam”; break;
case ‘E’: cout<<”English”; break;
default: cout<<”I prefer neither malayalam nor English”;
}
8. Differentiate between entry-controlled loop and exit controlled loop. [ March 2019, Score 3 ]

Ans.

Entry controlled loop Exit controlled loop

Initialisation before loop definition Initialisation before loop definition

No guarantee to execute the loop body at least Will execute the loop body at least once even
once though the condition is False

in
9. Consider the following code
int i =1 ;
for( ; ; )
{

.
cout << i << “\n”;
}
a) Find the output
ve
b) Rewrite the code by using while loop with i < = 10 and i =i+2 in appropriate place for successful
code execution.
[ March 2019, Score 3 ]
sli
Ans.
a) Prints 1 infinitely
b) int i =1 ;
for( ;i<=10 ;i=i+2 )
Hs

{
cout << i << “\n”;
}
10. a) List the four components of a loop statements.
b) Write a C++ program to find the sum of numbers up to 100 by using any loop statement
[ March 2019, Score 5 ]
Ans. a) Initialisation, test expression, Update statement and body of the loop.
b)
int main()
{
int n=1,s=0;
while (n<=100)
{
s=s+n;
n++;
}
cout<<"Sum is"<<s;
}
11. Write a C++ program to find the simple interest of an amount (P) deposited with a rate of interest(
R) for a period of years ( N). Rate of interest = 7 % if deposit amount P is less than 1 lakh . Rate of
interest = 8 % if deposit amount P is between 1 lakh and 5 lakh . Rate of interest = 9 % if deposit
amount P is above 5 lakh . ( hint : simple interest = P X N X R/100 ) [ March 2018, Score 3 ]
Ans.
int main()

in
{
long int p,n,r;
float i;

.
cout<<"Enter the principal amount, no. of years";
cin>>p>>n;

if (p>=500000)
r=9;
ve
else if (p>=100000)
sli
r=8;
else
r=7;

i=p*n*r/100;
Hs

cout<<"Interest is"<<i;
}
12. (a) Give the output of the following code
for( i=10; i < 30; i +=3 )
{
cout<< i << “\t “;
}
b) Rewrite the code using while loop [ March 2018, Score 3 ]
Ans. (a) 10 13 16 19 22 25 28
(b) i=10;
while(i<30)
{
cout<<i<<”\t”;
i+=3;
}
13. Rewrite the following C++ statement using if else statement [ July 2018, Score 2 ]
cout<< result = mark > 30 ? “ passed “ : “ failed “;
Ans. if(mark>30)
cout<<”passed”;
else
cout<<”failed”;
14. List four important elements of a loop. [ July 2018, Score 2 ]
Ans. initialisation
test expression

in
loop body
update statement
15. Write a C++ program to input a digit and print it in word [ July 2018, Score 3 ]

e.
#include<iostream>
using namespace std;
int main ( )
{
v
int dig ;
cout<<”Enter a digit:”;
sli
cin>>dig;
switch(dig)
{
case 0: cout<<”Zero”; break;
case 1: cout<<”One”; break ;
Hs

case 2: cout<<”Two”; break;


case 3: cout<<”Three”; break ;
case 4: cout<<”Four”; break;
case 5: cout<<”Five”; break ;
case 6: cout<<”Six”; break;
case 7: cout<<”Seven”; break ;
case 8: cout<<”Eight”; break;
case 9: cout<<”Nine”; break ;
default: cout<<”Invalid digit ”;
}
16. Compare while loop and do while loop in C++ [ July 2018, Score 3 ]

Ans.
while loop do while loop

Entry controlled loop Exit controlled loop

Initialisation before loop Initialisation before loop


definition definition

No guarantee to execute Will execute the loop body


the loop body at least once at least once even though the
condition is False

17. There are three looping statements in c++.


a) Which is the exit – controlled loop ?

in
b) How does it differ from an entry controlled loop? [ July 2017, Score 3 ]
Ans. a) do while
b) In exit – controlled loop, the test expression is evaluated only after executing body of the

.
loop.

ve
18. Write a C++ program to input the amount of sales and calculate the discount amount based on
the criteria given.
amount of sale discount rate
25,000 and above 10%
10,000 and above but below 25000 7%
sli
below 10,000 no discount [ July 2017, Score 5 ]
OR
Rewrite the following switch statement using if else if statement [ July 2017, Score 5 ]
switch (n)
Hs

{
case 5: cout<< “ Excellent “ ; break;
case 4 :
case 3: cout << “ Good “ ; break ;
case 2 : cout << “ Average “; break;
case 1 : cout << “ Poor “; break;
default : cout<<” invalid “;
}
Ans.

int main()
{
long int salesamt;
float discount;
cout<<"Enter the amount of sales";
cin>>salesamt;
if (salesamt>=25000)
discount=salesamt*10/100;
else if (salesamt>=10000)
discount=salesamt*7/100;
else
discount=0;
cout<<"Discount is"<<discount;
}

in
OR

if(n==5)

.
cout<<”Excellent”;
else if (n==5) || (n==4)
cout<<”Good”;
else if (n==3)
cout<<”Average”;
ve
else if(n==4)
sli
cout<<”Poor”;
else
cout<<”invalid”;

19. for, while, do while are the three looping statements in C++. From these three loops, which loop
Hs

will execute the loop body at least once even though the condition is false?.
a) for loop b) while loop c) do while loop d) do for loop [ March 2017, Score 1 ]
Ans. do while loop (exit controlled loop)
20. State whether the following statements are true or false. If false, give reason
[ March 2017, Score 4 ]
a) break statement is essential in switch
b) for loop is an entry controlled loop
c) do .. while loop is an entry controlled loop
d) switch is a selection statement
Ans. a) false
b) true
c) false
d) true
21. Rewrite the following code using if else ladder [ March 2017, Score 5 ]
int main ()
{
int colour;
cout << “ Enter a number between 1 and 4 : “ ;
cin >> colour ;
switch ( colour )
{
case 1:
cout << “ Red “ ;break;
case 2:

in
cout << “Green “ ;break;
case 3:
cout << “Blue “ ;break;

.
default :cout << “ wrong input “ ;
break;
}
ve OR
Write a C++ program to find the biggest number from 3 given numbers. [ March 2017, Score 5 ]
Ans.
sli
int main ()
{
int colour;
cout << “ Enter a number between 1 and 4 : “ ;
cin >> colour ;
Hs

if (colour==1)
cout<<”Red”;
else if(colour==2)
cout<<”Green”;
else if(colour==3)
cout<<”Blue”;
else
cout<<”wrong input”;
}

OR
int main()
{
int a,b,c;
cout<<”Enter the three numbers”;
cin>>a>>b>>c;
if(a>b) && (a>c)
cout<<a<<”is biggest”;
else if(b>c)
cout<<b<<”is biggest”;
else
cout<<”c”<<is biggest”;
}
22. Write out put of the following C++ program [ July 2016, Score 1 ]

in
int main()
{
int a, b , c ;

.
a = b = 1;
c =2;
if ( a + b > c )
cout << “ \n RED “;
else if ( a + b < c )
ve
cout << “ \n Green “;
sli
else
cout << “ \n Blue “;
}
Ans. Blue (a+b=1+1=2, if(a+b>c) will become false, else if(a+b<c) become false)
23. Rewrite the following C++ statement using if… else [ July 2016, Score 2 ]
Hs

cout<<( n%2==0?”EVEN”:”odd” );
Ans. if (n%2==0) cout<<”EVEN”;
else cout<<”ODD”;
24. Explain the elements of a loop statement with suitable example [ July 2016, Score 5 ]
OR
Write C++ program to print first 10 even natural numbers [ July 2016, Score 5 ]
Ans.
1. Initialisation: Before entering a loop, its control variable must be initialised. The initialisation
statement is executed only once, at the beginning of the loop.
2. Test expression: I It decides whether the loop-body will be executed or not. If the test expression
evaluates to True, the loop-body gets executed, otherwise it will not be executed.
3. Update statement: The update statement modifies the loop control variable by changing its value.
4. Body of the loop: The statements that need to be executed repeatedly constitute
the body of the loop.
As an example, a program code is given below :
i=10;
while(i<10)
{
cout<<i;
i=i+1;
}
Here the initialisation statement is i=1;
test expression is i<10
body of the loop is cout<<i;

in
update statement is i=i+1;
OR
int main()

.
{
int i,n=2;
for(i=1;i<=10;i++)
{
cout<<n;
ve
n=n+2;
sli
}
25. The following code segment prints first 10 natural numbers
int n = 1;
while ( n < = 10 )
{
Hs

cout<< n <<” “;
++n;
}
a) Modify the program to print first 100 natural numbers. [ March 2016, Score 1 ]
b) Rewrite the above code using for loop [ March 2016, Score 2 ]

Ans.
(a) int n = 1;
while ( n < = 100 )
{
cout<< n <<” “;
++n;
}
(b) for(n=1;n<=10;++n)
{
cout<<n<<” “;
}
26. Write a C++ program to check whether a given year is a leap year or not
[ March 2016, Score 5 ]
Write a program to find sum of squares of first 10 odd numbers
Ans.

int main()

in
{
int year ;
cout << "Enter year (in 4-digits): ";

.
cin >> year;
if (year % 100 == 0)
{
if (year % 400 == 0)
cout << "Leap Year\n" ;
ve
else
sli
cout<< "Not a leap year\n" ;
}
else if (year % 4 == 0)
cout << "Leap Year\n" ;
else
Hs

cout<< "Not a leap year\n" ;


}

OR

int main()
{
int i,n=1,s=0;
for(i=1;i<=10;i++)
{
s=s+n*n;
n=n+1;
}
cout<<”The sum of squares is”<<s;
27. a) Correct the errors in the following program code to display numbers from 1 to 10.
[ July 2015, Score 1 ]
for ( i=1; i > = 10 ; i++ )
cout >> i;
b) Explain the different types of programming errors with the help of above code.
Ans. a) for(i=1;i<=10;i++)
cout<<i;
b) Syntax error: Occurs due to violation of rules of programming writing >> with cout etc.
Logical error: Occurs due to incorrect logic like writing i>=10 in place of i< = 10.
28. Rewrite the following C++ code using if .. else statement [ July 2015, Score 2 ]

in
large = ( n1 > n2 ) ? n1 “ n2;
Ans. large=(n1>n2)?n1:n2;
29. Write the syntax of switch statement. Explain its working using an example

.
[ July 2015, Score 5 ]
OR
ve
Compare the working of do .. while loop and while loop using an example

Ans. switch(test_variable)
{
sli
case case_value1:
statement;
break;
case case_value2:
statement;
Hs

break;
----------
---------
[default:
statement;]
}

OR
Ans. while loop is an entry controlled loop where the program control enters into the loop body only
when the test expression is true. But in do while loop, the loop body statements will execute at least
once irrespective of the test expression.

Example
int i=10;
while (i<5)
{
cout<<i;
i=i+1;
}
Will not give any output since the test expression evaluates false.

But,
int i=10;
do

in
{
cout<<i;
i=i+1;

.
}
while(i<5);
ve
Will display 10 as output since the cout statement in loop body is executed once before checking the
test expression.
30. do while loop is a ..............controlled loop. [ March 2015, Score 1 ]
sli
Ans. Exit
31. Write a C++ program to check whether the given number is prime or not.
[ March 2015, Score 5 ]
OR
Explain the various iteration statements in C++ with syntax and examples
Hs

Ans. int main()


{
int n, i, flag = 0;
cout<<"Enter a number";
cin>>n;
for(i=2; i<=n/2; ++i)
{
if(n%i==0)
{
flag=1;
break;
}
}
if (flag==0)
cout<<n<<" is a prime number";
else
cout<<n<<" is not a prime number";
return 0;
}
OR
while loop
Syntax :
initialisation;
while(expression)

in
{
loop_body;
update statement;

.
}

Example:

i=2;
ve
while(i<=50)
sli
{
cout<<i;
i=i+1;
}
Hs

do while loop
Syntax:
initialisation;
do
{
loop_body;
update statement;
}
while(expression);

Example
i=1;
do
{
cout<<i;
i=i+1;
}
while(i<=50);

for loop

Syntax:
for(initialisation; teste xpression; update statement)
{

in
loop body;
}

.
Example
for(i=1;i<=100;i++)
{
cout<<i;
}
ve
sli
*******************************************************************************************************************

Chapter – 8 Computer Networks


Hs

1. The protocol used for internet communication is ------------- [ March 2020, Score 1 ]
Ans. TCP/IP
2. What are the uses of repeaters? [ March 2020, Score 2 ]

Ans. Repeaters are used to receive the incoming signal, amplify it to their original strength and
retransmit it.
3. Write the characteristics of Bluetooth transmission? [ March 2020, Score 2 ]
Ans. Characteristics of Bluetooth transmission :
i). Not a line of sight communication
ii). Can connect up to 8 devices
4 . Differentiate LAN and WAN [ March 2020, Score 3 ]
Ans. Local Area Network (LAN): Networking of communication devices within a limited area like
a building, room or a campus. It can set up using wired media (UTP/STP cable) or wireless media
(infra-red, radio waves etc.) and can cover up to a few kilometers
Wide area Network (WAN): It can span a geographically wide area like 1000 or more kilometers
and may include many small networks. It may use transmission media like microwave. The largest
WAN in the world is internet.
5. Write three parts of URL with example. [ March 2020, Score 3 ]
Ans. URL is divided in to 3 parts
a). Network protocol(scheme) like ‘http’: It enables the browser to know what protocol is used to
access the information specified in the domain.
b). Domain Name: ( Host name/ address) like ‘dhsekerala.gov.in’. It is the name assigned to a server

in
through the DNS to identify a particular web server. It may contain country specific domain names
like .in, .us, .au etc. and generic domain names like .com,.edu etc..
c). File name: It is the file to be opened like ‘model question.html’

.
ve
6. Compare the communication technologies in Bluetooth and Wi-Fi. [July 2019, Score 2 ]
Ans. Bluetooth: Its frequency range from 2.402 GHz to 2.480 GHz. It is a short distance
communication ( approx. 10m). It is uses in cell phones, wireless keyboard etc. It can connect up to 8
sli
devices
Wi-Fi: Its frequency range from 2.4 GHz to 5 GHz. It can connect more devices at a time.
7. (a) What is an URL ? [ July 2019, Score 1 ]
(b) Identify three parts of an URL. [ July 2019, Score 2 ]
Hs

Ans. a) Uniform Resource Locator.


b) A URL is divided in to 3 parts
i. Network protocol(scheme) like ‘http’.
ii. Domain Name: (Host name/ address) like ‘dhsekerala.gov.in’
iii. File name
8. a) Define communication medium. [ July 2019, Score 1 ]
(b) Explain different types of communication medium. [ July 2019, Score 4 ]
Ans. a) The path through which message travels from sender to receiver is known as
communication media.
b) There are two types of communication media
a. Guided Media: Here data is transmitted through some physical media such as metal wire or
optical cable. Three types:
i. Coaxial cable
ii. Twisted Pair
iii. Optical fiber
b. Unguided media: Here data transmission takes place through space or air. Electromagnetic
waves are used for it. Three types:
i) Radio waves
ii) Microwaves
iii) Infrared waves.

9. Write the full form of MAC. [ March 2019, Score 1 ]


Ans. Media Access Control
10. Assume that recently your school computer lab is networked. List any four advantages you can

in
experienced when using networked computers instead of standalone computers.
[ March 2019, Score 2]

Ans.
1.Data communication is possible

.
2. Resource Sharing
3. Reliability
4. Scalability
ve
11. Name the major parts of an optical fiber cable. [ March 2019, Score 2 ]
Ans. Optical fiber use light instead of electrical signals. They are made of glass fibers covered by a
sli
cladding. Then it is covered by a plastic jacket.
12. a. Define Network Topology. [ March 2019, Score 1 ]
b. Compare Ring Topology with Star Topology. [ March 2019, Score 2 ]
Ans. a) Topology is the way in which computers are physically interconnected to form a network.
Hs

a) In ring topology, all nodes are connected to a circular cable. All data are passing through this
cable. In star topology there is hub/server at its centre and all other work stations are
connected to it through separate connections. All messages are passed through the server

13. "Servers have much importance in a client server network". Write the importance and list any two
classifications of servers. [March 2019, Score 2 ]
Ans. A server provides clients with specific services (responses) upon client’s request. The services
include sharing of data, software and hardware resources. Two types of servers are:
a) File server.
b) Web server.
14. Explain any two advantages of computer networks. [ July 2018, Score 2 ]
Ans. 1. Resource Sharing : Sharing of hardware and software resources is easy.
2.Reliability : Since many computers share the data, it is easy to recover from failures.

15. Differentiate between HUB and SWITCH. [July 2018, Score 2 ]


Ans. Hub is used in wired networks to connect devices of the same network. It transmits data to
all the devices connected to it. Switch can be considered as an intelligent hub. It store addresses of
all the devices connected to it.
16. "Computer network has an important role in the modern communication".
a) What is data communication? . [ July 2018, Score 1 ]
b) Explain any two guided media. [ July 2018, Score 2 ]
c) List any four data communication devices. [ July 2018, Score 2 ]
Ans. a) Data communication is the exchange of digital data between any two devices through a
transmission medium.
b) Guided Media: Here data is transmitted through some physical media such as metal wire or optical
cable.

in
i. Coaxial cables: It has an inner central metallic core surrounded by an insulating sheath. It is
then surrounded with a conducting outer cover and is again covered with a protecting insulation.
ii. Optical Fiber : Optical fiber use light instead of electrical signals. They are made of glass

.
fibers covered by a cladding both are in perfect thickness and in different refractive indices. Then it is
covered by a plastic jacket ve
c) 1.Hub
2.switch
3.Repeater
4.Bridge
sli
17. Find out the odd one from the following: [ March 2018,Score 1 ]
a) DOS b) DSL c) ISDN d) FTTH
Ans. DOS
18. There are many advantages in using networked computers instead of standalone computers.
Hs

Write any four advantages of them. [ March 2018, Score 2 ]


Ans. 1. Data communication is possible
2. Resource Sharing
3. Reliability
4. Scalability
19. What is the importance of TCP / IP protocol in computer networks? [March 2018, Score 2 ]
Ans. Transfer Control Protocol/Internet Protocol used to interconnect network devices on local
network and internet. When data is sent from one device to another, the data is broken into small
packets by TCP and sent through transmission medium. Delivery of each of these packets to the right
destination is done by IP. When the packets are received by the receiving computer, TCP checks
packets for error and assembles in to original message.
20. a. Define the term, topology. [ March 2018, Score 1 ]
b. Consider that, your principal has decided to network your computer Lab. Which topology will
you suggest? Justify your answer [ March 2018, Score 2 ]
c.. Differentiate between LAN and WAN. [ March 2018, Score2 ]
Ans. a. Topology is the way in which computers are physically interconnected to form a network.
b. Bus Topology. Because bus topology is easy to install and less expensive. Failure of node does
not affect the network in the case of bus topology
c. Local Area Network (LAN): Networking of communication devices within a limited area like a
building, room or a campus. It can set up using wired media or wireless media and can cover up to a
few kilometers.
Wide area Network (WAN): It can span a geographically wide area like 1000 or more kilometers and
may include many small networks. It may use transmission media like microwave. The largest WAN

in
in the world is internet.
21. Choose a data terminal equipment (DTE) from the following options. [July 2017, Score 2 ]
a) Bridge b) Modem c) Router d) Gateway

.
Ans. Modem
22. URL string consists of protocol, domain name and file name. Write the name of a URL and mark
these three parts in it.
ve
Ans. http://www.dhsekerala.gov.in/index.html is a URL.
[July 2017, Score 2 ]

Here, http is the protocol used, dhsekerala.gov.in is the domain name and index.html is the file name.
23. Communication media is generally divided into two – wired and wireless media.
sli
a) Give an example for wireless medium. . [ July 2017, Score 1 ]
b) Compare the characteristics of three types of wired media. [ July 2017, Score 3 ]
Ans. a) Microwaves.
b) i) Twisted pair cable: Low cost, thin , flexible and easy to install
Hs

ii) Coaxial cable: High cost, thicker, less flexible and more difficult to install.
iii) Optical fiber: Most expensive, flexible and thin but is fragile and very difficult to install.
24. HTTP stands for ………………… protocol [ March 2017, Score 1 ]
Ans. Hyper Text Transfer Protocol.
25. A ……….. is a computer peripheral that allows you to connect and communicate with other
computers via telephone lines. [ March 2017, Score 1 ]
Ans. Modem
26.URL stands for Uniform Resource Locator. Every resource in the internet has a unique URL. Then
classify the following URL on the basis of a) Network protocol b) Domain Name c) File
Name.
http://www.dhsekerala.gov.in/index.html [ March 2017, Score 3 ]
Ans. Here, http is the protocol used, dhsekerala.gov.in is the domain name and index.html is the file
name.
27. How is a WAN different from a LAN ? [ March 2017, Score 3 ]
. Local Area Network (LAN): Networking of communication devices within a limited area like a
building, room or a campus. It can set up using wired media (UTP/STP cable) or wireless media
(infra-red, radio waves etc.) and can cover up to a few kilometers
Wide area Network (WAN): It can span a geographically wide area like 1000 or more kilometers
and may include many small networks. It may use transmission media like microwave. The largest
WAN in the world is internet.
28. In communication system, the term source refers to ………………. [ July 2016, Score 1 ]
a) receiver b) sender c) information d) medium
Ans. sender
29. If all devices are connected to a central hub/switch, the topology is known as …….

in
a) ring topology b) bus topology c) star topology d) mesh topology
[ July 2016, Score 1 ]
Ans. star topology

.
30. List any four advantages of forming computer networks. [ July 2016, Score 3 ]
Ans. 1. Data communication is possible
2. Resource Sharing
3. Reliability
4. Scalability
ve
31. Define the following terms related to computer network. [ July 2016, Score 3 ]
sli
a) Node b) Bandwidth c) Noise
Ans. Node : Any device which is directly connected to a computer network is called a node.
Bandwidth: bandwidth measures the amount of data that can be sent over a specific connection in a
given time.
Noise: Noise is unwanted signals that lowers the quality of data signals.
Hs

32. " Client - Server architecture is an example of centralized software management". Justify.
[ March 2016, Score 2 ]
Ans. In client Server architecture, a high-end computer (Server) provides specific services to the
clients upon clients’ request. All the resources are stored within server and shared to the clients
whenever needed. This is equivalent to a centralized software management.
33. Match the following [ March 2016, Score 2 ]
A B
Unguided media Org
Generic domain name Coaxial cable
Guided media microwave
Protocol http
Ans: Unguided media – microwave
Generic domain name – org
Guided media – coaxial cable
Protocol - http
34. Compare ring topology and mesh topology. [ March 2016, Score 3 ]
Ring Topology: All node computers are connected to a circular cable. All data are passing through
this cable.
Advantages:
i). No signal amplification required because each node will do it.
ii). Requires less cable, so cost effective
Disadvantages:
i). If a node fails, entire network will fail.
ii). Addition of nodes is difficult.

in
Mesh Topology: In this Topology each node is connected to other nodes. So there is more than one
path between two nodes. Here, failure of one node may not affect the data communication.
Advantages:

.
i). If one workstation or a path fails, it does not affect the whole network.
Disadvantages:
ve
i). Requires more cables, so very expensive.
ii). Very complex and difficult to manage.
35. A device that regenerates the incoming signals and retransmits them to their destination is called
….. [ July 2015, Score 1 ]
sli
Ans. Repeater
36. Which among the following communication technologies is the slowest? [ July 2015, Score 1 ]
a) Bluetooth b) wi-Fi c) Wi-MAX d) Satellite link
Ans. Bluetooth
37. Consider that your teacher is planning to connect the computers in the computer lab of your
Hs

school to form network. [ July 2015 ]


a) He has a switch and a hub to connect these computers. Which one would you prefer? Why?
[ Score 2 ]
b) Name a topology that you will suggest for this network. Give reasons for your suggestion.
[ Score 3 ]
Ans. a) Switch. Switch is more intelligent and efficient than hub.
b) Bus Topology. Because bus topology is easy to install and less expensive. Failure of a node will
not affect the network in the case of bus topology.
38. Identify the name given to the physical arrangement of computers in a network. Explain two
types with block diagrams. [ March 2015, Score 3 ]
Ans. Topology.
Bus Topology: There is a main cable called bus from the server to which every nodes are connected
by short drop cables. A small device called terminator is attached at the end of the bus. When a data
signal reaches the terminator at the end, it is absorbed and the bus is free to carry new signal.

Ring Topology: All node computers are connected to a circular cable. All data are passing through
this cable.

in
39. Write any two advantages of networks. [ March 2015, Score 2]

.
Ans. 1. Resource Sharing : Sharing of hardware and software resources is easy.

40. What are the advantages of Wi-Fi network ?


ve
2. Reliability : Since many computers share the data, it is easy to recover from failures.

[ March 2015, score 3]


Ans. In Wi - Fi network, line of sight between communicating devices is not required.
High data transmission speed.
sli
Wi – Fi Can connect more devices.

*******************************************************************************************************************
Hs

Chapter - 9 Internet

1. Explain cc and bcc sections in email [ March 2020, Score 2 ]

Ans. Cc (Carbon copy): The e-mail address of secondary recipient.


Bcc (Blind carbon copy): The e-mail address to which blind carbon copies are to be sent.
2. What is search engine? Write any two examples [ March 2020, Score 2 ]
3. Ans. Search engine programs search documents available on World Wide Web for specified
keywords and return a list of the documents/web pages matching the keywords. Search engine
web sites use programs called web crawlers or spiders or robots to search the web. The search
engine website stores these keywords along with their URLs to form an index in the search
engine’s web servers. When we use the search engine website to search a particular topic
(keyword), it does not search the World Wide Web. Search engine select a list of URLs where
the particular topic is found from the index and displays it as the result
Eg: Google, Bing
4. Find the odd one from the following : [ July 2019, Score 1 ]
(a) Google Chrome (c) Android (b) Opera (d) Safari

Ans. Android
5. Define the terms : (a) Phishing (b) Hacking [ July 2019, Score 2 ]
Ans.(a) Phishing is an attempt to acquire information such as usernames, passwords and credit
card details by posing as the original website, mostly that of banks and other financial

in
institutions.
(b) Hacking is a technical effort to manipulate the normal behaviour of network
connections and connected systems. Hacking is performed both by computer security experts

.
and by computer criminals.
ve
6. What are the hardware and software requirements for connecting a computer to the internet?

Ans. The hardware and software requirements for internet are:


[ July 2019, Score 2 ]

1) A Computer with a facility to connect modem ( ie a computer with Network Interface Card).
2) Modem.
sli
3) Telephone connection.
4) An account with ISP( Internet service Providers ).
5) Web browser.
7. E-mail is a popular communication tool. Discuss any two advantages of email.
Hs

[ March 2019, Score 2 ]


Ans. Advantages of email:
1. Speed : An email is delivered instantly within no time.
2. Easy to use : It is very easy to send and receive e-mail.
8. Your, friend wants to take an internet connection. Explain and compare any three types of
broadband connectivity available now-a-days. [ March 2019, Score 3 ]
Ans. 1) ISDN (Integrated Service Digital Network): ISDN is a type of broadband connection
capable of carrying voice and digital data. It uses ordinary telephone lines. It supports speed up to
2Mbps.
2) Cable internet: Cable internet is a form of broadband internet access using cable network. It uses
cable line instead of telephone line. It is faster than dial up. The speed ranges from 1 to 10 Mbps.
3) DSL (Digital subscriber Line): DSL is a technology that provides internet access using local
telephone network. It is primarily used in homes and small businesses. ADSL (Asymmetric Digital
subscriber Line) is a type of DSL. ADSL connections provide comparatively more bandwidth for
downloads than for uploads. While DSL uploads and downloads at the same speed. The speed of
ADSL is from 256 Kbps to 24Mbps.
9. Give an example for search engine. [ July 2018, Score 1 ]
Ans. Google
10. List the hardware and software requirements for connecting computer to internet
[ July 2018, Score 2 ]
Ans. The hardware and software requirements for internet are:
1) A Computer with a facility to connect modem ( ie a computer with Network Interface Card).
2) Modem.
3) Telephone connection.

in
4) An account with ISP( Internet service Providers ).
5) Web browser.
11. Write any two drawbacks in using social media. [ March 2018, Score 2 ]

.
Ans. The drawbacks in using social media are:
i. Addiction: addiction to social media wastes our valuable time. It negatively affects our mental

ii.
states and leads to depression.
ve
Spread rumours: Social media spreads negative information and misinformation at an
incredible speed.

12. Explain briefly about the wireless broadband connectivity methods used for internet connection
sli
[ March 2018, Score 3 ]
Ans. 1) Mobile broadband: Mobile broadband refers to accessing high speed internet through mobile
networks, using mobile phone, tablets etc.
2) Wi – MAX: Wi - Max stands for Worldwide Interoperability for Microwave Access. It provides
Hs

maximum speed of 70 Mbps. Wi – Max offers internet access up to a distance of 50 Km.


3) Satellite broadband: Satellite broadband is internet connectivity provided using satellite. It is
mainly used in remote places. Its download speed is up to 1 Gbps.
13. The small text files used by browsers to remember e-mail id, user name, etc. are known as ..........
[ July 2017, Score 1 ]
Ans Cookies
14. Internet offers a variety of services and they are used widely around the world.
a) One of these services requires an address like journey23@gmail.com. Name this service and
write the reasons for the wide use of this service. [ July 2017, Score 3 ]
b) Name the service which provides a list of websites containing information about a word or a
phrase. [ July 2017, Score 1 ]
Ans. a) E-mail. Because of:
i. Speed : An email is delivered instantly within no time.
ii. Easy to use : It is very easy to send and receive e-mail.
b) Search engine
eg: google
15. Which one of the following is not a search engine ? [ March 2017, Score 1 ]
a) Google
b) Bing
c) Facebook
d) Ask
Ans. Facebook
16. Your friend Ravi purchased a new PC for his personal use. Mention the components required to
connect this PC to internet. [ March 2017, Score 3 ]
Ans. 1) A Computer with a facility to connect modem ( ie a computer with Network Interface Card).

in
2) Modem.
3) Telephone connection.
4) An account with ISP( Internet service Providers ).
5) Web browser

.
a) Mozilla Firefox b) Google
ve
17. Which one of the following is NOT a web browser?
c) Internet Explorer
[ July 2016, Score 1 ]
d) Opera
Ans. Google.
18. Which one of the following statements is not true about e - mail? [ July 2016, Score 1 ]
sli
a) E-mail is environment friendly as it do not use paper.
b) E-mail provides provision to attach text, audio, video and graphics.
c) E-mail will not spread any kind of viruses.
c) E-mail can be used to send same message to many recipients simultaneously.
Hs

Ans. c) E-mail will not spread any kind of viruses.


19. List bad effects if any in using social media. [ July 2016, Score 3 ]
Ans. The bad effects of using social media are:
i) Intrusion to privacy: the personal information of users can used for illegal activities.
ii) Addiction: addiction to social media wastes our valuable time. It negatively affects our mental
states and leads to depression.
iii) Spread rumours: Social media spreads negative information and misinformation at an
incredible speed.

20. Pick the odd one out. [ March 2016, Score 1 ]


a) Virus b) Trojan horse c) Wikis d) Worm
Ans. Wikis
21. Mr. Prasanth has bought a new laptop. He wants to take an Internet connection. [ March 2016 ]
a) Explain him various types of broadband connectivity available in the market. [ Score 3 ]
b) Suggest a web browser for him. [ Score 1 ]
Ans. a) Internet access can be provided using different broadband technologies, such as ISDN,
Cable internet, DSL, Leased line and FTTH.
1) ISDN (Integrated Service Digital Network): ISDN is a type of broadband connection capable of
carrying voice and digital data. It uses ordinary telephone lines. It supports speed up to 2Mbps.
2) Cable internet: Cable internet is a form of broadband internet access using cable network. It uses
cable line instead of telephone line. It is faster than dial up. The speed ranges from 1 to 10 Mbps.
3) DSL (Digital subscriber Line): DSL is a technology that provides internet access using local
telephone network. It is primarily used in homes and small businesses.
4) Leased line: Leased line internet connection provides a permanent connection between two
points. It is usually used by business organizations etc. Its speed ranges from 2Mbps to 100 Mbps.

in
5) Fiber To The Home (FTTH): FTTH uses optical cable for data transmission. It is used to provide
high speed internet to home users. It has high bandwidth and low error rates. It is highly reliable,
secure and has high bandwidth·

.
b) Google Chrome.
22. A device that regenerates the incoming signals and retransmits them to their destination is called
………..
Ans. Repeater
ve
23. George needs to prepare for a seminar on ‘Backwaters in Kerala’.
[ July 2015, Score 1 ]

[ July 2015 ]
a) Name any search engine through which George can get information about the topic. [ Score1 ]
sli
b) Explain the working behind the search engines to display the information about the seminar topic.
[ Score 3 ]
Ans. a) Google.
b) A search engine is a software program used to search information on the World Wide Web.
Working of Search engines use a program called crawlers or spiders or robots to search the web.
Hs

The list of documents collected by spiders are stored in database as index. When a search key is
given to the search engine searches the database and displays the result.
24. Consider the relation given below. [ July 2015, Score 1 ]
Social network : facebook.com
Which among the following share a similar relationship as the above?
a) micro blog : blogger.com
b) social blog : twitter.com
c) content community : . youtube.com
d) internet forum : linkedin.com
Ans. content community: youtube.com
25. …….. is a software used for removing worms and trojans. [March 2015, Score 1 ]
Ans. Antivirus.
26. What are the guidelines one must follow for using computers over the internet ?
[ March 2015, Score 3 ]
Ans. i. Do not open any email attachment that we are not sure.
ii. Download files only from reputed sources.
iii. Avoid clicking on popup advertisements.
iv. Use strong passwords
v. Update antivirus regularly
vi. keep a regular backup of our files.
27. Who introduced the term www? [ March 2015, Score1 ]
Ans. Tim Berners Lee

in
*****************************************************************************************************************

.
Chapter - 10 IT Applications

1. Define the term Tele conferencing


ve [ March 2020, Score 2 ]
Ans. Teleconferencing is a meeting or conference held between two or more parties in remote
locations by use of ICT.
sli
2. Write any three advantages of e-business [ March 2020, Score 3 ]
Ans.
· Overcomes geographical limitations.
· Reduces the operational cost
Minimises travel time and cost.
Hs

·
· It remains open all the time.
3. What are the benefits of e-Governance ? [ July 2019, Score 2 ]
Ans. i). Leads to automation of government services.
ii). Strengthen Democracy
iii). More transparency in the functioning
iv). Increase the responsibility of government departments
4. Summarise major benefits of e-Learning. [ July 2019 , Score 2 ]
Ans. i). It offers variety of courses from national and international institutions to a large number of
students from distant locations.
ii). Low cost
iii). No time and space limitations
5. Write any two challenges for implementing e-Governance [ March 2019, Score 2 ]
Ans. i). e-Literacy is necessary
ii). Possibility of cyber attack
6. e-Learning playing an important role in education field. Discuss any three advantages of
e-Learning. [ March 2019, Score 3 ]

Ans. i). It offers variety of courses from national and international institutions to a large number of
students from distant locations.
ii). Low cost
iii). No time and space limitations
7. Briefly describe any two benefits of e-Governance. [ July 2018, Score 2 ]
Ans. i). Leads to automation of government services.
ii). Strengthen Democracy
8. e-Business has many possibilities in the business world, but it faces some challenges. Write about

in
any two challenges in e-Business. [ March 2018, Score 2 ]
Ans. a) Lack of knowledge to people about online business.
b) Plastic money like credit/debit card is not common in rural area.

.
ve
. 9. e – learning allows us to overcome many limitations of conventional teaching – learning process
a) Name any three e-learning tools for enhancing e – learning process

b) Write about three advantages of e – learning [ March 2018, Score 3 ]


Ans.
a) a. Electronic books reader (e-Books)
sli
b. e-Text
c. Online chat
d. e-Content
e. Educational TV channels
Hs

b) Advantages
· e-Learning has the ability to offer courses on variety of subjects to large number of students
from distant location.
· In e-Learning cost for learning is much less.
· It provides facility to do online courses from various nationally or internationally reputed
institutions.
10. Almost all services and business are available online now. [ July 2017, Score 1]
a) Name the system that facilitate money translation between buyers and sellers in such cases.
b) Explain the infrastructure of e- Governance [ July 2017, Score 3 ]
Ans. a) Electronic Payment System
b) State Data Centre (SDC)
Combine services, applications and infrastructure and to provide efficient electronic delivery of G2G,
G2C and G2B services
Kerala State Wide Area Network (KSWAN)
The infrastructure supports the integration of a large number of G2G, G2C services with the
applications received from the State Data Centre.
Common Service Centre (CSC) – Akshaya centres
Common Service Centres (CSC) are the front-end delivery points of the government, private and
social sector services for the rural citizens of India. A highlight of the CSCs is that it offers web-
enabled e-Governance services in rural areas
11. Compare the advantages and disadvantages of implementing e-Business
[ March 2017, Score 3 ]
Ans. Advantages
· Overcomes geographical limitations.

in
· Reduces the operational cost
· Minimises travel time and cost.
Challenges

.
Lack of knowledge about online business and its possibilities.
·
·
·
ve
Customers do not possess plastic money- credit card, debit card and net banking system
Customers may lose valuable information like their credit card number, passwords, etc.
12. In ICT enabled services BPO stands for ..................... [ March 2017, Score 1 ]
Ans. Business Process Outsourcing
sli
13. Which one of the following is not an e business website [ July 2016, Score 1 ]
a) www.amazone.com b) www.dhsekaral.gov.in c) www.keralartc.com
d) www.irtc.com
Ans. b) www.dhsekaral.gov.in
Hs

14. Define e-Governance. Write any four advantages of e-Governance. [ July 2016, Score 3 ]
Ans. i). Leads to automation of government services.
ii). Strengthen Democracy
iii). More transparency in the functioning
iv). Increase the responsibility of government departments
15. Application of ICT for delivering government services to citizens in a convenient and transparent
manner is .... [ March 2016, Score 1 ]
Ans. e-Governance
16. Explain any three e-learning tools [ March 2016, Score 3 ]
Ans. a. Electronic books reader (e-Books)
b. e-Text
c. Online chat
d. e-Content
e. Educational TV channels
17. What is a call center ? What kind of job does a call center provide [ July 2015, Score 3 ]
Ans. Call centres facilitate the public for the payment of bills, purchase of goods, etc. Call centres
are also called service centres, sales centres, contact centres, etc.
Basic responsibility of a call centre is to handle the telephone calls for supporting various services
provided by an organisation.
18. The system used for financial exchange between buyers and sellers in an online business is
................ [ July 2015, Score 1 ]
a) electronic business online
b) electronic payment system
c) business process outsourcing

in
d) online payment system

Ans. b) electronic payment system

.
19. a) Expand the term ICT. [ March 2015, Score 1 ]
b) Briefly explain the advantages of implementing e-Governance. [ March 2015, Score 3 ]
Ans. a) Information and Communication Technology
b) i)
ve
Leads to automation of government services, ensuring the information regarding the
activities of public welfare is easily available to all citizens.
ii) Strengthens the democracy by ensuring greater participation of citizens at all levels of
sli
governance.
iii) Ensures more transparency in the functioning and thus helps eliminate corruption.

*******************************************************************************************************************
Hs

You might also like