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.
Course:B.Tech
Semester:Semester 3
Session:2021-22
University:AKTU / UPTU
Rate this paper
Questions Asked in 2021-22
Python Programming (KNC-302) — extracted question text
Section AAttempt all q u e s t i o n s i n b r i e f . 2*5 = 10
- 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
Section BAttempt any three o f t h e f o l l o w i n g : 5*3 = 15
- 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
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 5*1 = 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. Check the original PDF for equations, diagrams and complete wording. Extracted: 2026-08-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
Energy Science And Engineering2021-22Mathemativs Iv2021-22Data Structure2021-22Computer Organization And Architecture2021-22Computer System Security2021-22Thermodynamics2021-22Introduction To Soft Computing2021-22Discrete Structures Theory Of Logic2021-22
View all B.Tech Semester 3 2021-22 papers →Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo