Exam Details

Subject design & analysis of algorithms(daa)
Paper
Exam / Course mca
Department
Organization Gujarat Technological University
Position
Exam Date May, 2017
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
BE SEMESTER-VIII EXAMINATION SUMMER 2017
Subject Code:181604 Date:04/05/2017
Subject Name: Design and Analysis of Algorithm (Department Elective II)
Time:10:30 AM to 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1

Define the following terms:
1. Principle of Optimality
2. Directed Acyclic Graph
3. Minmax principle
4. Minimum Spanning Tree
5.
6. Set
7. Time Complexity
07

Explain Merge Sort algorithm. Derive the algorithmic complexity in Best case, Worst case and Average case analysis.
07
Q.2

Explain binary search algorithm with divide and conquer strategy and use the recurrence tree to show that the solution to the binary search recurrence relation is Θ (log n).
07

Write an algorithm for Selection sort. Calculate the time complexity for each case.
07
OR

Differentiate the following:
1. Divide Conquer and Greedy Technique
2. Greedy Technique and Dynamic Programming Technique
07
Q.3

Give the properties of Heap Tree. Sort the following data with Heap Sort Method: 15,19,10,7,17,6
07

Solve the following knapsack problem With the given capacity W=5 using dynamic programming.
ITEM
WEIGHT
VALUE
1
2
12
2
1
10
3
3
20
4
2
15
07
OR
Q.3

Explain Kruskal's algorithm to find minimum spanning tree with an example. What is its time complexity?
07

Explain accounting method of amortized analysis using stack operations.
07
Q.4

Compute Longest Common Subsequence for the strings:

07
2


Explain breadth first search algorithm with example.
07
OR
Q.4

Compute Matrix Chain order for the following matrices:
A4(2x7)
07

Explain recursive algorithm of depth first search for directed graph.
07
Q.5

Explain Rabin-Karp method of string matching with example.
07

Discuss how 8-queen problem can be solved using backtracking.
07
OR
Q.5

Explain branch and bound technique with example.
07

Explain the following terms:
1. P
2. NP
3. NP-Complete
4. NP-hard
07



Subjects

  • advance database management system
  • advanced biopharmaceutics & pharmacokinetics
  • advanced medicinal chemistry
  • advanced networking (an)
  • advanced organic chemistry -i
  • advanced pharmaceutical analysis
  • advanced pharmacognosy-1
  • advanced python
  • android programming
  • artificial intelligence (ai)
  • basic computer science-1(applications of data structures and applications of sql)
  • basic computer science-2(applications of operating systems and applications of systems software)
  • basic computer science-3(computer networking)
  • basic computer science-4(software engineering)
  • basic mathematics
  • basic statistics
  • big data analytics (bda)
  • big data tools (bdt)
  • chemistry of natural products
  • cloud computing (cc)
  • communications skills (cs)
  • computer aided drug delivery system
  • computer graphics (cg)
  • computer-oriented numerical methods (conm)
  • cyber security & forensics (csf)
  • data analytics with r
  • data mining
  • data structures (ds)
  • data visualization (dv)
  • data warehousing
  • data warehousing & data mining
  • database administration
  • database management system (dbms)
  • design & analysis of algorithms(daa)
  • digital technology trends ( dtt)
  • discrete mathematics for computer science (dmcs)
  • distributed computing (dc1)
  • drug delivery system
  • dynamic html
  • enterprise resource planning (erp)
  • food analysis
  • function programming with java
  • fundamentals of computer organization (fco)
  • fundamentals of java programming
  • fundamentals of networking
  • fundamentals of programming (fop)
  • geographical information system
  • image processing
  • industrial pharmacognostical technology
  • information retrieving (ir)
  • information security
  • java web technologies (jwt)
  • language processing (lp)
  • machine learning (ml)
  • management information systems (mis)
  • mobile computing
  • molecular pharmaceutics(nano tech and targeted dds)
  • network security
  • object-oriented programming concepts & programmingoocp)
  • object-oriented unified modelling
  • operating systems
  • operation research
  • operations research (or)
  • pharmaceutical validation
  • phytochemistry
  • procedure programming in sql
  • programming skills-i (ps-i-fop)
  • programming skills-ii (ps-oocp)
  • programming with c++
  • programming with java
  • programming with linux, apache,mysql, and php (lamp)
  • programming with python
  • search engine techniques (set)
  • soft computing
  • software development for embedded systems
  • software engineering
  • software lab (dbms: sql & pl/sql)
  • software project in c (sp-c)
  • software project in c++ (sp-cpp)
  • software quality and assurance (sqa)
  • statistical methods
  • structured & object oriented analysis& design methodology
  • system software
  • virtualization and application of cloud
  • web commerce (wc)
  • web data management (wdm)
  • web searching technology and search engine optimization
  • web technology & application development
  • wireless communication & mobile computing (wcmc)
  • wireless sensor network (wsn)