Python Programming (KNC-302) - AKTU Question Paper 2021-22
B.Tech · Semester 3 · Free PDF Download
This is the official AKTU Python Programming Previous Year Question Paper for B.Tech Semester 3, academic session 2021-22. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Rate this paper
Questions Asked in 2021-22
Python Programming (KNC-302) — complete question paper
- aExplain the Programmin g Cycle for Python in detail. 1
- bWhat will be the output of the following Python code? while i< 3: print(i) else: print(0)
- cWhat will be the output of the following Python code? def cube(x): return x * x * x x = cube(3) print x
- dHow do we define an Interface for an ADT? 4
- eHow do you perform a search in Python? 5
- aWhat do you mean by Python IDE ? Explain in detail. 1
- bHow can you randomize the items of a list in place in Pytho n? 2
- cExplain Tuples and Unpacki ng Sequences in Python Data Structure. 3
- dWhat are File input and out put operations in Python Programming? 4
- eSolve the Tower of Hanoi problem for n= 3 disk and show all the steps. 5
- aWrite a program in Python to ex ecute the Selection sort algorithm. 5
- bExplain why python is consider ed an interpreted language. 1
- aWrite a Python program to construct the following pattern, using a nested for loop
- bWrite a program to produce Fibonacci series in Python. 4
- aWrite a Python program to change a given string to a new string where the first and last chars have been exchanged
- bWrite a Python program to add an item in a tuple. 3
- aHow to create and import a module in Python? 4
- bExplain the algorithm Sieve of Eratosthene used in Python Programming
- aWrite a Recursive function in python BinarySearch(Arr,l,R,X ) to search the given element X to be searched from the List Arr hav ing R elements, where l represent slower bound and R represents the u pper bound
- bExplain the terms Merge Lis t and Merge Sort in Python Programming. 5
Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.
Repeated Questions — KNC-302
Questions that appeared in more than one session, found by comparing 2 years of Python Programming papers (2021-22, 2022-23)
Explain the Programmin g Cycle for Python in detail. 1
Appeared in: 2021-22 · 2022-23
How to create and import a module in Python? 4
Appeared in: 2021-22 · 2022-23
Python Programming — Other Year Papers
AKTU Python Programming PYQs from other sessions
More B.Tech Semester 3 (2021-22) Papers
Other subjects from same semester and session
Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo