B.TechSemester 52022-23Programming Data Structures And Algorithms Using PythonKME056

Programming Data Structures And Algorithms Using Python (KME056) - AKTU Question Paper 2022-23

B.Tech · Semester 5 · Free PDF Download

This is the official AKTU Programming Data Structures And Algorithms Using Python Previous Year Question Paper for B.Tech Semester 5, academic session 2022-23. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.

Course:B.Tech
Semester:Semester 5
Session:2022-23
University:AKTU / UPTU

Rate this paper

Questions Asked in 2022-23

Programming Data Structures And Algorithms Using Python (KME056) — complete question paper

Section AAttempt all questions in brief. 2x10 = 20
  • a
    Explain the charac teristics of python
  • b
    Illustrate the syntax of t he range( ) method in python
  • c
    Write short notes on tuple da ta structure with any suitable example
  • d
    Describe big O notation with an example
  • e
    Find out value of Y if X = ‘I love India’ and Y=X [:9:2]
  • f
    Explain the concept of variable length argument with an example
  • g
    Compare the list with the tuple data structure
  • h
    Explain the importance of memoization. (i) Explain hashing a nd write names of different collision techniques (j) Explain abstract data ty pes (ADT) with examples
Section BAttempt any three of the following: 10x3 = 30
  • a
    Illustrate the concept of lis t comprehension. Write a pytho n code to multiply two matrices using the concept of list comprehension
  • b
    Explain ‐filter(),map(),reduc e() functions with example
  • c
    Code a program to use excepti on handling for dividing the n umbers. and explain exception handling in detail
  • d
    Explain Euclid’s algorithm f or the greatest common division problem
  • e
    Explain and write python code for the binary search algorithm and explain its complexity
Section CAttempt any one part of the following: 10x1 = 10
  • a
    Explain the Queue data str ucture. Also, write python code f or different operations
  • b
    Explain the Stack data structure. Also, write python code f or different operations
  • a
    Describe grid path problem a lgorithms. Find out the maximum path from (0,0) to (5,6) if there exist two obstacle points (2,4) and (3,1)
  • b
    Explain loop control statem ents‐break, continue, pass with example
  • a
    Illustrate the concept of mer ge sort. Also, write python code for it
  • b
    Explain different important commands in handling files. Als o , w r i t e p y t h o n code to count the number of lower -case alphabets present in a t ext file “PQR.txt”
  • a
    Write a python function to find out the longest common subs equences. Apply the concept to calculate the longest common subsequence of X = (B,A,C,D,B) and Y = (B,D,C,B)
  • b
    Explain the concept of user-d efined list (linked list). Wri te python code to create a list and print the list
  • a
    Create a binary search tree of the given list [14,16,11,21, 10,13,12,8,36,25,42] and then delete 21 and 25 elements from it. Show all the steps
  • b
    Determine the best multiplication ways of a matrix of a giv en chain of a matrix with order A= 6*7, B= 7*4, C=4*5

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.

Programming Data Structures And Algorithms Using Python — Other Year Papers

AKTU Programming Data Structures And Algorithms Using Python PYQs from other sessions

Syllabus & More PYQs

Paper solve karne se pehle unit-wise syllabus dekh lo