CS Xi
CS Xi
CS Xi
Question Paper
Name: -______________________ Date: - ________
Class: - XI Time: -3 hours
Subject – Computer Science M.M- 70
General Directions:
Please check this question paper contains 35 questions.
The paper is divided into four sections-A, B, C, D and E
Section A, consists of 18 questions (1 to 18). Each question carries 1 mark.
Section B, consists of 7 questions (19 to 25). Each question carries 2 marks.
Section C, consists of 5 questions (26to 30). Each question carries 3 marks each.
Section D, consists of 3 questions(31 to 33)of 5 marks.
Section E, consists of 2 questions (34 and 35). Each question carries 4 marks.
All programming questions are to be answered using Python language only.
b. Sum of23and45=86
Difference of78and45=33
Product of23x45x78=80730
d. Sum of23and45=86
Difference of78and45=33
Product of23x45x78=80730
16 Whenever the computer is started or a software application is launched, the required 1
program is loaded into …………….for processing
a. ROM c. RAM
b. CPU d. CU
Q.No 17 and 18 are Assertion and Reason based Questions. Choose the most
appropriate answer.
17 Assertion (A):Python is a programming language. 1
Reason (R):Using python any software can be designed . Python is a high level
language.
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
e. Both A and R are false.
18 Assertion (A):Operator is a type of token. 1
Reason (R):Identifiers start with alphabets or underscore.
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.
e. Both A and R are false.
SECTION - B
19 Solve the following questions: 2
a.110011010 + 11111111
b. 1111110-1000101
20 Define the following: List, Tuple 2
21 What is De Morgans’s Theorem in Boolean? 2
22 Fill in the blanks: 2
a. Commutation Law: B+A=……………and A.B=…………..
b. Association Law: A+(B+C)=…………………………
23 What do you understand by, “Python is free and open source software”? 2
24 Solve the following: 2
a. Convert (34.45)10 to binary number system.
b. Convert (100.1101)2 to decimal number system.
25 Explain IPO cycle with a diagram. 2
SECTION - C
26 When are dictionary is more useful than list. 3
27 What is the difference between optical memory device and magnetic memory 3
device? Give examples.
28 Write a python program to calculate the answer of below mathematical problem. 3
A (B ( C + D) % 2) - 32
29 Answer the following: 3
a. Name the two modes in python.
b. Write any two disadvantages of python.
c. What are tokens?
30 What is the difference between unary and binary operators in python? Give 3
examples.
SECTION – D
CASE / SOURCE BASED QUESTIONS:
31 5
Give the output of the following when n1=4, n2=3, n3=2
A. n1+=n2+n3
print(n1)
a. 8
b. 9
c. 10
d. 11
B. n1=n1**(n2+n3)
print(n1)
a. 1000
b. 2000
c. 1024
d. 2024
C. n1**=n2+n3
print(n1)
a. 1024
b. 2024
c. 1000
d. 2020
D. n1=’5’+’5
print(n1)
a. No Output
b. Error
c. 10
d. 55
E. n1=float(10)
print(n1)
a. 10
b. 10.0
c. 1
d. No output
32 Data can be of many types e.g., character, integer, real, string etc. Anything enclosed 5
in quotes represents string data types in python. Numbers without fractions represent
integer data. Numbers with fraction represent real data and True and False represent
Boolean data. Since the data to be dealt with are of many types, a programming
language must provide ways to handle all types of data. Python is capable of
handling many data types: numbers, strings, list, tuples, dictionary.