B.TechSemester 32025-26Python ProgrammingBCC302

Python Programming (BCC302) - AKTU Question Paper 2025-26

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 2025-26. 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:2025-26
University:AKTU / UPTU

Rate this paper

Questions Asked in 2025-26

Python Programming (BCC302) — complete question paper · 70 marks · 3 Hours

Section AAttempt all questions in brief. 02 x 7 = 14
  • a
    What are Python variables? Give an example of declaring numeric data types
  • b
    Differentiate between for loop using range and while loop in Python
  • c
    Explain string slicing in Python with an example
  • d
    What is a tuple in Python? How is it different from a list?
  • e
    Define dictionary in Python and give an example of its manipulation
  • f
    What are read() and readline() functions in file handling?
  • g
    Explain encapsulation in Python OOP
Section BAttempt any three of the following: 07 x 3 = 21
  • a
    Explain Python basic operators and data types. Write a program to check if a number is even or odd using if-else
  • b
    Describe loop manipulation statements: pass, continue, break. Write a program to print prime numbers between 1 to 50 using for loop
  • c
    Discuss string operations and built -in functions. Write a program to count vowels in a string
  • d
    Explain list and dictionary in -built functions. Write a program to merge two dictionaries
  • e
    Describe file writing functions: write(), writelines(). Write a prog ram to write student records to a file
Section CAttempt any one part of the following: 07 x 1 = 07
  • a
    Explain Python blocks and conditional statements. Write a program to grade students based on marks using elif
  • b
    Discuss for loops with strings and lists. Write a program to sum elements of a list
  • a
    Explain functions in Python. Write a function to calculate area of circle
  • b
    Describe string manipulation methods. Write a program to replace characters in
  • a
    Explain sets and their operations. Write a program to find difference between two sets
  • b
    Discuss tuple and list slicing. Write a program to reverse a tuple
  • a
    Explain manipulating file pointer using seek(). Write a program to read last n lines from a file
  • b
    Describe regular expressions using re module. Write a program to find all digits in a string
  • a
    Explain inheritance and polymorphism. Write a program showing multipleinheritance
  • b
    Discuss Tkinter widgets. Write a program to create a simple window with a label using Tkinter

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.

Syllabus & More PYQs

Paper solve karne se pehle unit-wise syllabus dekh lo