0% found this document useful (0 votes)
19 views4 pages

Class XI HY CS SET1

This document is a half-yearly exam paper for Class 11 Computer Science at Kendriya Vidyalaya No.2, Belagavi Cantt, covering various topics in computer science with a total of 70 marks. The exam consists of five sections, including multiple-choice questions, short answer questions, and programming tasks, all to be answered using Python. It includes questions on memory types, Boolean algebra, Python programming, and basic computer architecture.

Uploaded by

Sahana Banu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views4 pages

Class XI HY CS SET1

This document is a half-yearly exam paper for Class 11 Computer Science at Kendriya Vidyalaya No.2, Belagavi Cantt, covering various topics in computer science with a total of 70 marks. The exam consists of five sections, including multiple-choice questions, short answer questions, and programming tasks, all to be answered using Python. It includes questions on memory types, Boolean algebra, Python programming, and basic computer architecture.

Uploaded by

Sahana Banu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

KENDRIYA VIDYALAYA No.2, BELAGAVI CANTT.

HALF YEARLY EXAM (2022-23) SUBJECT: COMPUTER SCIENCE


CLASS:11 MM: 70 TIME: 3 Hours
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.

SECTION - A
1 When we work on any document on PC, it is stored temporarily in _________ 1
memory.
(a) RAM (b) ROM
(c) CPU (d) CD-ROM
2 Collection of 04 bits is known as 1
(a) Byte (b) Nibble
(c) Kilobyte (d) Megabytes
3 Why do we require secondary storage devices? 1
(a) As primary memory storage is limited
(b) Performs Arithmetic and logical operations
(c) To give power to the system bus
(d) To help processor on processing
4 Read Only Memory (ROM) is a memory. 1
(a) Non Volatile Memory (b) Volatile Memory
(c) Both (a & b) (d) None of these
5 Antivirus software is a type of _____________ 1
(a) System Software (b) Application Software
(c) Utility Software (d) Package
6 State True or False 1
“ASCII is capable to encode characters of Kannada language”
7 What is the decimal equivalent of (10010)2 ? 1
(a) 20 (b) 18
(c) 16 (d) 22
8 Which gate returns 1(high) output only when inputs have even number of 1’s 1
(a) NAND (b) NOR
(c) XOR (d) XNOR
9 The expression that represents NAND gate is: 1
(a) (A.B)’ (b) A’.B’
(c) (A+B)’ (d) A’+B’
10 According to the boolean laws: A+A = _____ ? 1
(a) 0 (b) 1
(c) A (d) A’

1
11 Boolean algebra is an algebraic structure with two arithmetic operations. 1
(a) Addition and subtraction (b) Subtraction and multiplication
(c) Addition and multiplication (d) Addition and division
12 Python uses ___________ to convert source code into object code? 1
(a) Interpreter (b) Compiler
(d) Word Processor (d) None
13 What do we use to define a block of code in Python language? 1
(a) Key (b) Brackets
(c) Indentation (c) Colon
14 Which of the following is NOT an operator in python? 1
(a) // (b) **
(c) in (d) None of the above
15 If x = 2**2**3 then print (x) will be _________ 1
(a) 64 (b) 12
(c) 256 (d) 512
16 The input( ) returns the value as _________ type : 1
(a) integer (b) list
(c) floating (d) None of the above
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the
correct choice as
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
17 Assertion (A):- Python is a case sensitive language. 1
Reasoning (R):- All keywords in python are in small case except True, False
and None.
18 Assertion (A):- The resultant data type of the following expression is 1
Integer(int):
int(15/3)
Reasoning (R):- Type casting converts the result of an expression from one
data type into another forcefully.
SECTION – B
19 Differentiate between Compiler and Interpreter. 2
20 Convert the following: 2
(a) (248)10 → (?)8
(b) (101101)2 → (?)10
21 Write the equivalent Boolean expression for the given logic circuit: 2

2
22 Draw Truth table for the given expression: 2
X+X’.Y = X+Y
23 Find the output of the following code: 2
for count in range(10, 2, -2):
if count%3 == 0:
print(count*3)
else:
print(count*2)
24 Rewrite the following code after removing the errors and underline the 2
corrections.
x == 25
if x+10 => 20:
print(“Yahoo”)
else if x%2 = 0:
print(“Gmail”)
elif:
print(“Rediff”)
25 Differentiate between Mutable and Immutable data types. 2

SECTION – C
26 Explain the following: 3
(a) Cache memory
(b) Application software
(c) System software
27 Draw the equivalent circuit diagram for the given expression: 3
A.B+B’.C+C’.A’
28 Explain the following with the help of appropriate examples: 3
(a) Syntax Error
(b) Semantic Error
(c) Runtime Error
29 Write a python program to obtain the three sides of a triangle and display its 3
area using Heron’s formula.
𝑎+𝑏+𝑐
Where 𝑠 = , Area of triangle = √𝑠(𝑠 − 𝑎)(𝑠 − 𝑏)(𝑠 − 𝑐)
2

30 Write a python program to read marks obtained in 3 subjects calculate total 3


and display the results as follows:
Total Result
If total is more than or equal to180 Excellent
If total is more than or equal to 150 Good
but less than 180
If total is more than or equal to 99 Average
but less than 150
If total is less than 99 Needs Improvement

3
SECTION – D
31 Explain the following with appropriate examples. 5
(a) Keywords
(b) Identifiers
(c) Operators
(d) Variable
(e) Literals
32 Write down the equivalent python expressions for the given mathematical 5
expressions: (Any five)
𝟏
(a) r = 𝟐 a𝒕𝟐
𝒓 𝒏𝒕
(b) 𝑨 = 𝑷 (𝟏 + 𝒏)
𝟒
(c) 𝑽 = 𝝅𝒓𝟑
𝟑
−𝒃+√𝒃𝟐 −𝟒𝒂𝒄
(d) 𝒙 =
𝟐𝒂
(e) |e2 – sin a|
(f) 2 – ye2y + 4y
33 (a) Write a python program to read a number and display whether it is 2
positive, negative or zero and display appropriate message.
OR
Write a python program to read a number and check whether it is an even
number, odd number or zero and display appropriate message.

(b) Write a python program to read a number and display its factorial. 3
OR
Write a python program to read a number and display the sum of its
individual digits. For example if the number is 234 the result must be 9 i.e.
2+3+4
SECTION - E
34 Convert the following as stated: 4
(a) (101)10 → (?)2
(b) (3B.2C)16 → (?)10
(c) (CAB)16 → (?)8
(d) (2841.56)10 → (?)16
35 Draw a labelled diagram of basic architecture of a computer system. Explain 4
the importance of storage unit, CPU and its sub units.

*************************************** END ***************************************

You might also like