Class 11 QP Prep
Class 11 QP Prep
Class: XI Marks: 70
Subject: Computer Science (083) Time: 3 Hours
General Instructions:
Please check This Question Paper contains 35 questions.
The paper is divided into 5 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 (26 to 30). Each question carries 3 Marks.
Section D, consists of 2 questions (31 to 32). Each question carries 4 Marks.
Section E, consists of 3 questions (33 to 35). Each question 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 function(s) does not require the user’s involvement? 1
a. Input b. Process c. Output d. Storage
2. ___________ is used while booting process of a computer. 1
a. RAM b. ROM c. CACHE d. BIOS
3. A type of software that is designed to help users manage, maintain, and optimise 1
their computer system is
a. Utility software c. Application software
b. System software d. Tailor-Made software
4. Find the invalid identifier from the following. 1
a. none b. pass c. name d. gender
5. Which statement will produce an output for the below operation? 1
ST= ‘Learning Python’
a. ST/2 b. ST*2 c. ST+2 d. ST**2
6. Identify the output of the following Python statements. 1
x, y = 2,10
while x+1 < y:
print (x, end=' ')
x += 1
a. 2345678 b. 3456789 c. 23456789 d. 3456789
7. Which of the following function will return the last three characters of a string 1
‘s’?
a. s[3:] b. s[:3] c. s[-3:] d. [: -3]
8. The function that returns the ASCII value of a character is 1
a. chr() b. ord() c. id() d.
asc()
SECTION B
while n > 0:
n=1-n
for n%2 == 0:
continue
print('Odd Numbers:', n)
print("Loop is finished")
21. Write a program to swap the first and last element of a list. 2
22. Write the difference between split() and partition() with an example. 2
23. What is a membership operator? Explain with an example. 2
24. Explain the difference between random and randint function in python. 2
25. What is an identity fraud? Give an example. 2
SECTION C
,26. Write the output for the string operations below 3
sentence='learning python'
a. print(str3.istitle())
b. print(sentence[:5])
c. print(‘-‘.join(sentence))
d. print(sentence[-1:-10])
27. What are the different types of errors in python? Give an example. 3
28. Write a program to generate prime numbers up to 50. 3
29. Write the output for the following questions. 3
tu=('learning', 'python', 'is', 'fun')
a. for i in tu:
print(len(i))
b. for i in tu:
t3=i[:2]
print(t3)
c. tu1=sorted(tu)
print(tu1)
32. Write the output of the methods below on the following dictionary. 4
d1={1:5000,3:2000,2:9000,5:4000,4:8000}
a. d2=d1.copy()
b. d1.pop()
c. sorted(d1.values(),reverse=True))
d. k,v=d1.popitem()
SECTION E
33. a. Softwares that are neither free nor open are called as ____________. 5
b. ____________ is an act of stealing someone else’s intellectual work and
representing as your own.
c. Any information such as email, online account, document on a pen drive
is a ___________ property.
d. A fake email from a bank asking you to click a link and verify your
account details is an example of _____________.
e. ______________ refers to creations of the mind, such as inventions;
literary and artistic works, designs and symbols, names and images used
in commerce.
34. What is e-waste? How is e-waste generated, write the methods to manage it? 5
35. Write various methods of creating strings in python with an example. 5