You are on page 1of 4

EXCEL PUBLIC SCHOOL, MYSURU

PERIODIC ASSESSMENT 2, DECEMBER 2023

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.

Ques Question Marks


No
SECTION A
1. Which of the following is NOT a basic component of a computer system? 1
a. Motherboard
b. Software
c. CPU
d. Storage device

2. Python is a ________ language. 1


a. Procedural
b. Object-oriented
c. Functional
d. All of the above

3. A Kilobyte can be represented as ______________. 1


a. a single character of text
b. a small image or document
c. a few songs or a small video
d. a movie or a large software program

4. The Antivirus installed on your computer is a __________. 1


[1]
a. System Software
b. Utility software
c. Application software
d. All of the above

5. Which of the following is not a valid relational operator? 1


a. !=
b. +=
c. <=
d. ==

6. Identify the construct? 1

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

12. Differentiate between compiler and interpreter. 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

15. Rewrite the following for loop into while loop. 2


for i in range (1,100):
if i % 4 == 2:
print (i,'mod', 4 , '= 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]

You might also like