CSC211 · TU past paper
Data Structures and Algorithms 2075 question paper
The complete TU 2075 exam paper for Data Structures and Algorithms (CSC211), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksNumericalConversion from infix to postfix/prefix exHideAnswer
How can you use stack to convert an infix expression to postfix? Convert infix expression (A+B)*(C-D) to postfix using stack.[10]
- Q2.10 marksDefinition and Representation of Graphs, GHideAnswer
Discuss depth first and breadth first traversal of a graph with suitable example.[10]
- Q3.10 marksNumericalDivide and Conquer SortingHideAnswer
Explain concept of divide and conquer algorithm. Hand test quick sort algorithm with array of numbers (78, 34, 21, 43, 7, 18, 9, 56, 38, 19). What is time complexity of quick sort algorithm?[10]
- Q4.5 marksBasic Concept of Stack, Stack as an ADT, SHideAnswer
Compare stack with queue. How is linear queue different from circular queue? [5]
- Q5.5 marksBasic Concept of Stack, Stack as an ADT, SHideAnswer
What is ADT? Discuss stack as an ADT. [5]
- Q6.5 marksPrinciple of Recursion, Comparison betweenHideAnswer
Define recursive algorithm? How do you implement recursive algorithm while writing computer programs? [5]
- Q7.5 marksBasic operations in Linked ListHideAnswer
What are benifits of using linked list over array? How can you insert a node in a singly linked list? [5]
- Q8.5 marksHashingHideAnswer
What is hashing? Discuss rehashing with example. [5]
- Q9.5 marksBinary Search Tree, Insertion, Deletion, THideAnswer
How do you traverse a binary tree? Discuss. [5]
- Q10.5 marksAsymptotic notations and common functionsHideAnswer
What do you mean by complexity of algorithm? How do you find time complexity? [5]
- Q11.5 marksIntroduction to Searching, Search AlgorithHideAnswer
How do you implement binary search algorithm? What is time complexity of this algorithm? [5]
- Q12.5 marksDynamic memory allocation in CHideAnswer
Write short notes on: a. Dynamic memory allocation b. Game tree [5]