CS Class Xi
CS Class Xi
General Instructions:
The question paper is divided into 3 Sections – A, B,C.
Section A, consist of 10 Questions (1-10).
Section B, consist of 10 Questions (11-20).
Section B, consist of 10 Questions (21-25).
Section A
This section consists of 10 Questions (1 to 10). Choose the correct option.Each
question carries 1 marks.
1-Which one of these is floor division?
a) / b) // c) % d) None of the mentioned
2- Which one of the following is the correct extension of the Python file?
a) .py b) .python c) .p d) None of these
3-What is the answer to this expression, 22 % 3 is?
a) 7 b) 0 c) 1 d) 5
4-A function in Python begins with which keyword?
a) void b) return c) def d) int
5- Which of the following statements assigns the value 25 to the variable x in Python:
a) x ← 25 b) x = 25 c) x := 25 d) int x = 25
6-In which data type, indexing is not valid?
a) List b)String c) Dictionary d) None of the above
7- l = [ 4, 8, 9, 2.6, 5 ] is a type of which data type in python?
a) List b) Tuple c) Set d) None of these
8-If x=3.123, then int(x) will give ?
a) 1 b) 0 c) 1 d) 3
9-In order to store values in terms of key and value we use that core data type in
python?
a) List b) Class c) Dictionary d) Tuple
10-Which statement is true from following-
a) List is mutable & Tuple is immutable b) List is immutable & Tuple is mutable
c) Both are Mutable. d) Both are Immutable
Section B
Section C