ASHOKAINSTITUTEOFTECHNOLOGYANDMANAGEMENT,VARANASI
Ashoka Engineering Chauraha, Paharia, Sarnath, Varanasi-221007 (U.P), INDIA
Quiz 1-Odd Sem. 2025-26
Name: Roll number:
Course &Branch: BTech (CE,ME) Subject Name: : Python Programming
Semester: 3rd Subject Code: BCC302
Time: 15 Minutes [Link]: 10
Date of Exam: Day of Exam:
S. Questions Marks CO BL
No.
Section-A
Note: Attempt all Questions. Each question carries mark which is indicated in front of them.
Who developed Python Programming Language?
1(a) a) Wick van Rossum b) Rasmus Lerdorf
1 L1
c) Niene Stom d) Guido van 1
Rossum
Which type of Programming does Python support?
a) object-oriented programming b) structured
1(b) programming 1 1 L1
c) functional programming d) all of the
mentioned
Is Python case sensitive when dealing with
1(c) identifiers?
1 L1
a) no b) yes 1
c) machine dependent d) none of the mentioned
Which of the following is the correct extension of
1(d) the Python file? 1 L1
1
a) .python b) .pl c) .p d) .py
In which year was the Python language
1(e) developed? 1 L1
1
a) 1995 b)1989 c)1972 d) 1981
SectionB
Note: Attempt all Questions. Each question carries mark which is indicated in front of them.
Which of the following is used to define a block of
2(a) code in Python language?
2 L1
a) Indentation b) Key 1
c) Brackets d) All of the mentioned
Which is the correct statement in python?
2(b) a) if b) if else c) if elif else d) All of the 2 L1
above 1
Correct syntax of writing' Simple if' statement
is------------
2(c) a) if Condition Statements b)if(Condition)
2 L1
Statements 1
c)if Condition : Statements d) if Condition --
Statements
2(d) ...........Statement can be written in if block . 2 L1
a) 2 b) 4 c) 10 d) Any number
of 1
Which of the following is variant of conditional
2(e) statement in python?
2 L1
a) Simple if without else b) if...else 1
c) if.....elif d) All of the above