Python Programming PYQ 2025-26 AKTU (BCC302) Question Paper
AKTU · BTECH · Semester 3, 4 · Python Programming · Session 2025-26 · PYQ
AKTU Python Programming (BCC302) previous year question paper 2025-26 for B.Tech Semester 3/4. Covers Introduction to Python, Program Flow Control, Complex…
Open the interactive reader to study this resource on AcademicArk.
Python Programming AKTU syllabus
- Unit 1: Introduction to Python
- Unit 2: Program Flow Control
- Unit 3: Complex Data Types & Functions
- Unit 4: File Operations & Regular Expressions
- Unit 5: Packages, GUI & OOP
Questions in Python Programming AKTU PYQ 2025-26
- Q1a. What are Python variables? Give an example of declaring numeric data types. (2 marks, 2025-26)
- Q1b. Differentiate between for loop using range and while loop in Python. (2 marks, 2025-26)
- Q1c. Explain string slicing in Python with an example. (2 marks, 2025-26)
- Q1d. What is a tuple in Python? How is it different from a list? (2 marks, 2025-26)
- Q1e. Define dictionary in Python and give an example of its manipulation. (2 marks, 2025-26)
- Q1f. What are read() and readline() functions in file handling? (2 marks, 2025-26)
- Q1g. Explain encapsulation in Python OOP. (2 marks, 2025-26)
- Q2a. Explain Python basic operators and data types. Write a program to check if a number is even or odd using if-else. (7 marks, 2025-26)
- Q2b. Describe loop manipulation statements: pass, continue, break. Write a program to print prime numbers between 1 to 50 using for loop. (7 marks, 2025-26)
- Q2c. Discuss string operations and built-in functions. Write a program to count vowels in a string. (7 marks, 2025-26)
- Q2d. Explain list and dictionary in-built functions. Write a program to merge two dictionaries. (7 marks, 2025-26)
- Q2e. Describe file writing functions: write(), writelines(). Write a program to write student records to a file. (7 marks, 2025-26)
- Q3a. Explain Python blocks and conditional statements. Write a program to grade students based on marks using elif. (7 marks, 2025-26)
- Q3b. Discuss for loops with strings and lists. Write a program to sum elements of a list. (7 marks, 2025-26)
- Q4a. Explain functions in Python. Write a function to calculate area of circle. (7 marks, 2025-26)
- Q4b. Describe string manipulation methods. Write a program to replace characters in a string. (7 marks, 2025-26)
- Q5a. Explain sets and their operations. Write a program to find difference between two sets. (7 marks, 2025-26)
- Q5b. Discuss tuple and list slicing. Write a program to reverse a tuple. (7 marks, 2025-26)
- Q6a. Explain manipulating file pointer using seek(). Write a program to read last n lines from a file. (7 marks, 2025-26)
- Q6b. Describe regular expressions using re module. Write a program to find all digits in a string. (7 marks, 2025-26)
- Q7a. Explain inheritance and polymorphism. Write a program showing multipleinheritance. (7 marks, 2025-26)
- Q7b. Discuss Tkinter widgets. Write a program to create a simple window with a label using Tkinter. (7 marks, 2025-26)
AKTU paper codes: BCC302, BCC402, BCC302H, BCC402H, KNC302, KNC402
Python Programming previous year papers
More Python Programming resources
Browse all notes · Semester 3 notes · Semester 4 notes · Python Programming notes