Exam Details
Subject | design and analysis of algorithms | |
Paper | ||
Exam / Course | b.tech | |
Department | ||
Organization | Institute Of Aeronautical Engineering | |
Position | ||
Exam Date | November, 2018 | |
City, State | telangana, hyderabad |
Question Paper
Hall Ticket No Question Paper Code: AIT001
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
Four Year B.Tech III Semester End Examinations (Regular) November, 2018
Regulation: IARE R16
DESIGN AND ANALYSIS OF ALGORITHMS
Time: 3 Hours (Common to CSE IT) Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. Formulate the order of growth? Compare the order of growth and 2n.
Write an algorithm to find mean and variance of an array perform best, worst and average case
complexity, defining the notations used for each type of analysis.
2. Describe briefly the notations of complexity of an algorithm.
Discuss how much the function value will change if the sequential search function's argument is
increased.
UNIT II
3. Describe non recursive binary tree traversal algorithm with suitable example.
What approach would you use for Depth first Search? Find the solution for the following graph
given.
Figure 1
4. Explain the algorithm for maximum and minimum numbers in an array.
Give a suitable example and explain the breadth first search and depth first search algorithm.
Page 1 of 3
UNIT III
5. Consider that there are three items. Weight and Profit value of each item is as given below in
Table 1. Also W=20 obtain the solution for the above given knapsack problem using Greedy
Method.
Table 1
I Wi Pi
1 18 30
2 15 21
3 10 18
Elucidate the minimum spanning tree with the help of prim's algorithm and show the result for
the given graph shown in Figure 2
Figure 2
6. Compare between Prim's and Kruskal's algorithm and identify the time complexity of those
algorithms.
Develop an algorithm for memory function knapsack problem.
UNIT IV
7. Generate all permutations of 4 and d=9 by backtracking.
Explain subset-sum problem and discuss the possible solution strategies using backtracking.
Page 2 of 3
8. Write and explain the techniques in branch and bound method.
Assume 4 cities which are represented by a fully connected graph. The following
Table 2 represent the pheromone levels on each edge of the graph and the distances between
each city (assume the pheromone levels and distances are symmetric). Assume an ant started its
journey at city A and has travelled to city C. Calculate the following
What is the probability that the ant will travel to city
ii) What is the probability that the ant will travel to city
iii) What is the probability that the ant will travel to city
Assume alpha and beta are set to 1.
Table 2
Pheromone Levels Distances
A B C D A B C D
A A
B 0.25 B 12
C 0.11 0.98 C 10 6
D 0.34 0.54 0.67 D 8 15 3
UNIT V
9. Explain how to implement an algorithm for Cook's theorem.
Using an example, design and prove that satisfiability of Boolean formula in 3-conjunctive normal
form I NP- complete?
10. Show that the Hamiltonian path problem reduces to the Hamiltonian circuit problem and vice
versa.
Elaborate the Non Deterministic Algorithm with example.
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
Four Year B.Tech III Semester End Examinations (Regular) November, 2018
Regulation: IARE R16
DESIGN AND ANALYSIS OF ALGORITHMS
Time: 3 Hours (Common to CSE IT) Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. Formulate the order of growth? Compare the order of growth and 2n.
Write an algorithm to find mean and variance of an array perform best, worst and average case
complexity, defining the notations used for each type of analysis.
2. Describe briefly the notations of complexity of an algorithm.
Discuss how much the function value will change if the sequential search function's argument is
increased.
UNIT II
3. Describe non recursive binary tree traversal algorithm with suitable example.
What approach would you use for Depth first Search? Find the solution for the following graph
given.
Figure 1
4. Explain the algorithm for maximum and minimum numbers in an array.
Give a suitable example and explain the breadth first search and depth first search algorithm.
Page 1 of 3
UNIT III
5. Consider that there are three items. Weight and Profit value of each item is as given below in
Table 1. Also W=20 obtain the solution for the above given knapsack problem using Greedy
Method.
Table 1
I Wi Pi
1 18 30
2 15 21
3 10 18
Elucidate the minimum spanning tree with the help of prim's algorithm and show the result for
the given graph shown in Figure 2
Figure 2
6. Compare between Prim's and Kruskal's algorithm and identify the time complexity of those
algorithms.
Develop an algorithm for memory function knapsack problem.
UNIT IV
7. Generate all permutations of 4 and d=9 by backtracking.
Explain subset-sum problem and discuss the possible solution strategies using backtracking.
Page 2 of 3
8. Write and explain the techniques in branch and bound method.
Assume 4 cities which are represented by a fully connected graph. The following
Table 2 represent the pheromone levels on each edge of the graph and the distances between
each city (assume the pheromone levels and distances are symmetric). Assume an ant started its
journey at city A and has travelled to city C. Calculate the following
What is the probability that the ant will travel to city
ii) What is the probability that the ant will travel to city
iii) What is the probability that the ant will travel to city
Assume alpha and beta are set to 1.
Table 2
Pheromone Levels Distances
A B C D A B C D
A A
B 0.25 B 12
C 0.11 0.98 C 10 6
D 0.34 0.54 0.67 D 8 15 3
UNIT V
9. Explain how to implement an algorithm for Cook's theorem.
Using an example, design and prove that satisfiability of Boolean formula in 3-conjunctive normal
form I NP- complete?
10. Show that the Hamiltonian path problem reduces to the Hamiltonian circuit problem and vice
versa.
Elaborate the Non Deterministic Algorithm with example.
Other Question Papers
Subjects
- ac machines
- advanced databases
- aircraft materials and production
- aircraft performance
- aircraft propulsion
- aircraft systems and controls
- analog communications
- analysis of aircraft production
- antennas and propagation
- applied physics
- applied thermodynamics
- basic electrical and electronics engineering
- basic electrical engineering
- building materials construction and planning
- business economics and financial analysis
- compiler design
- complex analysis and probability distribution
- computational mathematics and integral calculus
- computer networks
- computer organization
- computer organization and architecture
- computer programming
- concrete technology
- control systems
- data structures
- database management systems
- dc machines and transformers
- design and analysis of algorithms
- design of machine members
- digital and pulse circuits
- digital communications
- digital ic applications using vhdl
- digital logic design
- digital system design
- disaster management
- disaster management and mitigation
- discrete mathematical structures
- dynamics of machinery
- electrical circuits
- electrical measurements and instrumentation
- electrical technology
- electromagnetic field theory
- electromagnetic theory and transmission lines
- electronic circuit analysis
- electronic devices and circuits
- elements of mechanical engineering
- engineering chemistry
- engineering drawing
- engineering geology
- engineering mechanics
- engineering physics
- english
- english for communication
- environmental studies
- finite element methods
- fluid mechanics
- fluid mechanics and hydraulics
- fundamental of electrical and electronics engineering
- fundamental of electrical engineering
- gender sensitivity
- geotechnical engineering
- heat transfer
- high speed aerodynamics
- hydraulics and hydraulic machinery
- image processing
- industrial automation and control
- instrumentation and control systems
- integrated circuits applications
- introduction to aerospace engineering
- kinematics of machinery
- linear algebra and calculus
- linear algebra and ordinary differential equations
- low speed aerodynamics
- machine tools and metrology
- mathematical transform techniques
- mathematical transforms techniques
- mechanics of fluids and hydraulic machines
- mechanics of solids
- mechanism and machine design
- metallurgy and material science
- microprocessor and interfacing
- modern physics
- network analysis
- object oriented analysis and design
- object oriented programming through java
- operating systems
- optimization techniques
- power electronics
- power generation systems
- probability and statistics
- probability theory and stochastic processes
- production technology
- programming for problem solving
- pulse and digital circuits
- reinforced concrete structures design and drawing
- software engineering
- strength of materials - i
- strength of materials - ii
- structural analysis
- surveying
- theory of computation
- theory of structures
- thermal engineering
- thermo dynamics
- thermodynamics
- tool design
- transmission and distribution systems
- unconventional machining processes
- waves and optics
- web technologies