ASHOKAINSTITUTEOFTECHNOLOGYANDMANAGEMENT,VARANASI
Ashoka Engineering Chauraha, Paharia, Sarnath, Varanasi-221007 (U.P), INDIA
CT 1- Odd/Even Sem.2025-26
Course & Branch: B. Tech.(ME,CE,EC& Subject Name: PYTHON PROGRAMMING
Biotechnology)
Semester: IIIrd (Odd SEM.) Subject Code: BCC302
Time: 90 Minutes [Link]
Date of Exam: Day of Exam:
S. Questions Mark C BL
No. s O
Section-A
Note: Attempt any 3 questions from the following. Question 1(a) is compulsory. Each question
carries equal mark.
1(a) (i) What is the difference between interpreters and 3 1 L1 L2
compilers?
(ii) What are arithmetic operators in Python?
(iii) What are Identity operators in Python?
1(b) Explain the precedence and associativity of various 3.5 1 L2
operators.
1(c) Explain the different data types in Python. 3.5 1 L2
1(d) Explain the Bitwise Operators and Logical Operators in 3.5 1 L2
Python.
Section - B
Note: Attempt any 3 questions from the following. Question 2(a) is compulsory. Each question
carries equal mark.
2(a) (i) What is List in Python? 3 2 L1,L3
(ii) What is Dictionary in Python?
(iii) Write a python code to check if the number entered by
the user is greater than 100.
2(b) Explain the various conditional statements in Python. 3.5 2 L2
2(c) Write a python code to get a number from the user and to 3.5 2 L3
check whether it is even or odd.
2(d) Write a python code to get the marks of 5 subjects from the user 3.5 2 L3
and calculate the average marks scored and calculate the grade
obtained based on the average marks scored.
Average marks socred Grade
91-100 A
81-90 B
71-80 C
61-70 D
51-60 E
<=50 F