Page 52 - PYTHON-11
P. 52
MODEL TEST PAPER 1 (SOLVED)
CLASS XI
COMPUTER SCIENCE (CODE 083)
Time: 3 Hours Maximum Marks: 70
General Instructions:
1. This question paper contains 37 questions.
2. All questions are compulsory. However, internal choices have been provided in some questions. Attempt only one of the
choices in such questions.
3. The paper is divided into 5 Sections—A, B, C, D and E.
4. Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
5. Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
6. Section C consists of 3 questions (29 to 31). Each question carries 3 Marks.
7. Section D consists of 4 questions (32 to 35). Each question carries 4 Marks.
8. Section E consists of 2 questions (36 to 37). Each question carries 5 Marks.
9. All programming questions are to be answered using Python language only.
10. In case of MCQ, text of the correct answer should also be written.
Section A (21 X 1 = 21 Marks)
1. State whether the following statement is True or False? [1]
Python uses indentation to define blocks of code.
Ans. True
2. Identify the output: [1]
a = [2, 4, 6]
a.append(8)
print(a)
(a) [2, 4, 6, 8] (b) [2, 4, 6]
(c) [8, 6, 4, 2] (d) [2, 4, 6, 8, 0]
Ans. (a) [2, 4, 6, 8]
3. RAM stands for __________. [1]
Ans. Random Access Memory
4. Which of the following logic gate’s output is 1 only when both inputs are 1? [1]
(a) NAND (b) OR (c) AND (d) XOR
Ans. (c) AND
5. Which of the following is the correct syntax to create a list in Python? [1]
(a) list = (1, 2, 3) (b) list = {1, 2, 3}
(c) list = [1, 2, 3] (d) list = 1, 2, 3
Ans. (c) list = [1, 2, 3]
6. Convert the following. [1]
(11011) to ( ) .
10
2
Ans. (27)
10
7. Which of the following is an invalid identifier in Python? [1]
(a) price (b) _discount (c) 2ndValue (d) salePrice
Ans. (c) 2ndValue
8. Which of the following protects original literary and artistic works? [1]
(a) Trademark (b) Copyright (c) Patent (d) Trade secret
Ans. (b) Copyright