Automated PYQ shortlist · Academic review pending. Questions are displayed from OCR. Some formulas and figures may need review.
Review status & sources
Similar question wording is grouped and ranked by the number of distinct exam sessions. Groups with the same count are ordered by their extracted text. Some subjects have only one session. Paper references show the PDF page and extracted question number when available.
Module 1
4 distinct question groups available in the collected papers. More exam sessions are being collected.
Define an algorithm. Write an algorithm to compute GCD of two numbers
using Euclid.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Describe the fundamentals of algorithm problem solving with a neat
diagram.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Develop on algorithm to find an element in an array using sequential search
with an example and find time complexity.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Show 1 Backup Question
List and explain any four important problem types.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Module 2
4 distinct question groups available in the collected papers. More exam sessions are being collected.
Define Brute forcc. Design an algorithm for selection sort. Apply selection
sort to sort the list of numbers : 89, 45, 68, 90, 29.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Develop an algorithm for Brute force string matching. Demonstrate brute
force problem for the following text and pattern :
Text : THE CAT SAT ON THE MAT
Pattern: CAT
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Give the general plan for analyzing the efficiency on non-recursive
algorithm. Develop a non-recursive algorithm to check whether all
elements in a given array ofn elements are distinct. Calculate the efficiency
in terms of order of growth.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Show 1 Backup Question
Illustrate Bubble sort technique with a suitable example. Obtain the
efficiency for bubble sort.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 1
Module 3
4 distinct question groups available in the collected papers. More exam sessions are being collected.
Define Binary tree. Given the following binary tree in Fig.Q6(b), write its
pre-order, post-order and in-order.
Fіg.Q6(b)
Apply the merge sort algorithm to sort the following list of numbers :
37, 28, 42, 4, 10, 92,
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 2
Define exhaustive search. Find the optimal solution for the graph given
Fig. Q5(a) using travelling salesman problem.
10
35
Fig.Q5(a)
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 2
Design an algorithm for depth first search. Illustrate the traversal order of
DES for the given graph Fig Q5(b).
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 2
Show 1 Backup Question
With a suitable example, illustrate two approaches of topological sorting.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 2
Module 4
3 distinct question groups available in the collected papers. More exam sessions are being collected.
Define Heap. Design an algorithm for button-up heap construction. Apply
heap sort to sort the list of numbers 2, 8, 7, 6, 5, 9 in ascending order using
array representation.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Design an algorithm for comparison counting sort. Demonstrate the process |
of sorting with a suitable example.
Devclop Horsepool algorithm for the string matching. Apply Horsepool
algorithm to find the pattern BARBER in the text :
JIM_SAW_ME S_IN_A_BARBERSHOP.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Illustrate AVL tree with its four rotation types.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Module 5
4 distinct question groups available in the collected papers. More exam sessions are being collected.
Define minimum spanning tree. Illustrate the Kruskal algorithm to find
minimum spanning tree for the graph given in Fig.Q10(a).
1
6
Fig.Q10(a)
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Design a Huffman's algorithm, construct Huffman Tree for the following
data :
Symbol D
Frequency 0.35 0.1 0.2 0.2 0.15
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Illustrate the Knapsack problem by considering the following data :
Item Weight Value
2 $
Given capacity W = 5.
OCR transcription · Wording, symbols, or figures may be incomplete.
View question scan & diagrams1 exam session
Dec-2025-Jan-2026 · PDF page 3
Show 1 Backup Question
With a suitable example, demonstrate coin row problem by using dynamic
programming
OCR transcription · Wording, symbols, or figures may be incomplete.