Page 1
HALF YEARLY EXAM
QUESTION
PAPER
ORIGINAL EXAM PAPERS
Page 2
No. of Printed Pages/Questions: 04/35
O. P. JINDAL SCHOOL, SAVITRI NAGAR
Half-Yearly Examination (2024-2025)
Class: XI MM:70
Subject: Computer Science (083) Time: 3 Hr
(Fifteen Minutes Extra will be given for reading the Question Paper.)
General Instructions:
1. The question paper is divided into 5 sections - A, B,C, D and E.
2. Section A, consists of 18 questions (1-18). Each question carries 1 marks.
3. Section B, consists of 07 questions (19-25). Each question carries 2 marks.
4. Section C, consists of 05 questions (26-30). Each question carries 3 marks.
5. Section D, consists of 03 questions (31-33). Each question carries 5 marks
6. Section E, consists of 02 questions (34-35). Each question carries 4 marks
7.
All programming questions are to be answered using Python Language only.
Question SECTION A
Marks
NO Each question carries 1 marks
1 To increase the value of k five times using an assignment operator, the correct expression will
be: 1
a. k+= 5 b. k *=5 c.k=k**5 d.k=*5
2 Write logical expression for the following: 1
place is either 'Delhi' or 'Goa' but not Jaipur
3 What will the following expression be evaluated to in Python?
2**2**2
a. 16 b. 128 c. 64 d.8
4 Which of the following are invalid identifiers?
a.Percentage b. In time c.Sol2 d.2 Num
5 IDLE stands for 1
a. Information Development Logic Environment
b. Interaction Development Logic Environment
c. Integrated Development and Learning Environment
d. Interaction Developer and Logic Environment
6 ISCII can represent bit character.
a.5 b. 6 c.7 d. 8
7 Data items having fixed value are called 1
a.identifiers b. functions c. keywords d. literals
8 Which gates return true if both inputs are similar otherwise false 1
a.NAND b. NOR c. XOR d. None of the above
1
Page 3
9 The following code produces an error:
a=int(input('Enter a number'))
c=a+b
print(b)
What is the name of the error?
a. Name Error b. Undefined Error c. Type Error d. Syntax Error
10 What will be the result of the expression 'false' or False?
a.false b.False c.'false' d.'False'
11 What will be the output of the following code segment?
a,b=8,7
b,a=a,b
print(a,"+",b)
a. 8+7 b.15 c. 7+8 d.Error
12 Observe the given code and select an appropriate output: 1
a='hello
b=str(30)
print(a+b)
a.h b. 30 c.hello d.hello30
13 What are the basic steps in problem solving?
a. Execution, Debugging, Testing
b. Analyzing the problem, developing an algorithm, coding, testing and debugging
c. coding, analysis, testing, debugging
d. debugging, coding, testing, analyzing
14 What will be the output of following python statement: - print("foo+bar")
a. foo+bar b. foobar c. FooBar d. none of these
15 Which of the following is an example of mutable data type in Python? 1
a. String b.List c.tuple d. Integer
16 What is the output of print("ABC"<"abc") ? 1
a.True b.False c.0 d.Error
The following questions 17 and 18 are Assertion-Reasoning based, answer the
questions by choosingone of the following responses:
a. Both A and R are true and R is the correct explanation of A.
b. Both A and R are true but R is not the correct explanation of A.
c. A is true but R is false.
d. A is false but R is true.
2
Page 4
17 Assertion(A): In Python, a variable can hold values of different types at different times. 1
Reason(R): A variable's data type once assigned, remains fixed throughout the program.
18 Assertion(A): The logical errors are the result of mistaken analysis of a problem. 1
Reason(R): Logical errors are missed by the interpreter.
SECTION-B
Each question carries 2 marks
19 Write the corresponding Python expressions for the following mathematical expressions. 2
nt
a.A = P (1 +5 b.(x- y)(x + y) = x² - у2
OR
Evaluate the following operations as a Python interpreter would:
a. 2//3*6+9 b. (2+2)**(2-1)/2
20 What will be the output produced by these? 2
a.2!=4 b.4=2**2 c.5>2 and 10>15 d."cat"<"dog"
21 What is Implicit and Explicit type conversions? Give cxample also. 2
22 What will the output be produced by the following code statements? 2
a) (17%5) is (17%5)
b) (87//5.0)-(87//5)
c) 14.0//4
d) 14.0%4
23 What is difference between mutable and immutable date types? Explain with example 2
24 Write a program using the random module to generate three random integers in the range 2
of 10,70 with a step of 13. Create a set with these numbers.
OR
Write a program using statistics module to create a user-defined list of 7 elements and to print
the mean.median and mode of the list.
25 Write a program in python to find area of a triangle. 2
OR
Write a program in python to find area of a circle.
SECTION-C
Each question carries 3 marks
26 What is an Error? Explain its three types in detail. 3
27 Write a program to implement a simple calculator for two input numbers. Offers basic 3
operations like +,-,*,/.
28 Write a program to calculate the simple and compound interest. 3
29 Explain the below mathematical functions in the math module along with an example. 3
a) Log
b) Pow
c) Degrees
d) Floor
e) Exp
f) fabs
30 i. What is the need of RAM? How does it differ from ROM? 3
ii. What is the need for Secondary Memory?
3
Page 5
OR
Draw the block diagram of a computer system. Briefly write about the functionality of at least
3components.
Section-D
Each question carries 5 marks
31 a) What is an Algorithm & Pseudocode? 2+3
b) Draw a flowchart to find the sum of the first 20 natural numbers.
32 What are data types in Python? Explain each data type with an example. 5
33 Convert the following accordingly: 5
(i) (106)10=(?)16
(ii) (78)10=(?)2
(iii) (122)8=(?)2
(iv) (13B)16=(?) 10
(v) (101101)2-(?)10
Section-E
Each question carries 4 marks
34 4
What is Operator in Python? List out the types of operators in python. Explain any 4
types of operators in detail with an example.
35 a) Draw the logic circuit diagram for the following expression: 4
(i) XYZ' +Y.(X+Z*)
(ii) AB' + C'D
b) Explain and prove Demorgan's theorem with the help of Truth table. Draw the logic
circuit diagram for expressions.
4
Page 6
Study Materials
Notes
Model Papers Class 6 Notes
Sample Papers Class 7 Notes
Half Yearly Sample Papers Class 8 Notes
Class 9 Notes
Important Resources
Class 10 Notes
Periodic Table
Class 11 Notes
Writing Skills / Formats
Maps of India / World Class 12 Notes
Books and Solutions
NCERT Books
NCERT Book Solutions
HC Verma Chapter Wise Solutions
RD Sharma Solutions
CGBSE Solutions