Page 73 - PYTHON-11
P. 73
11. Plagiarism can be classified as .......................... . (1)
(a) Accidental (b) Deliberate
(c) Unintentional (d) All of these
12. What will be the output of the following code? (1)
import math
x = math.sqrt(25)
y = math.factorial(4)
print(x, y)
(a) 5.0, 24 (b) 5 24 (c) 5.0 120 (d) 5.0 24
13. The process of forming a tuple from individual values is called .......................... in Python. (1)
14. Strings are .......................... while tuples are .......................... in Python. (1)
(a) mutable, immutable (b) mutable, mutable
(c) immutable, immutable (d) immutable, mutable
15. Select the correct output of the following code. (1)
text = "Decoding Data"
print(text[::-2])
(a) aa ndcD (b) Dcdn aa (c) aig oD (d) D gn oD
16. What is the main environmental risk associated with improper disposal of e-waste? (1)
(a) Increase in oxygen levels
(b) Release of toxic chemicals into the soil and water
(c) Improvement of soil fertility
(d) Decrease in air pollution
17. .......................... is defined as a crime in which a computer is used as a tool to commit an offence. (1)
18. Which of the following is the correct way to create an empty dictionary? (1)
(a) Dt={ } (b) Dt= dict( ) (c) Both (a) and (b) (d) None of these
19. Observe the given code and select the correct output. (1)
t = (11, 22, 33) * 2
print(t)
(a) (11, 22, 33) (b) (11, 22, 33, 11, 22, 33)
(c) [11, 22, 33, 11, 22, 33] (d) Error
Q. 20 and Q 21 are Assertion(A) and Reason(R) based questions. Mark the correct choice as:
(i) Both A and R are true and R is the correct explanation for A.
(ii) Both A and R are true but R is not the correct explanation for A.
(iii) A is true but R is false.
(iv) A is false but R is true.
20. Assertion (A): + operator can be used to concatenate two strings in Python. (1)
Reason (R): + operator performs addition for numerical data types and concatenation for string data types.
21. Assertion (A): Intellectual Property Rights (IPR) protect the creations of the mind, such as inventions,
literary works, and artistic works. (1)
Reason (R): Copyright, patents and trademarks are examples of Intellectual Property Rights.
Section-B (7 × 2 = 14 Marks)
22. Draw a logic circuit for the following equations. (2)
(a) (X+Y)’ + Z
(b) (A.B)’+ (C.D’)
23. What is the purpose of None data type in Python? (2)
24. Write any four limitations of Python. (2)
P.6