0% found this document useful (0 votes)
28 views4 pages

Set 5 - QP

This document is a practice paper for Class XI Computer Science (083) for the session 2022-23, comprising five sections with a total of 70 marks. It includes various types of questions such as multiple choice, short answer, and programming tasks focused on Python. The paper covers topics like data types, programming concepts, cyber safety, and Boolean logic.

Uploaded by

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

Set 5 - QP

This document is a practice paper for Class XI Computer Science (083) for the session 2022-23, comprising five sections with a total of 70 marks. It includes various types of questions such as multiple choice, short answer, and programming tasks focused on Python. The paper covers topics like data types, programming concepts, cyber safety, and Boolean logic.

Uploaded by

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

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

Practice Paper-5 (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 , 5*1**5 1
(a) 125 (b) 25
(c) 5 (d) 1
5. Which character is used in Python to make a single line comment? 1
(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

10. OSI stands for 1


a) Open Source Index
b) Open Source Image
c) Open Source Instant
d) Open Source Initiative
11. Pooja’s classmate sent her a message on Facebook “You are a Loser”. Pooja is 1
victim of :-
a) Phishing
b) Trolling
c) Cyber-bullying
d) Criticis
12. Which is not a cyber crime? 1
(i) Tracking
(ii)Phishing
(iii) Ransomware
(iv) Hacking
13. Find the output of the following 1
str=”My School”
print(str.find(‘School’,2)
(d) 4
(e) 3
(f) 7
(d) 9
14. Does Python support any empty or null statement? 1

a. Yes
b. No
c. May be
d. Don’t Know
15. Predict the output of the following code: 1
Var=5
if Var>4 OR VAR<6 AND Var==10
print(“Good”)
else:
print(“Not Good”)

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


16. Which statement is used for checking multiple conditions in Python? 1

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
17. Choose correct option : 1
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.

18. Choose correct option: 1


Str1=’python’
Str1[0] =Str1[0].upper()
Statement 1: Above code will generate error.
Statement 2: String is mutable by nature.

SECTION B
19. What will be the output of the following Python code? 2
>>>x,y=5,10
>>>x,y=y,x
>>>x,y
20. What will be the output of the following Python code? 2
>>> a=’OK-BYE’
>>> a*=2
>>> a
21. (a) Given is a Python string declaration: 2
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())
22. Define the term : 2
(a) Hackers
(b) Crackers
23. Name the online activities which would help you detect that your friend is 2
being cyber bulled.
24. Predict the output of the Python code given below: 2

(a) X=range(1,10,2)
for i in X:
print(i)

(b) X,Y=17,4
print (X//Y)
print(X/Y)
25. Write a Python program to input a number print its Square if it is odd, 2
otherwise print its square root. (use import math function)
SECTION C
26. Draw logic circuit for given Boolean expression: 3
F(A,B,C) = A’B+AB+B’C
27. Find the error in the following code and rewrite corrected code: 3
25=Val
for I in the range(0,Val)
if I%2==0:
print( I+1)
Else:
print (I-1
28. Write a python program to print a sum of series up to 10 integers using for 3
loop.
29. Write a program to input a list of numbers and find the smallest and largest 3
number from the list.
30. What are the benefits of e-waste recycling? 3
SECTION D
31. Write a python program to accept a string and replace all space by ‘$’ symbol. 4
32. Convert the following number system. 4
(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
33. Write a program to create a dictionary to input total number of sections and 5
class teacher’s name of a class 11 and display all information on the output
screen.
34. Which string method is used to implement the following: 5
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.
35. Explain the following: 5
Open-Source Software and Proprietary Software
OR
Active and Passive digital footprint

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

You might also like