(SEM V) THEORY EXAMINATION 2020-21 DESIGN AND ANALYSIS OF ALGORITHM
SECTION A (Any 2 Questions Explained Briefly)
What is asymptotic notation? Explain Ω (Omega) notation.
Asymptotic notation is used to describe the performance of an algorithm in terms of time or space as input size grows. Omega (Ω) notation represents the lower bound of an algorithm, which means it shows the minimum time an algorithm will take in the best case or under ideal conditions.
What is recurrence relation?
A recurrence relation is an equation that defines the running time of a recursive algorithm in terms of smaller input sizes. It helps analyze divide and conquer algorithms by expressing the problem size reduction and combining cost.
SECTION B (Any 2 Questions Explained)
Explain the greedy approach using activity selection problem.
The greedy approach builds a solution step by step by choosing the locally optimal choice at each stage. In the activity selection problem, activities are selected based on earliest finish time to maximize the number of non-overlapping activities. This approach is efficient and produces an optimal solution.
Explain KMP algorithm for string matching.
The Knuth–Morris–Pratt (KMP) algorithm is used for efficient string matching. It avoids unnecessary comparisons by using a prefix table that stores information about previously matched characters. This reduces time complexity compared to the naïve string matching algorithm.
SECTION C (Any 2 Questions Explained)
Solve recurrence using Master’s Theorem.
Master’s theorem provides a direct method to solve recurrence relations of the form T(n)=aT(n/b)+f(n). By comparing f(n) with n^(log b a), the time complexity can be determined without expanding the recurrence fully.
Explain insertion sort and its time complexity.
Insertion sort is a simple sorting algorithm that builds the sorted list one element at a time by inserting elements in their correct position. Its best-case time complexity is O(n), while average and worst-case time complexity is O(n²). It is efficient for small datasets.
Most Questions in This PDF Are Related To
Most questions in the Design and Analysis of Algorithm (KCS-503) paper are related to time and space complexity analysis, recurrence relations, sorting and searching algorithms, greedy techniques, divide and conquer, dynamic programming, graph algorithms (MST, shortest path), backtracking, NP-complete problems, and approximation algorithms. The paper mainly focuses on algorithm design techniques and performance analysis.
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies