MODEL PAPER
FIRST SEMESTER, M. Sc INFORMATION TECHNOLOGY

Paper - III (MIT - 103): Data Structure and Algorithm
First Semester
MIT - 101
MIT - 102
MIT - 104
MIT - 105
MIT - 106
MIT - 107
MIT - 108
Second Semester
MIT - 201
MIT - 202
MIT - 203
MIT - 204
MIT - 205
MIT - 206
MIT - 207
MIT - 208
Third Semester
MIT - 301
MIT - 302
MIT - 303
MIT - 304
MIT - 305
MIT - 306
MIT - 307
MIT - 308
Fourth Semester

Time: 3hrs Max. Marks: 75
Attempt any five questions.
All questions carry equal marks

  1. Question

  2. Explain Abstract Data Types with any example.

  3. Question

    1. Convert Infix expression to prefix.
    2. Evaluate the prefix expression.

  4. Question

    1. What do you mean by queue? What are the practical applications of queue?
    2. Compare different implementations of queue. Write a function to delete elements in circular queue.

      OR
      Write functions for

      1. Finding size.
      2. Checking empty.
      3. Checking full.
      for the implementation of a queue in a circular array with index values to indicate emptiness.

  5. Question

  6. Compare array implementation with linked list implementation. Write function to insert a node in doubly linked list after a node having element N. What is the difference between "P=NULL" and "P is undefined"?

  7. Question

    1. Write algorithm for any of the following sorting methods: -
      • Merge Sort
      • Quick Sort
      • Radix Sort
    2. Compare above three methods of sorting for ideal, worst and average cases.

  8. Question

  9. Describe the following in brief: -
    1. Hash Table.
    2. Priority queue.

  10. Question

    1. Write a recursive algorithm to print Fibonacci numbers.
    2. Write a short note on Optimal Binary Search Tree.

  11. Question

  12. What do you mean by graph? How are graphs represented in C.
    Describe Travelling Salesman's problem.