FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download PTU B.Tech 2020 March CSE-IT 5th Sem BTCS 503 Design & Analysis Of Algorithms Question Paper

Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) BE/BTech CSE/IT (Computer Science And Engineering/ Information Technology) 2020 March 5th Sem BTCS 503 Design & Analysis Of Algorithms Previous Question Paper

This post was last modified on 21 March 2020

This download link is referred from the post: PTU B.Tech Question Papers 2020 March (All Branches)


FirstRanker.com

Roll No. [ ] [T T T TT] Total No. of Pages : 02

Total No. of Questions : 18

--- Content provided by FirstRanker.com ---

B.Tech.(CSE) (2012 to 2017) (Sem.-5)

DESIGN & ANALYSIS OF ALGORITHMS

Subject Code : BTCS-503

M.Code : 70536

Time : 3 Hrs. Max. Marks : 60

--- Content provided by FirstRanker.com ---

INSTRUCTION TO CANDIDATES :

  1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
  2. SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
  3. SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.

SECTION-A

--- Content provided by FirstRanker.com ---

Answer the following briefly :

  1. What is closest pair problem?
  2. How dynamic programming is used to solve knapsack problem?
  3. How time complexity of an algorithm is different from space complexity?
  4. Difference between NP, NP-complete and NP-hard Problem?
  5. --- Content provided by FirstRanker.com ---

  6. Write any two applications of Fast Fourier Transform.
  7. Write a short note on : Strassen’s algorithm.
  8. What is 3 SAT problem?
  9. What are the applications of BFS?
  10. Differentiate between Polynomial and Exponential running time.
  11. --- Content provided by FirstRanker.com ---

  12. What is an algorithm?

SECTION-B

  1. Bring out the differences between Prim’s and Kruskal’s algorithm. Also compare with respect to efficiency analysis.
  2. Use the substitution method to prove a tight asymptotic lower bound (Ω-notation) on the solution to the recurrence T(n) = 4T(n/2) + n2
  3. Suppose that H[1, .... , n] is an array containing a Min-Heap. Give pseudocode for an algorithm Extract-Min(H, n) that removes the smallest element from the heap H of size n and returns its value. Analyze the time complexity of your algorithm. Explain your algorithm.
  4. --- Content provided by FirstRanker.com ---

  5. Suppose we use Dijkstra’s greedy, single source shortest path algorithm on an undirected graph. What constraint must we have for the algorithm to work and why?
  6. Suppose you were to drive from Delhi to Mumbai. Your gas tank, when full, holds enough gas to travel m miles, and you have a map that gives distances between gas stations along the route. Let d1<d2<...... <dn be the locations of all the gas stations along the route where di is the distance from Delhi to the gas station. You can assume that the distance between neighboring gas stations is at most m miles. Your goal is to make as few gas stops as possible along the way. Give the most efficient algorithm you can find to determine at which gas stations you should stop and prove that your strategy yields an optimal solution. Be sure to give the time complexity of your algorithm as a function of n.

SECTION-C

  1. A max heap is given with n elements and its height is log (n). Write an efficient algorithm to find minimum element in heap. Also calculate the time and space complexity.
  2. Give the solution for Knapsack with Branch and Bound. The capacity of Knapsack is m = 12. There are 5 objects with profit (p1,p2,p3,p4,p5) = (10,15,6,8,4) and weights (W1,W2,W3,W4,W5) = (4,6,3,4,2).
  3. --- Content provided by FirstRanker.com ---

  4. Write a program for recursive binary search to find the given element within array. For What data binary search is not applicable?

NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.

FirstRanker.com


--- Content provided by FirstRanker.com ---


This download link is referred from the post: PTU B.Tech Question Papers 2020 March (All Branches)