GTU · BE Computer · Semester 5

GTU 3150703 Analysis and Design of Algorithms (ADA) Old Question Papers PDF

Official Gujarat Technological University (GTU) old question papers PDF (Regular & Remedial) and step-by-step solved questions for Analysis and Design of Algorithms (ADA) across 2023 – 2026 examinations.

7 papers, 2023 – 202670 marks23 to pass2.5 hours
39 questions GTU asked more than onceAsked in 6 of 7 papers: Explain the Principle of Optimality in Dynamic Programming with a suitable example.See list

Exam papers

Most repeated questions

39 questions GTU set in two or more of 7 papers, most repeated first. Tap a year to open that paper at the question.

  1. Explain the Principle of Optimality in Dynamic Programming with a suitable example.

    3 marksAsked in 6 of 7 papers

    Summer 2026 Q3a Winter 2025 Q3a Summer 2025 Q4a Winter 2024 Q4b OR Summer 2024 Q3a Summer 2023 Q3a

  2. Find the Minimum Spanning Tree using Kruskal’s algorithm for the following graph: Vertices = {A, B, C, D, E} Edges with weights: A-B: 2, A-C: 3, B-C: 1, B-D: 4, C-E: 5, D-E: 2.

    7 marksSame type asked in 5 of 7 papers

    Summer 2026 Q4c Winter 2025 Q4c OR Summer 2025 Q4b OR Winter 2023 Q4b OR Summer 2023 Q4c OR

  3. Explain backtracking method. What is 4 queen problem? Show its all possible solutions.

    7 marksAsked in 5 of 7 papers

    Winter 2025 Q5c Summer 2025 Q5b Winter 2024 Q5a OR Summer 2024 Q5b Winter 2023 Q4c OR

  4. For the Rabin-Karp algorithm, given T = '31415926535', P = '26', base d = 10, and prime q = 13: Compute hash values of pattern and first few text substrings. Identify matching positions.

    4 marksSame type asked in 5 of 7 papers

    Summer 2026 Q5b Winter 2025 Q5c OR Summer 2024 Q5c OR Winter 2023 Q5c OR Summer 2023 Q5a

  5. Explain the Huffman Coding algorithm with a suitable example and construct the Huffman Tree.

    4 marksSame type asked in 5 of 7 papers

    Summer 2026 Q3b Winter 2025 Q4b OR Summer 2024 Q4b OR Winter 2023 Q3b OR Summer 2023 Q4a

  6. Solve following instance of knapsack problem using dynamic programming: W = [1, 2, 5, 6, 10], V = [1, 6, 18, 22, 30] and Knapsack capacity M =

    7 marksSame type asked in 4 of 7 papers

    Winter 2025 Q3c Summer 2024 Q4c OR Winter 2023 Q3c OR Summer 2023 Q3c OR

  7. For the two strings X = AGGTAB and Y = GXTXAYB, find the Longest Common Sub-sequence using Dynamic Programming.

    7 marksSame type asked in 4 of 7 papers

    Summer 2026 Q3c OR Winter 2025 Q3c OR Summer 2025 Q4c OR Summer 2024 Q3c

  8. Outline algorithm for Prim’s method and find MST for given graph using Prim’s method

    7 marksSame type asked in 4 of 7 papers

    Winter 2025 Q4c Winter 2024 Q4c Summer 2024 Q3c OR Summer 2023 Q4c

  9. Solve the recurrence relation T(n) = 2T(n/2) + n using the Master Theorem.

    4 marksSame type asked in 4 of 7 papers

    Summer 2026 Q2b Winter 2024 Q2c Summer 2024 Q2b Winter 2023 Q1b

  10. Explain polynomial time reduction

    3 marksAsked in 4 of 7 papers

    Winter 2025 Q5a OR Summer 2025 Q5a OR Winter 2023 Q5a OR Summer 2023 Q5a OR

Show 29 more repeated questionsHide the 29 more
  1. Show naïve string matching algorithm with example.

    3 marksAsked in 4 of 7 papers

    Winter 2025 Q5a Summer 2025 Q5c Summer 2024 Q5b OR Summer 2023 Q5b

  2. Explain P, NP, NP complete and NP-Hard problems. Give examples of each.

    7 marksAsked in 3 of 7 papers

    Winter 2024 Q5c Winter 2023 Q5c Summer 2023 Q5c OR

  3. Find the optimal way of multiplying following matrices using dynamic programming. Also indicate optimal number of multiplications required. A:2 x 3, B: 3 x 5, C:5 x 6, D: 6 x 2, E: 2 x

    7 marksSame type asked in 3 of 7 papers

    Summer 2025 Q4c Winter 2024 Q3c Winter 2023 Q3c

  4. Write binary search algorithm and analyze it for worst case time complexity. Represent its time complexity using Big-oh (O) notation.

    7 marksAsked in 3 of 7 papers

    Summer 2025 Q1c Winter 2024 Q2c OR Summer 2023 Q2c

  5. Find one possible topological ordering for the directed graph with edges: (5→2), (5→0), (4→0), (4→1), (2→3), (3→1).

    4 marksSame type asked in 3 of 7 papers

    Summer 2026 Q4b OR Winter 2025 Q5b Summer 2023 Q4b OR

  6. Summarize and explain the properties of algorithm

    4 marksAsked in 3 of 7 papers

    Winter 2025 Q1b Winter 2023 Q1a Summer 2023 Q2a

  7. Define the characteristics of greedy algorithms

    3 marksAsked in 3 of 7 papers

    Winter 2025 Q3a OR Winter 2024 Q3a OR Winter 2023 Q2a

  8. Perform Counting Sort on the input array A = [4, 2, 2, 8, 3, 3, 1]. Show all steps counting array, cumulative count, and the final sorted output.

    3 marksSame type asked in 3 of 7 papers

    Summer 2026 Q2a Winter 2024 Q2a Winter 2023 Q3a OR

  9. Illustrate the working of the quick sort on input instance: 25, 29, 30, 35, 42, 47, 50, 52, 60. Comment on the nature of input i.e. best case, average case or worst case.

    7 marksAsked in 2 of 7 papers

    Summer 2024 Q2c Winter 2023 Q2c

  10. Solve the following Knapsack Problem using greedy method. Number of items = 5, knapsack capacity W = 100, weight vector = {50, 40, 30, 20, 10} and profit vector = {1, 2, 3, 4, 5}.

    7 marksAsked in 2 of 7 papers

    Summer 2024 Q4c Winter 2023 Q5b

  11. Solve the 0/1 Knapsack problem using dynamic programming for the given data: Weights = [2, 3, 4, 5], Values = [3, 4, 5, 6], Capacity = 5.

    7 marksAsked in 2 of 7 papers

    Summer 2026 Q3c Winter 2024 Q3c OR

  12. Write an algorithm for insertion sort. Calculate the best, average and worst case complexity of it.

    7 marksAsked in 2 of 7 papers

    Winter 2024 Q1c Summer 2024 Q1c

  13. Construct solution using Merge sort on the given data sequence: 88, 77, 22, 55, 11, 33, 66, 99, 44. Also state its recurrence and solve it.

    7 marksSame type asked in 2 of 7 papers

    Winter 2025 Q2c OR Winter 2023 Q3a

  14. Describe the Knapsack Problem and mention why the Greedy approach works for the fractional version but not for the 0/1 version.

    4 marksAsked in 2 of 7 papers

    Summer 2026 Q3b OR Winter 2024 Q4c OR

  15. Compare and contrast: Backtracking vs. Branch and Bound

    4 marksAsked in 2 of 7 papers

    Winter 2025 Q5b OR Summer 2023 Q5b OR

  16. Differentiate: BFS vs DFS

    4 marksAsked in 2 of 7 papers

    Winter 2025 Q4b Summer 2024 Q5a OR

  17. Explain the amortized analysis technique with an example.

    4 marksAsked in 2 of 7 papers

    Summer 2026 Q1b Winter 2024 Q1b

  18. Sort the following elements using bucket sort. 10, 21, 29, 41, 52

    4 marksSame type asked in 2 of 7 papers

    Winter 2024 Q2b Summer 2023 Q1b

  19. Demonstrate Binary Search method to search Key = 14, form the array A=<2,4,7,8,9,10,12,14,18>

    4 marksSame type asked in 2 of 7 papers

    Summer 2024 Q3b OR Winter 2023 Q5a

  20. Enlist the advantages and disadvantages of dynamic programming.

    4 marksAsked in 2 of 7 papers

    Winter 2024 Q4b Summer 2023 Q3b

  21. Given coins of denominations 2, 3 and 4 with amount to be pay is 5. Find optimal no. of coins and sequence of coins used to pay given amount using dynamic method.

    4 marksSame type asked in 2 of 7 papers

    Winter 2023 Q4b Summer 2023 Q3c

  22. Explain Binomial Coefficient algorithm using dynamic programming.

    4 marksSame type asked in 2 of 7 papers

    Summer 2024 Q3b Winter 2023 Q4a OR

  23. Explain activity selection problem.

    4 marksAsked in 2 of 7 papers

    Winter 2025 Q3b OR Summer 2025 Q3c

  24. Explain the steps of greedy strategy for solving a problem.

    3 marksAsked in 2 of 7 papers

    Winter 2024 Q3a Summer 2024 Q3a OR

  25. Discuss the Eight Queens Problem in detail. Write the backtracking algorithm and demonstrate the solution process.

    3 marksAsked in 2 of 7 papers

    Summer 2026 Q5a Summer 2023 Q5c

  26. Define Articulation point, Acyclic Directed Graph, Back Edge

    3 marksAsked in 2 of 7 papers

    Winter 2025 Q4a OR Winter 2024 Q5b

  27. Explain DFS with suitable example.

    3 marksAsked in 2 of 7 papers

    Winter 2024 Q4a Summer 2023 Q4b

  28. Explain the Breadth First Search (BFS) algorithm. Illustrate the traversal process using an example graph.

    3 marksAsked in 2 of 7 papers

    Summer 2026 Q4a OR Winter 2024 Q4a OR

  29. What are the disadvantages of greedy method over dynamic programming method?

    3 marksAsked in 2 of 7 papers

    Summer 2024 Q4a OR Summer 2023 Q3b OR

Which branches take this subject

GTU's syllabus lists 3150703 for 6 branches. One set of papers serves all of them.

Semester 5: 6 branches

Computer Engineering, Computer Science & Design, Computer Science & Engineering, Computer Science & Engineering (Data Science), Information & Communication Technology, Information Technology

Other Semester 5 subjects

Common questions

Are these GTU 3150703 Analysis and Design of Algorithms papers valid for both Regular and Remedial exams?

Yes. Gujarat Technological University (GTU) follows the same 70-mark syllabus, exam blueprint, and 23-mark passing cutoff for both Regular and Remedial (ATKT/backlog) examinations. All 7 past exam sessions (2023 – 2026) serve as comprehensive preparation for either attempt.

How can I download GTU 3150703 Analysis and Design of Algorithms old question papers PDF?

You can download official GTU 3150703 original question paper PDFs directly from the table above with 1 click and zero deceptive ads or wait timers. Every paper also includes interactive online questions with AI study prompts.

What is the passing mark for GTU Analysis and Design of Algorithms (3150703)?

The external theory exam carries 70 marks. The minimum passing cutoff is 23 marks (33%). Exam duration is 2.5 hours.

What is the GTU exam pattern for 3150703?

The examination contains 5 main questions of 14 marks each, totaling 70 marks. Questions 2 through 5 provide internal OR choices, typically split into 3-mark, 4-mark, and 7-mark questions.