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 2021 Jan CSE 3rd Sem 76436 Data Structure And Algorithms Question Paper

Download PTU (Punjab Technical University) B.Tech (Bachelor of Technology) / BE (Bachelor of Engineering) 2021 January CSE 3rd Sem 76436 Data Structure And Algorithms Previous Question Paper

This post was last modified on 26 June 2021

PTU B.Tech 2021 January Previous Question Papers || PTU Punjab Technical University


Roll No.

Total No. of Questions: 18

Total No. of Pages : 02

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

B.Tech. (CSE) (2018 Batch) (Sem.-3)

DATA STRUCTURE & ALGORITHMS

Subject Code: BTCS-301-18

M.Code: 76436

Time: 3 Hrs.

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

Max. Marks : 60

INSTRUCTIONS 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.
  4. --- Content provided by‍ FirstRanker.com ---

SECTION-A

Write briefly:

  1. Write at least three differences between linear and binary search.
  2. Write pseudo code to implement circular queue.
  3. Stacks are used to implement recursion in programming languages. Explain why?
  4. --- Content provided by​ FirstRanker.com ---

  5. Evaluate below postfix expression. 2 3 3 * 2 / / 5 2 * 6 - +
  6. Write pseudo code to find maximum element in a singly linked list. Consider node in linked list has 'data' field storing an integer.
  7. Explain left and right rotations in an AVL tree.
  8. Create the BST after inserting following elements in order in an empty BST. 5, 6, 3, 2, 4, 7, 9, 1
  9. What is in-place sorting?
  10. --- Content provided by FirstRanker.com ---

  11. What are stable sorting techniques?
  12. What is Time complexity of quick sort in worst case? And why?

SECTION-B

  1. Solve the below recurrence relation using substitution method. T(n) = { 2T(n/2) + C; n > 1, 1; n = 1 }
  2. Write pseudo code to implement queue using stack i.e. implement insert and delete operation of queue using push and pop.
  3. --- Content provided by‌ FirstRanker.com ---

  4. A queue can be implemented using single linked list in two ways. One implementation has front at head and rear at tail of linked list. Other implementation has front at tail and rear at head of linked list. Which implementation among two is efficient and why?
  5. Create hash table of length 13 for the following keys entered in the same order using below hash function. Linear probing is used to resolve collision. Keys: {4684, 4879, 5651, 1829, 1082, 7107, 1628, 2438, 3951, 4758, 6967, 4989} Hash function : (sum of all digits)% 13
  6. Give the brief introduction to threaded Binary trees?

SECTION-C

  1. Graph data structure can be very efficient in finding shortest path between two cities. Show with an example.
  2. --- Content provided by‌ FirstRanker.com ---

  3. Explain:
    1. Difference between connected and unconnected graph.
    2. Discuss pros and cons of Adjacency matrix representation of a graph.
  4. How a multidimensional array is represented in memory? Explain the program which reads two matrices?

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.

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

FirstRanker.com



This download link is referred from the post: PTU B.Tech 2021 January Previous Question Papers || PTU Punjab Technical University

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