Papers / AKTU / B.Tech / Python Programming
AKTU · B.Tech · 3rd semester

AKTU Python Programming (BCC302) Question Paper 2025-26

UniversityDr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow
CourseB.Tech, Semester III
SubjectPython Programming (BCC302)
ExamTheory Examination 2025-26 (odd semester)
Time · Marks3 hours · 70 marks
SourceAKTU question paper, from the ABESIT question paper bank
View original PDF Other years

Note: Attempt all Sections. In case of any missing data; choose suitably.

Section A

Q1. Attempt all questions in brief. 0 · 2 × 7 = 14 marks

  1. What are Python variables? Give an example of declaring numeric data types.
  2. Differentiate between for loop using range and while loop in Python.
  3. Explain string slicing in Python with an example.
  4. What is a tuple in Python? How is it different from a list?
  5. Define dictionary in Python and give an example of its manipulation.
  6. What are read() and readline() functions in file handling?
  7. Explain encapsulation in Python OOP.

Section B

Q2. Attempt any three of the following · 7 × 3 = 21 marks

  1. Explain Python basic operators and data types. Write a program to check if a number is even or odd using if - else.
  2. Describe loop manipulation statements: pass, continue, break. Write a program to print prime numbers between 1 to 50 using for loop.
  3. Discuss string operations and built - in functions. Write a program to count vowels in a string.
  4. Explain list and dictionary in - built functions. Write a program to merge two dictionaries.
  5. Describe file writing functions: write(), writelines(). Write a prog ram to write student records to a file.

Section C

Q3

Attempt any one part of the following · 7 × 1 = 7 marks

  1. Explain Python blocks and conditional statements. Write a program to grade students based on marks using elif.
  2. Discuss for loops with strings and lists. Write a program to sum elements of a

Q4

Attempt any one part of the following · 7 × 1 = 7 marks

  1. Explain functions in Python. Write a function to calculate area of circle.
  2. Describe string manipulation methods. Write a program to replace characters in

Q5

Attempt any one part of the following · 7 × 1 = 7 marks

  1. Explain sets and their operations. Write a program to find difference between two sets.
  2. Discuss tuple and list slicing. Write a program to reverse a tuple.

Q6

Attempt any one part of the following · 7 × 1 = 7 marks

  1. Explain manipulating file pointer using seek(). Write a program to read last n lines from a file. seek()
  2. Describe regular expressions using re module. Write a program to find all digits in a string.

Q7

Attempt any one part of the following · 7 × 1 = 7 marks

  1. Explain inheritance and polymorphism. Write a program showing multiple inheritance.
  2. Discuss Tkinter widgets. Write a program to create a simple window with a label using Tkinter.

Other years

More AKTU Python Programming papers on LearnAIFast.

This paper is reproduced for study purposes only. Copyright belongs to AKTU. Source: the question paper bank of ABES Institute of Technology, an AKTU-affiliated college. If you own the copyright and want it removed, email learnwithskillnest@gmail.com and we will take it down.