KRISHNA COLLEGE OF ARTS AND SCIENCE, KRISHNAGIRI
UNIT EXAM-II
CLASS: I-BSc. COMPUTER SCIENCE MARKS: 50 Marks
SUB: Python TIME:
[Link] THE CORRECT ANSWER (15X1=15)
PART-A (10*1=10)
1. Who developed Python Programming Language?
a) Wick van Rossum b) Rasmus Lerdorf c) Guido van Rossum d) Nien Stom
2. Which type of Programming does Python support?
a) object-oriented programming b) structured programming
c) functional programming d) all of the mentioned
[Link] of the following is the correct extension of the Python file?
a).python b) .pl c) .py d) .p
[Link] keyword is used for function in Python language?
a) Function b) def c) Fun d) Define
[Link] of the following functions is a built-in function in python?
a) factorial() b) print() c) seed() d) sqrt()
[Link] will be the output of the following Python statement?
print("a"+"bc")
a) Bc b) abc c) a d) bca
7. Which of the following is a Python tuple?
a) {1, 2, 3} b) {} c) [1, 2, 3] d) (1, 2, 3)
[Link] is the multi-step process of finding and fixing errors, or "bugs," in software or
hardware to ensure it functions correctly?
a) Debugging b) Bugging c) Correction d) Ignore
[Link] symbol is used to create a single-line comment in Python?
a) @ b) % c) # d) &
[Link] keyword is used for function?
a) Fun b) Define c) def d) Function
PART-B (2*5=10)
[Link] about the operator's?
2. History of python and features of Python literal?
PART-C (3*10=30)
[Link] about the Input statement and Output statement?
2. Explain the control statement?
[Link]- Variable and Identifiers keywords?