(SEM V) THEORY EXAMINATION 2020-21 DESIGN AND ANALYSIS OF ALGORITHM

B.Tech Engineering 0 downloads
₹29.00

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.

File Size
190.64 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Fitness Training Near By Najafgarh Professional Workout Programs for Strength, Weight Loss & Overall Wellness Najafgarh, Delhi
Guitar Classes Near Jangpura – Professional Guitar Training in South Delhi Jangpura, Delhi
Video Editing Classes Near Sector 82A Gurugram – Learn Professional Editing Skills Sector 82A, Gurugram
Music Theory & Composition Classes Near By Najafgarh – Build Your Musical Foundation Najafgarh, Delhi
Personality Development Classes Near Sector 56 Gurugram – Build Confidence, Communication & Professional Success Sector 56, Gurugram
Spoken English Classes Near By Paschim Vihar Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Paschim Vihar, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near Sector 146 Noida – Learn Drumming with Professional Trainers Sector 146, Noida
Accounts & Commerce Classes Near By Dwarka Mor Professional Coaching Dwarka Mor, Delhi
Spoken English Classes Near By Janakpuri Improve Fluency, Build Confidence & Achieve Career Success in 2026 Janakpuri, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near DLF Phase 4 Gurugram DLF Phase IV, Gurugram
Keyboard / Piano Classes Near DLF Phase 3 – Learn Music with Professional Training DLF Phase 3, Gurugram
Music Production (Laptop-Based) Classes Near Sector 142 Noida – Learn Professional Digital Music Creation Sector 142, Noida
Data Analytics Classes Near Kirti Nagar – Build a Future-Ready Career in Data Kirti Nagar, Delhi
SEO Training Near Noida Sector 95 – Learn Search Engine Optimization and Build a Digital Career Noida
Video Editing Classes Near By Dwarka Mor – Master Professional Editing Skills Dwarka Mor, Delhi
Spoken English Classes Near By Mehrauli Build Fluency, Improve Confidence & Unlock Better Opportunities in 2026 Mehrauli, Delhi
Guitar Classes Near Tilak Nagar – Learn, Play & Perform with Confidence Tilak Nagar, Delhi
Singing & Guitar Classes Near Sector 106 Gurugram (Dwarka Expressway) – Discover Your Musical Talent Sector 106, Gurugram
Baking Classes Near By Dwarka Mor – Learn Professional Baking Skills Dwarka Mor, Delhi
Zumba Classes Near Sector 130 Greater Noida – Enjoy Dance Fitness and Stay Active Sector 130, Noida
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020