Design and Analysis of Algorithm Unit 1 Notes AKTU (BCS503)
AKTU · BTECH · Semester 5 · Design and Analysis of Algorithm · Unit 1 · Notes
AKTU Design and Analysis of Algorithm (BCS503) Unit 1 notes for B.Tech Semester 5 – Introduction: Algorithms and Sorting. Topics: Algorithm Analysis Basics…
Open the interactive reader to study this resource on AcademicArk.
Unit 1: Introduction: Algorithms and Sorting – AKTU syllabus topics
- Algorithm Analysis Basics: Complexity of Algorithms, Growth of Functions, Performance Measurements
- Comparison Based Sorting: Shell Sort, Quick Sort, Merge Sort, Heap Sort
- Sorting in Linear Time
Most asked AKTU PYQ questions from Unit 1
- Q3a. Examine the following recurrence relation: (i) T(n) = T(n-1) + n^4 (ii) T(n) = T(n/4) + T(n/2) + n^2 (10 marks, 2022-23)
- Q2a. Explain Merge sort algorithm and sort the following sequence {23, 11, 5, 15, 68,31, 4, 17} using merge sort. (10 marks, 2022-23)
- Q2a. Solve the recurrence i) T (n) = 3T (n/4) + cn² using recursion tree method. ii) T (n) = n + 2T (n/2) using Iteration method. (Given T(1)=1) (10 marks, 2021-22)
- Q3a. Write Merge sort algorithm and sort the following sequence {23, 11, 5, 15, 68, 31, 4, 17} using merge sort. (10 marks, 2021-22)
- Q3a. Solve the following recurrence relation: i. T (n) = T (n-1) + n⁴ ii. T (n) = T (n/4) + T (n/2) + n² (10 marks, 2020-21)
- Q2a. Compute the time complexity of the following recurrence relation. T(n) = 2T(n-1) + n if n>1 = 1 if n=1. (7 marks, 2025-26)
- Q2a. Illustrate the operation of Merge –Sort on array A= (38, 27, 43, 3, 9, 82, 10). Also drive the time complexity of Merge Sort. (7 marks, 2024-25)
- Q3b. Solve the recurrence using recursion tree method: T (n) = T (n/2) + T (n/4) + T (n/8) + n (7 marks, 2019-20)
- Q3a. The recurrence T(n) = 7T(n/3) + n^2 describes the running time of an algorithm A. Another competing algorithm B has a running time of S(n) = a S(n/9) + n^2. What is the smallest value of ‘a’ such that A is asymptotically faster than B.? (7 marks, 2018-19)
- Q2a. Use a recursion tree to give an asymptotically tight solution to the recurrence T(n) = T(αn) + T((1 - α)n) + cn, where α is a constant in the range 0 < α < 1 and c > 0 is also a constant. (7 marks, 2018-19)
AKTU paper codes: BCS503, KCS503, RCS502
Other Design and Analysis of Algorithm units
Design and Analysis of Algorithm previous year papers
More Design and Analysis of Algorithm resources
More versions of this resource
Browse all notes · Semester 5 notes · Design & Analysis of Algorithm notes