Python Programming (BMC301) - AKTU Question Paper 2025-26
MCA · Semester 3 · Free PDF Download
This is the official AKTU Python Programming Previous Year Question Paper for MCA Semester 3, academic session 2025-26. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Course:MCA
Semester:Semester 3
Session:2025-26
University:AKTU / UPTU
Rate this paper
5 · 1 rating
Questions Asked in 2025-26
Python Programming (BMC301) — complete question paper · 70 marks · 3 Hours
Section A
- aWhat is the purpose of the id() function in Python? CO
- bHow does list slicing differ from string slicing in Python? CO
- cState one key property that distinguishes a dictionary from a list in Python. CO
- dWhat is the role of the __init__.py file in a Python package? CO
- eDefine an 'exception' in the context of Python programming. CO
- fDifferentiate between the break and continue statements in a loop. CO
- gWhy are tuples considered 'immutable' data types? CO
Section B
- aWrite a Python program to check whether a given number is an Ar mstrong number or not. Explain the logic used. CO
- bDemonstrate with an example how negative indexing and slicing work on Python strings. Write a code snippet to reverse a string using slicing. CO
- cExplain the concept of 'recursion' in Python functions. Write a recursive function to calculate the factorial of a number. CO
- dDescribe the different file opening modes in Python. Write a pr ogram to read a text file and count the number of lines in it. CO
- eWhat is a DataFrame in the context of Python for data analysis? H o w i s i t different from a Series? Write code to create a simple DataFrame using pandas. CO
Section C
- aExplain Python coding standards (PEP 8) with respect to indenta tion, naming conventions, and line length. Why is adherence to these standards important? CO-1 K4 Write a Python program that takes a number as input and prints its multiplication table up to 10, using nested loops. Also, handle invalid input using exception handling. 4.Attempt any one part of the following: 07 x 1 = 07
- aCompare the methods and operations available for lists and tupl es in Python. Under what circumstances would you prefer using a tuple over a list? CO
- bWrite a Python program that takes a list of numbers and returns a new list containing only the even numbers. Use list comprehension. CO-2 K3 5.Attempt any one part of the following: 07 x 1 = 07
- aDiscuss the difference between mutable and immutable data types in Python. How does this distinction affect the way arguments are passed to functions? CO-3 K4 Write a Python function that accepts a dictionary as an argumen t and returns a new dictionary with keys and values swapped. Handle cases where values are not unique. 6.Attempt any one part of the following: 07 x 1 = 07
- aExplain the use of the random and math modules in Python with two examples each. How do these modules enhance the functionality of Python? CO
- bWrite a Python program that uses regular expressions to find al l email addresses in a given text file. CO-4 K3 7.Attempt any one part of the following: 07 x 1 = 07
- aExplain the try, except, else, and finally clauses in Python exception handling with a suitable example. How do user-defined exceptions improve error handling? CO
- bWrite a Python program to read a CSV file using pandas, display i t s f i r s t f i v e rows, and handle any potential file-related exceptions. CO
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.
Python Programming — Other Year Papers
AKTU Python Programming PYQs from other sessions
More MCA Semester 3 (2025-26) Papers
Other subjects from same semester and session
Elementary Mathematics Bridge Course2025-26Cryptography And Network Security2025-26Computer Network2025-26Cloud Computing2025-26Artificial Intellingence2025-26Software Engineering2025-26Data Wirehousing And Date Mining2025-26
View all MCA Semester 3 2025-26 papers →