DAA JD Question Bank
DAA JD Question Bank
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 1
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 2
INSTITUTE VISION AND MISSION
VISION:
MISSION:
VISION:
MISSION:
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 3
PROGRAM EDUCATIONAL OBJECTIVES (PEOS)
PEOs Content
Advance their technical skills to pursue pioneering research in the field of AI and
PEO2 Data Science and create disruptive and sustainable solutions for the welfare
of ecosystems.
Think logically, pursue lifelong learning and collaborate with an ethical attitude in
PEO3
a multidisciplinary team.
PEO4 Design and model AI based solutions to critical problem domains in the real world.
Exhibit innovative thoughts and creative ideas for effective contribution towards
PEO5
economy building.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 4
Apply reasoning informed by the contextual
knowledge to assess societal, health, safety, legal and
PO6 The engineer and society
cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
Understand the impact of the professional
Environment and engineering solutions in societal and environmental
PO7
sustainability contexts, and demonstrate the knowledge of, and
need for sustainable development.
Apply ethical principles and commit to professional
PO8 Ethics ethics and responsibilities and norms of the
engineering practice.
Function effectively as an individual, and as a
PO9 Individual and team work member or leader in diverse teams, and in
multidisciplinary settings.
Communicate effectively on complex engineering
activities with the engineering community and with
society at large, such as, being able to comprehend
PO10 Communication
and write effective reports and design documentation,
make effective presentations, and give and receive
clear instructions.
Demonstrate knowledge and understand of the
engineering and management principles and apply
Project management and
PO11 these to one‘s own work, as a member and leader in a
finance
team, to manage projects and in multidisciplinary
environments.
Recognize the need for, and have the preparation and
ability to engage in independent and life-long
PO12 Life-long learning
learning in the broadest context of technological
change.
PSOs Content
Evolve AI based efficient domain specific processes for effective decision making
PSO1
in several domains such as business and governance domains.
Arrive at actionable Foresight, Insight, hindsight from data for solving business and
PSO2
engineering problems.
Create, select and apply the theoretical knowledge of AI and Data Analytics along
PSO3 with practical industrial tools and techniques to manage and solve wicked societal
problems.
Develop data analytics and data visualization skills, skills pertaining to
PSO4 knowledge acquisition, knowledge representation and knowledge engineering, and
hence be capable of coordinating complex projects.
Able to carry out fundamental research to cater the critical needs of the society
PSO5
through cutting edge technologies of AI.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 5
AD3351 DESIGN AND ANALYSIS OF ALGORITHM LTPC
3 024
UNIT - I INTRODUCTION 8
Brute Force – String Matching - Exhaustive Search - Traveling Salesman Problem - Knapsack
Problem - Assignment problem. Divide and Conquer Methodology – Multiplication of Large
Integers and Strassen’s Matrix Multiplication – Closest-Pair and Convex - Hull Problems.
Decrease and Conquer: - Topological Sorting – Transform and Conquer: Presorting – Heaps
and Heap Sort.
Lower - Bound Arguments - P, NP, NP- Complete and NP Hard Problems. Backtracking –
NQueen problem - Hamiltonian Circuit Problem – Subset Sum Problem. Branch and Bound –
LIFO 59 Search and FIFO search - Assignment problem – Knapsack Problem – Traveling
Salesman Problem - Approximation Algorithms for NP-Hard Problems – Traveling Salesman
problem – Knapsack problem.
Total : 45 Periods
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 6
COURSE OUTCOMES
Analyze the efficiency of brute force, divide and conquer, decrease and conquer,
CO2 Transform and conquer algorithmic techniques
Implement and analyze the problems using dynamic programming and greedy
CO3 algorithmic techniques.
CO4 Solve the problems using iterative improvement techniques for optimization.
Compute the limitations of algorithmic power and solve the problems using
CO5 backtracking and branch and bound techniques
PO’s PSO’s
CO’s
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
CO1 3 3 3 1 1 - - - 1 1 2 2 3 2 1
CO2 2 1 1 3 2 - - - 2 2 1 2 2 2 2
CO3 3 2 1 2 2 - - - 3 3 3 2 2 1 2
CO4 3 2 3 2 2 - - - 2 2 2 2 3 1 3
CO5 3 1 2 3 3 - - - 2 2 2 2 3 1 3
AVG 3 2 2 2 2 - - - 2 2 2 2 2 2 2
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 7
TEXT BOOK
1. Anany Levitin, Introduction to the Design and Analysis of Algorithms, Third Edition,
Pearson Education, 2012.
REFERENCE BOOKS
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 8
UNIT I
INTRODUCTION
PART - A
Q. CO
Questions BT Level Complexity
No Mapping
State the transpose symmetry property of O
1. CO1 Remember Low
and Ω.
2. Define recursion. CO1 Remember Low
How do you measure the efficiency of an
3. CO1 Understand Low
Algorithm?
Prove that f(n)= O(g(n)) and g(n)=O(f(g(n))
4. CO1 Create Medium
then f(n)=(g(n)).
5. What is an Algorithm? CO1 Understand Low
7. Compare the order of growth n(n-1)/2 and n2.. CO1 Evaluate Medium
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 9
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Write short note on Fundamentals of
1. CO1 Understand Medium
Algorithmic Problem Solving.
Discuss about the fundamental analysis of
2. CO1 Understand Medium
efficiency algorithm.
Explain the asymptotic notation and its
3. CO1 Understand Medium
properties.
List out the Steps in Mathematical Analysis of
4. CO1 Remember High
non- recursive Algorithms.
List out the Steps in Mathematical Analysis of
5. CO1 Remember High
recursive Algorithms.
Write an Algorithm using recursion that
6. determines the GCD of two numbers. CO1 Create High
Determine the time and space complexity.
Compare the orders of growth following time
complexity functions.
7. a. n(n-1)/2 and 𝑛2 CO1 Evaluate High
b. log n and √𝑛
c. n! and 2𝑛
Prove that if f(n) = O(g(n)) and g(n) = O((n)) then
8. CO1 Create High
f(n)= 𝜃(𝑔(𝑛)).
Explain the recursive algorithm to solve Towers
9. CO1 Understand Medium
of Hanoi problem.
Describe graph problems and combinatorial
10. CO1 Understand Medium
problems in detail.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 10
UNIT II
BRUTE FORCE AND DIVIDE AND CONQUER
PART - A
Q. CO
Questions BT Level Complexity
No Mapping
1. State the Convex Hull Problem. CO2 Remember Low
Write the Brute force algorithm to string
2. CO2 Understand Low
matching.
What is the time and space complexity of
3. CO2 Understand Low
Merge Sort?
4. What is exhaustive search? CO2 Understand Low
10. Write about travelling sales person problem? CO2 Understand Low
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 11
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Explain the divide and conquer technique.
1. Apply this method to find multiplication on CO2 Apply High
integers 2101 and 1130 .
2. Explain Merge Sort with suitable example. CO2 Understand Medium
Discuss Quick Sort algorithm with suitable
3. example and derive Worst case and Average CO2 Understand Medium
Case Complexity.
Describe Travelling person sales problem
using exhaustive search technique and find
the optimal tour for the following graph.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 12
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Apply the DFS-based algorithm to solve the
topological sorting problem for the
following digraph:
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 13
UNIT-III
DYNAMIC PROGRAMMING AND GREEDY TECHNIQUE
PART - A
Q. CO
Questions BT Level Complexity
No Mapping
1. State the Principle of Optimality. CO3 Remember Low
What is the Constraint for binary search tree
2. CO3 Understand Low
for insertion?
3. Define multistage graph. CO3 Remember Low
How Dynamic Programming is used to solve
4. CO3 Understand Medium
Knapsack Problem?
5. Define transitive closure of directive graph. CO3 Remember Low
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 14
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Write short note on Greedy Method with
1. CO3 Understand High
suitable example.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 15
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Solve the following Multi stage graph.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 16
UNIT- IV
ITERATIVE IMPROVEMENT
PART - A
Q. CO
Questions BT Level Complexity
No Mapping
1. State the Principle of Duality. CO4 Remember Low
Define the Capacity Constraint in the
2. CO4 Remember Low
context of Maximum flow problem.
3. Define iterative improvement technique. CO4 Remember Low
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 17
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Explain in detail about Maximum Flow
1. CO4 Understand High
Problem.
Illustrate the stable marriage problem with
2. CO4 Analyze Medium
example.
Explain the following problem in the standard
form.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 18
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
Explain Ford Fulkerson algorithm for the
following.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 19
UNIT V
SECURITY PRACTICES
PART - A
Q. CO
Questions BT Level Complexity
No Mapping
1. Define NP Completeness and NP Hard. CO5 Remember Low
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 20
PART - B
Q. CO
Questions BT Level Complexity
No Mapping
How backtracking technique can be used
1. to solve the n-queens problem? Explain CO5 Understand Medium
with an example.
Explain Backtracking technique with
2. CO5 Understand Medium
suitable example.
Evaluate the solution for Subset sum
3. CO5 Evaluate High
problem using Backtracking technique.
4. Explain P, NP and NP complete problems. CO5 Understand Medium
Explain the approximation algorithm for
5. CO5 Understand Medium
the travelling salesman problem (TSP).
Discuss the steps to find approximate
solution to NP-Hard optimization
6. CO5 Understand Medium
problems using approximation algorithms
with an example.
Solve the following instance of the
knapsack problem by the branch-and
bound algorithm.
W=16
Solve the Hamiltonian circuit using
Backtracking method.
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 21
THANK YOU
Prepared by
Mrs. A. Mallika / AP
J. J. College of Engineering and Technology Page 22