Class XI Practise Papers1
Class XI Practise Papers1
General Instructions:
● This question paper contains five sections, Section A to E.
● All questions are compulsory.
● Section A have 18 questions carrying 01 mark each.
● Section B has 07 Very Short Answer type questions carrying 02 marks each.
● Section C has 05 Short Answer type questions carrying 03 marks each.
● Section D has 03 Long Answer type questions carrying 05 marks each.
● Section E has 02 questions carrying 04 marks each. One internal
choice isgiven in Q35 against part c only.
● All programming questions are to be answered using Python Language only.
SECTION
A
1. OCR stands for? 1
(a) Optical Character Reader (b) Optical Code Reader
(c) Optical Character Recognition (d) Optical Computer Reader
2. Which one of the following is not input device? 1
b) Keyboard (b) Mouse
c) Speaker (d) Scanner
3. Which gate returns true if both inputs are similar otherwise false 1
(a) AND (b) OR
(c) EXOR (d) NOR
4. What is the output of the expression , 1
5*1**5 (a) 125 (b)
25
(c) 5 (d) 1
5. Which character is used in Python to make a single line 1
comment? (a) / (b) //
(c) * (d) #
6. Which of the following is an invalid identifier? 1
(a) my_file (b) myfile13
c) My.File (d) Myfile
7. if L= [ ‘My Score’,95.2, 2022], which data type in Python is used? 1
a. List
b. String
c. Dictionary
d. Tuple
8. Which statement is true from following- 1
a. List is immutable & Tuple is mutable
b. List is mutable & Tuple is immutable
c. Both are mutable
d. Both are immutable
9. Which type of value is returned by the input() function. 1
a. integer
b. float
c. string
d. no value
1 Choose correct 1
8. option:
Str1=’python’
Str1[0] =Str1[0].upper()
Statement 1: Above code will generate error.
Statement 2: String is mutable by nature.
SECTION B
1 What will be the output of the following Python code? 2
9. >>>x,y=5,10
>>>x,y=y,x
>>>x,y
2 What will be the output of the following Python code? 2
0. >>> a=’OK-BYE’
>>> a*=2
>>> a
2 (a) Given is a Python string declaration: 2
1. exam="##KVS Examination
2022##" Write the output of:
print(exam[2:6])
(b) Write the output of the code given below:
Dict1 = {"name": "RAM", "age":
26} Dict1['age'] = 27
Dict1['address'] =
"JAIPUR"
print(Dict1.items())
2 Define the term : 2
2. (a) Hackers
(b) Crackers
2 Name the online activities which would help you detect that your friend is 2
3. being cyber bulled.
2 Predict the output of the Python code given below: 2
4.
(a)
X=range(1,10,
2) for i in X:
print(i)
(b) X,Y=17,4
print
(X//Y)
print(X/Y
)
2 Write a Python program to input a number print its Square if it is 2
5. odd, otherwise print its square root. (use import math function)
SECTION
C
2 Draw logic circuit for given Boolean expression: 3
6. F(A,B,C) = A’B+AB+B’C
2 Find the error in the following code and rewrite corrected code: 3
7. 25=Val
for I in the
range(0,Val) if I
%2==0:
print( I+
1) Else:
print (I‐1
2 Write a python program to print a sum of series up to 10 integers using for 3
8. loop.
2 Write a program to input a list of numbers and find the smallest and largest 3
9. number from the list.
3 What are the benefits of e-waste recycling? 3
0.
SECTION
D
3 Write a python program to accept a string and replace all space by ‘$’ 4
1. symbol.
3 Convert the following number 4
2. system. (a) (11011.10 )2 into ()10
(b) (11100.1010)2 in to ()16
(c) (10AF)16 into
()2 (d) (A42)16
into ()8
SECTION E
3 Write a program to create a dictionary to input total number of sections 5
3. and class teacher’s name of a class 11 and display all information on the
output screen.
3 Which string method is used to implement the following: 5
4. a. To count the number of characters in the string
b. To change the first character of the string in capital letter
c. To change lowercase to uppercase letter
d. To check whether the given character is letter or a number
e. To replace all the occurrences of the old string with the new string.
3 Explain the following: 5
5. Open-Source Software and Proprietary Software
OR
Active and Passive digital footprint
******************************
Class: XI Session: 2022-23 Computer Science (083)
Answer Key Practice Paper-1 (Theory)
SECTION
A
1 (c) Optical Character Recognition 1
.
2 c) Speaker 1
.
3 (d) NOR 1
.
4 (c) 5 1
.
5 (d) # 1
.
6 (c) My.File 1
.
7 List 1
.
8 b. List is mutable & Tuple is immutable 1
.
9 String 1
.
1 d) Open Source Initiative 1
0
.
1 Cyber-bullying 1
1
.
1 (i) Tracking 1
2
.
1 b) 3 1
3
.
1 Yes 1
4
.
1 A. Good 1
5
.
1 b. if…elif 1
6
.
1 (a) Both A and R are true and R is the correct explanation for A 1
7
.
1 ( C) A is True but R is False 1
8
.
SECTION B
1 c) (10,5) 2
9
.
2 c) OK-BYEOK-BYE 2
0
.
2 a) 2
1 KVS
. B)
dict_items([('name', 'RAM'), ('age', 27), ('address', JAIPUR')])
2 Hackers and Crackers : Hackers are most often programmers. Hackers are 2
2 people who hack devices and systems with good intentions. They might hack
. a system for a specified purpose or for obtaining more knowledge out of it.
Crackers: Crackers are people who hack a system by breaking into it and
violating it with some bad intentions. They may hack a system remotely for
stealing the contained data or for harming it permanently. Crackers can
easily be identified because their actions are malicious.
1 mark each for explain the terms
2 Cyberbullying can include: 2
3 Sending mean texts or IMs to
. someone Pranking someone’s cell
phone
Hacking into someone’s gaming or social networking
profile Being rude or mean to someone in an online game
Spreading secrets or rumours about people online
Pretending to be someone else to spread hurtful messages
online 1 mark each for at least two activities
2 Predict the output of the Python code given 2
4 below: 1,3,5,7,9
. 4
4.25
1 mark for each correct output
2 #program to input a number print its square if it is odd otherwise print its 2
5 square root.
.
import math
num=int(input("enter a number :
")) if (num%2!=0):
print("The given number",num, "is odd so its square
is :",num*num) else:
print ("The given number",num, "is even so its square root is :", math.sqrt (num))
2 mark for correct python code
SECTION C
2 Logic circuit for given Boolean 3
6 expression:
.
SECTION D
3 # python program to accept a string and replace all space by ‘$’ symbol. 4
1
. str=input("enter a
string :") str1=" "
for i in str:
if i.isspace():
str1=str1+
'$' else:
str1=str1+i
print("The replaced string is:", str1)
output:
enter a string :I love my india
The replaced string is: I$love$my$india
3 mark for correct python code and 1 mark for output
3 27.50 4
2 1C.A
.
0001000010101111
5102
output:
Enter total number of section in xi
class2 enter section :Science
enter class teacher
name :Sunil enter
section :Humanities enter
class teacher name :Jyoti
Class Section Teacher
Name XI Science
Sunil
XI Huminities Jyoti
3 mark for correct python code and 2 mark for output and documentation.
3 a. len(str) 5
4 b. str.capitalize( )
.
c. str.upper( )
d. ch.isalnum( )
e. str.replace()
Proprietary software is any software that is copyrighted and bears limits against
use, distribution and modification that are imposed by its publisher, vendor or
developer. Proprietary software remains the property of its owner/creator and is
used by end-users/organizations under predefined conditions.
OR
A passive digital footprint is created when data is collected without the owner
knowing. A more personal aspect of your passive digital footprint is your search
history, which is saved by some search engines while you are logged in.
******************************