CSC211 Data Structures and Algorithms

Data Structures and Algorithms: most repeated questions

Questions that have come up in more than one paper, matched by what they ask rather than exact wording. Most repeated first.

  1. 3×Asked in 2081, 2080, 2075
    Define circular queue. How queue differ from stack. Write a program to implement linear queue.Answer coming10
    See the wording in each paper
  2. 3×Asked in 2081, 2080, 2078
    Define list. How can you use linked list to implement stack? Explain circular linked list.Answer coming10
    See the wording in each paper
  3. 3×Asked in 2080, 2078, 2077
    Explain push and pop operations of stack. What are different applications of stack?Answer coming5
    See the wording in each paper
  4. 3×Asked in 2081, 2079, 2075
    Write short notes on: 1. Breadth First traversal of graph 1. TOHAnswer coming5
    See the wording in each paper
  5. 3×Asked in 2079, 2078, 2077
    Evaluate the postfix expression 574 8/4+ using stack.Answer coming5
    See the wording in each paper
  6. 2×Asked in 2079, 2074
    Write a program to implement binary search.Answer coming5
    See the wording in each paper
  7. 2×Asked in 2080, 2075
    Explain binary search with an example. What is the time complexity of binary search?Answer coming5
    See the wording in each paper
  8. 2×Asked in 2078, 2077
    Hand test selection sort with array of numbers 4, 71, 32, 19, 61, 2, 5 in descending order.Answer coming10
    See the wording in each paper
  9. 2×Asked in 2078, 2075
    How do you find complexity of algorithms? ExplainAnswer coming10
    See the wording in each paper
  10. 2×Asked in 2078, 2074
    What is binary search tree? Write a program to implement insertion and deletion algorithms in binary search tree.Answer coming10
    See the wording in each paper
  11. 2×Asked in 2081, 2079
    Sort the number 82, 73, 12, 39, 26, 88, 2, 9, 60, 41 using shell sort.Answer coming5
    See the wording in each paper
  12. 2×Asked in 2080, 2077
    Write Dijkstra's algorithm to find shortest path between any two vertices of a graph.Answer coming5
    See the wording in each paper
  13. 2×Asked in 2081, 2077
    Write a program to find GCD of two numbers using recursion.Answer coming5
    See the wording in each paper