0% found this document useful (0 votes)
24 views13 pages

Class XI Practise Papers1

This document is a practice paper for Class XI Computer Science (083) for the session 2022-23, consisting of five sections with a total of 70 marks. It includes various types of questions such as multiple choice, short answer, and programming tasks, all of which must be answered using Python. The paper covers topics like data types, programming concepts, cyber security, and logic circuits.

Uploaded by

gurubaran1704
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views13 pages

Class XI Practise Papers1

This document is a practice paper for Class XI Computer Science (083) for the session 2022-23, consisting of five sections with a total of 70 marks. It includes various types of questions such as multiple choice, short answer, and programming tasks, all of which must be answered using Python. The paper covers topics like data types, programming concepts, cyber security, and logic circuits.

Uploaded by

gurubaran1704
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Class: XI Session: 2022-23 Computer Science (083)

Practice Paper-1 (Theory)


Maximum Marks: 70 Time : 3 hours

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 OSI stands for 1


0. a) Open Source Index
b) Open Source Image
c) Open Source Instant
d) Open Source Initiative
1 Pooja’s classmate sent her a message on Facebook “You are a Loser”. Pooja 1
1. is victim of :-
a) Phishing
b) Trolling
c) Cyber-bullying
d) Criticis
1 Which is not a cyber crime? 1
2. (i)
Tracking
(ii)Phishi
ng
(iii) Ransomware
(iv) Hacking
1 Find the output of the 1
3. following str=”My School”
print(str.find(‘School’,2)
(d) 4
(e) 3
(f) 7
(d) 9
1 Does Python support any empty or null statement? 1
4.
a. Yes
b. No
c. May be
d. Don’t Know
1 Predict the output of the following code: 1
5. Var=5
if Var>4 OR VAR<6 AND Var==10
print(“Goo
d”) else:
print(“Not Good”)

a. Good b . Not Good c. no output d. none


1 Which statement is used for checking multiple conditions in Python? 1
6.
a. else if b. if…elif c. switch d. None of the above
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the
correct
choice as
(a) Both A and R are true and R is the correct explanation for A
(n) Both A and R are true and R is not the correct explanation for A
(o) A is True but R is False
(p) A is false but R is True
1 Choose correct option : 1
7. Dic1={ ’A’:’CS’, ‘B’:’IP’}
Dic2={ ’B’:’IP’, ‘A’:’CS’}
Statement 1: Output of print (Dic1==Dic2) is True.
Statement 2: Dictionary is a collection of key-value pairs. It is not
a sequence.

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:
.

3 mark for correct logic circuit


2 Find the error in the following code and rewrite corrected code: 3
7 Val = 25 #Error
. 1 for I in range(0,Val):
#Error 2 if I%2==0:
print( I+1)
else: #Error 3
print (I‐1)
1 mark for each corrected error
2 #program to print a series and sum of series upto 10 integers using for loop. 3
8 sum=0
. for i in range (1,11):
print (i)
sum=sum
+i
print("sum of series is
" ,sum) 3 mark for correct
python code
2 mylist=[] 3
9. num=int(input("how many elements to be entered:
")) for i in range(num):
item=int(input("enter elements :
")) mylist.append(item)
print("Largest element in the list is ", max(mylist))
print("Smallest element in the list is ", min(mylist))
output:
how many elements to be
entered: 5 enter elements : 1
enter
elements : 2
enter
elements : 5
enter
elements : 4
enter
elements : 3
Largest element in the list is
5 Smallest element in the list
is 1

3 mark for correct python code


3 (i) Protects public health and water quality 3
0 (ii) Allow for recovery of valuable precious metals.
. (iii) Save landfill space
(or any other relevant point 1 mark for each correct line)

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

1 mark for each correct conversion


SECTION E
3 classxi = dict () 5
3 n = int(input("Enter total number of section in xi
. class")) i = 1
while i <= n :
a = input ("enter section :")
b = input ("enter class teacher
name :") classxi[a]= b
i = i+1
print ("Class", "\t", "Section","\t", "Teacher
Name") for i in classxi :
print ("XI", "\t", i, "\t", classxi[i])

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()

1 mark for each correct string function


3 Open Software and Proprietary Software 5
5 Open source software (OSS) is software that is distributed with its source code,
. making it available for use, modification, and distribution with its original rights.

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

Active and Passive Digital Footprint


Active digital footprints are created when a user, for the purpose of sharing
information about oneself by means of websites or social media, deliberately. An
"active digital footprint" includes data that you intentionally submit online.
Sending an email contributes to your active digital footprint, since you expect the
data be seen and/or saved by another person. The more email you send, the more
your digital footprint grows.

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.

21/2 mark for each correct definition

******************************

You might also like