c) (1,2,3) d) <1,2,3>
DEPARTMENT OF COMPUTER SCIENCE
FIRST CONTINUOUS INTERNAL ASSESSMENT DEPARTMENT OF COMPUTER SCIENCE
AUGUEST 2025 FIRST CONTINUOUS INTERNAL ASSESSMENT
AUGUEST 2025
Subject: PYTHON PROGRAMMING
Class : III CS Subject: PYTHON PROGRAMMING
Max. Mark: 30 Class : III CS
Time: 2 hrs Max. Mark: 30
Time: 2 hrs
SECTION-A
K- SECTION-A
Q.No Choose the correct answer: - 7x1 = 7 Marks CO
Level K-
Q.No Choose the correct answer: - 7x1 = 7 Marks CO
What is the correct file extension for Python Level
1 files? K1 CO1 What is the correct file extension for Python
a). pyth b) .py c) .pt d). p 1 files? K1 CO1
Python is a ______ typed language. a). pyth b) .py c) .pt d). p
2 a) Strongly b) Statically K1 CO1 Python is a ______ typed language.
c) Dynamically d) Manually 2 a) Strongly b) Statically K1 CO1
What does # symbol signify in Python? c) Dynamically d) Manually
3 a) Loop b) Operator K1 CO1 What does # symbol signify in Python?
c) Comment d) Error 3 a) Loop b) Operator K1 CO1
The output of 2 ** 3 is: c) Comment d) Error
4 K2 CO1
a) 6 b) 8 c) 9 d) 5 The output of 2 ** 3 is:
4 K2 CO1
Indentation in Python is: a) 6 b) 8 c) 9 d) 5
5 a) Not required b) Optional K2 CO2 Indentation in Python is:
c) Required d) Only for loops 5 a) Not required b) Optional K2 CO2
What does the continue statement do? c) Required d) Only for loops
6 a) Skips iteration b) Stops execution K2 CO2 What does the continue statement do?
c) Ends loop d) Repeats code 6 a) Skips iteration b) Stops execution K2 CO2
Which one is a tuple? c) Ends loop d) Repeats code
7 K1 CO2
a) [1,2,3] b) {1,2,3}
Which one is a tuple?
7 a) [1,2,3] b) {1,2,3} K1 CO2
c) (1,2,3) d) <1,2,3>
SECTION-B
SECTION-B Answer all the questions
Answer all the questions K-
Q.N K- Q.No PART A - 5 x 3 = 15 Marks Leve CO
PART A - 5 x 3 = 15 Marks CO l
o Level
8(a) List any six Python reserved keywords. (Or) K1 CO1 8(a) List any six Python reserved keywords. (Or) K1 CO1
Explain how Python executes code from the Explain how Python executes code from the
(b) K2 CO1 (b) command line. K2 CO1
command line.
Analyze the difference between lists and tuples Analyze the difference between lists and tuples
9(a) K4 CO2 9(a) using code. (Or)
K4 CO2
using code. (Or)
Write a program to add two numbers using user Write a program to add two numbers using user
(b) K3 CO1 (b) input. K3 CO1
input.
10(a) Write a simple program using a while loop. (Or) K3 CO2 10(a) Write a simple program using a while loop. K3 CO2
(Or)
Differentiate between break and continue with
(b) K2 CO2 Differentiate between break and continue with
examples. (b) K2 CO2
examples.
SECTION-C SECTION-C
Q.N K- K-
PART B - 1 x 8 = 8 Marks CO
o Level Q.No PART B - 1 x 8 = 8 Marks Leve CO
Explain Python’s standard data types with l
11(a) K2 CO1
examples. (Or) Explain Python’s standard data types with
Explain the use of logical, relational, and bitwise 11(a) K2 CO1
(b) K4 CO1 examples. (Or)
operators with examples.
Explain the use of logical, relational, and
(b) K4 CO1
bitwise operators with examples.