56 Data Structures (Computer Science) questions asked in CIL MT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
Consider the following statements
1. Insertion Sort and Merge Sort are stable.
2. Heap Sort is inherently unstable.
3. Selection Sort is not inherently stable, but may be coded in such a way that it is stable
Which of the following is / are correct
I. A language is context free if and only if it is accepted by PDA
II. PDA is a finite automata with push down stack
Which of the following statement is false about Prim's algorithm?
AInitially the roots key and nodes are initialized to zero.
BIt may use binomial max heap to represent the priority queue.
CThe complexity is O(E log V) using binary heap
DThe time complexity is O(E + V log V) using Fibonacci Heap
Show answerHide answer
Correct answer: (B) It may use binomial max heap to represent the priority queue.
How to use these CIL MT Computer Science questions
Every question here was asked in a real CIL MT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full CIL MT papers as timed tests to check your speed under exam conditions.