Data Structures (NCO)

Tests knowledge of data structures, abstract data types, and related algorithms including queues, stacks, trees, searching techniques, and sorting methods.

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which data structure allows deleting of data elements from front and insertion at rear?

  1. Stacks
  2. Queues
  3. Dequeues
  4. Binary search tree
  5. _
Question 2 Multiple Choice (Single Answer)

Which technique is used for direct search?

  1. Binary search
  2. Linear search
  3. Tree search
  4. Hashing
  5. _
Question 3 Multiple Choice (Single Answer)

The operation of processing each element in a list is called

  1. sorting
  2. merging
  3. inserting sort
  4. traversal
  5. _
Question 4 Multiple Choice (Single Answer)

Which of the following data structures is non-linear?

  1. Queues
  2. Stacks
  3. Lists
  4. Tree
  5. _
Question 5 Multiple Choice (Single Answer)

Which of the following sorting algorithms has average-case and worst-case running time of O?

  1. Bubble sort
  2. Insertion sort
  3. Merge sort
  4. Quick sort
  5. _
Question 6 Multiple Choice (Single Answer)

Which searching technique takes O time to find a data?

  1. Linear search
  2. Binary search
  3. Hashing
  4. Tree search
  5. _
Question 7 Multiple Choice (Single Answer)

Which of the following is a probabilistic data structure?

  1. Bloom filter
  2. Hash table
  3. Hash tree
  4. Finger tree
  5. _
Question 8 Multiple Choice (Single Answer)

Which of the following is not an abstract type?

  1. Dequeue
  2. List
  3. Record
  4. Container
  5. _
Question 9 Multiple Choice (Single Answer)

Which of the following is not a composite type?

  1. Tagged union
  2. Union
  3. Record
  4. List
  5. _
Question 10 Multiple Choice (Single Answer)

To represent hierarchical relationship between elements, which data structure is not suitable?

  1. Priority
  2. Tree
  3. Dequeue
  4. Queue
  5. _
Question 11 Multiple Choice (Single Answer)

Which data structure is needed to convert infix notation to postfix notation?

  1. Branch
  2. Tree
  3. Stack
  4. Queue
  5. _
Question 12 Multiple Choice (Single Answer)

Which of the following sorting algorithms is of divide-and-conquer type?

  1. Bubble sort
  2. Insertion sort
  3. Quick sort
  4. Selection sort
  5. _
Question 13 Multiple Choice (Single Answer)

What is a mathematical model with a collection of operations defined on that model called?

  1. Data structure
  2. Abstract data type
  3. Algorithm
  4. Primitive data type
  5. _
Question 14 Multiple Choice (Single Answer)

Which of the following does not relate to stacks?

  1. Piles
  2. FIFO lists
  3. LIFO lists
  4. Push
  5. _