Python Programming (BCC402) - AKTU Question Paper 2024-25
B.Tech · Semester 4 · Free PDF Download
This is the official AKTU Python Programming Previous Year Question Paper for B.Tech Semester 4, academic session 2024-25. 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 2024-25
Python Programming (BCC402) — complete question paper · 70 marks · 3 Hours
- aWhat are Python variables? Explain with examples
- bDescribe Python basic opera tors with suitable examples
- cExplain different Python data types with examples
- dHow are numeric data types declared and used in Python?
- eWrite a Python program to demon strate type casting between int, float, and string
- fExplain the use of if, else, an d elif. Write a Python program tocheckthe given number is even or odd using if and else statement
- gDifferentiate between for loop and while loop with syntax and examples
- aWhat are break, continue, and pass statements? Give code exa mples
- bWrite a Python program using for loop and dictionary to disp lay student grades
- cDiscuss the use of nested loops in Python. Write a program t o print a right-angled triangle of stars
- dExplain string slicing and string operations in Python
- eDescribe how tuples differ fr om lists in Python with examples
- aWrite a program to demonstrat eCreate, Read, Update, and Dele te(CRUD) operations on a dictionary
- bExplain commonly us ed string methods in Python. Write a prog ram using the following operations on the given string: text = " Machine Learning " Use the following methods lower() upper() strip() replace() find() count() text = " Machine Learning " lower() upper() strip() replace() find() count()
- aHow can data be organized usi ng complex data types in Python?
- bExplain file handling modes in Python
- aWrite a program to read and write data from a text file.How do readline() and readlines() work? Explain with examples
- bWhat is the purpose of the s eek() method in file handling?De monstrate a program that copies content from one file to another
- aWrite a Python program using numpy to perform matrix operations
- bExplain the use of matplotlib for data visualization. Write a program to visualize Line plots using these data
- aWhat is GUI programming in P ython? Write a GUI-based Python program using Tkinter to accept and display student data
- bHow do we use packages in Python programming? Explain the us e of pandas
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 — BCC402
Questions that appeared in more than one session, found by comparing 2 years of Python Programming papers (2024-25, 2025-26)
Differentiate between for loop and while loop with syntax and examples
Appeared in: 2024-25 · 2025-26
What is the purpose of the s eek() method in file handling?De monstrate a program that copies content from one file to another
Appeared in: 2024-25 · 2025-26
Python Programming — Other Year Papers
AKTU Python Programming PYQs from other sessions
More B.Tech Semester 4 (2024-25) Papers
Other subjects from same semester and session
Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo