Professional Documents
Culture Documents
Class: XI Marks: 35
Subject: Computer Science (083) Time: 1½ Hours
General Instructions:
This question paper contains 19 questions.
The paper is divided into 5 Sections- A, B, C, D and E.
Section A consists of 10 questions (1 to 10). Each question carries 1 Mark.
Section B consists of 5 questions (11 to 15). Each question carries 2 Marks.
Section C consists of 2 questions (16 to 17). Each question carries 3 Marks.
Section D consists 1 question (18). It carries 4 Marks.
Section E consists 1 question (19). It carries 5 Marks.
All programming questions are to be answered using Python Language only.
7. Which method can be used to identify whether ‘Orange’ is available in the string "Orange 1
juice is good for health"?
a. in
b. is
c. if
d. id
8. Arnav is using a laptop running on Windows 8. Which type of interface is used by him? 1
a. Character user interface
b. Command line interface
c. Graphical user interface
d. Digital user interface.
9. A nibble is a group of 1
a. 1 bit
[2]
b. 2 bits
c. 4 bits
d. 8 bits
10. What will be the output of the code given below? 1
import math
x= 144
print(x and math.sqrt(x)
a. True
b. 1
c. 144
d. 12.0
SECTION B
11. What are the datatypes available in Python? 2
13. Convert: 2
a. (5846)10 = (?)2
b. (1010111)2 = (?)10
14. Write a program to check whether the entered string is palindrome or not. 2
SECTION C
16. Write a program to check whether the entered character is alphabet, digit or special 3
character.
17. Write a program to print the factorial of a given number. 3
SECTION D
[3]
18. Write the functional component of a computer with block diagram. 4
SECTION E
19. Write the method that will be used on the list to get the desired output. 5
LIST1=[10,20,30,20,10,40,50,20]
LIST2=[60,70,80]
a. To add one item 45 in the list between 40 and 50.
b. To display the deleted item from the list.
c. To add elements of LIST2 to LIST1.
d. To display the list elements in ascending order.
e. To display the occurrence of 20 in LIST1.
[4]