Exam Details
Subject | design and analysis of algorithms | |
Paper | ||
Exam / Course | b.tech | |
Department | ||
Organization | Institute Of Aeronautical Engineering | |
Position | ||
Exam Date | January, 2019 | |
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 (Supplementary) January, 2019
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. Write down Divide and Conquer recursive merge sort algorithm and derive the time complexity
of this algorithm
Explain quicksort algorithm and simulate it for following data sequence: 3 5 9 7 1 4 6 8 2
2. Discuss the general plan for analyzing efficiency of non recursive and recursive algorithms?
When Strassen's method outperforms the traditional matrix multiplication method. How many
number of multiplication operations are required during multiplication of two matrices with size
of 32 x 32 in Stressen's method.
UNIT II
3. Explain the difference between depth first and breadth first searches?
Write an algorithm for searching an element using binary search method. Give an example?[7M]
4. Discuss iterative versions of inorder, preorder and post order traversal algorithms.
Calculate the time complexity for the following graph shown in Figure 1 using all pairs shortest
path algorithm and find the shortest paths between these three nodes.
Figure 1
Page 1 of 2
UNIT III
5. Describe the traveling salesman problem and discuss how to solve it using dynamic programming.
Give the control abstraction for subset paradigm using greedy method. Solve the job sequencing
with deadline problem using greedy method for the given data are
profits and are deadline respectively
6. Write down and explain the algorithm to solve all pair's shortest path problem
Solve the instance of the Knapsack problem by branch and bound algorithm for data given in
Table 1.
Table 1
Item Weight Value
1 10 $100
2 7 $63
3 8 $56
4 4 $12
UNIT IV
7. Explain the basic principle of backtracking and list the applications of backtracking.
Using backtracking enumerate how can you solve the following problems
8-Queen Hamilton circuit problem
8. Identify an example for the best case input for the branch and bound algorithm for the assignment
problem?
Solve the following instance of traveling sales person problem using Least Cost Branch and Bound
technique. 2
6666664
1 12 5 7
11 1 13 6
4 9 1 18
10 3 2 1
3
7777775
UNIT V
9. Prove the following:
CNF-SAT is NP complete ii) 3-SAT is in NP complete
iii) CIRCUIT-SAT is in NP
Give the non-deterministic algorithm for sorting elements in non decreasing order.
10. Explain how to implement an algorithm for Knapsack problem using NP-Hard approach.
Does boolean satisfiability problem satisfy the condition of NP complete? Prove it by
using Cook's theorem.
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
Four Year B.Tech III Semester End Examinations (Supplementary) January, 2019
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. Write down Divide and Conquer recursive merge sort algorithm and derive the time complexity
of this algorithm
Explain quicksort algorithm and simulate it for following data sequence: 3 5 9 7 1 4 6 8 2
2. Discuss the general plan for analyzing efficiency of non recursive and recursive algorithms?
When Strassen's method outperforms the traditional matrix multiplication method. How many
number of multiplication operations are required during multiplication of two matrices with size
of 32 x 32 in Stressen's method.
UNIT II
3. Explain the difference between depth first and breadth first searches?
Write an algorithm for searching an element using binary search method. Give an example?[7M]
4. Discuss iterative versions of inorder, preorder and post order traversal algorithms.
Calculate the time complexity for the following graph shown in Figure 1 using all pairs shortest
path algorithm and find the shortest paths between these three nodes.
Figure 1
Page 1 of 2
UNIT III
5. Describe the traveling salesman problem and discuss how to solve it using dynamic programming.
Give the control abstraction for subset paradigm using greedy method. Solve the job sequencing
with deadline problem using greedy method for the given data are
profits and are deadline respectively
6. Write down and explain the algorithm to solve all pair's shortest path problem
Solve the instance of the Knapsack problem by branch and bound algorithm for data given in
Table 1.
Table 1
Item Weight Value
1 10 $100
2 7 $63
3 8 $56
4 4 $12
UNIT IV
7. Explain the basic principle of backtracking and list the applications of backtracking.
Using backtracking enumerate how can you solve the following problems
8-Queen Hamilton circuit problem
8. Identify an example for the best case input for the branch and bound algorithm for the assignment
problem?
Solve the following instance of traveling sales person problem using Least Cost Branch and Bound
technique. 2
6666664
1 12 5 7
11 1 13 6
4 9 1 18
10 3 2 1
3
7777775
UNIT V
9. Prove the following:
CNF-SAT is NP complete ii) 3-SAT is in NP complete
iii) CIRCUIT-SAT is in NP
Give the non-deterministic algorithm for sorting elements in non decreasing order.
10. Explain how to implement an algorithm for Knapsack problem using NP-Hard approach.
Does boolean satisfiability problem satisfy the condition of NP complete? Prove it by
using Cook's theorem.
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