Computer Knowledge

Data Structures and Algorithms

1,256 Questions

Data Structures and Algorithms form the core of computer science, focusing on arrays, linked lists, trees, and sorting mechanisms. These concepts are essential for solving complex computational problems efficiently. Test takers preparing for technical and administrative IT exams will find these questions highly relevant.

Array OperationsLinked List ApplicationsSorting AlgorithmsTree Data StructuresMultilevel IndexingAlgorithm Time Complexity

Data Structures and Algorithms Questions

Multiple choice
  1. Linear Probing

  2. Quadratic Probing

  3. Extendible Hashing

  4. Buckets

  5. Linear Hashing

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Here, the interval between probes is increased by adding the successive outputs of a polynomial to the starting value given by the original hash computation.

Multiple choice
  1. Quick Sort

  2. Radix Sort

  3. Bucket Sort

  4. Merge Sort

  5. Direct Sequencing

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Here, we recursively chop the list into two sublists of almost equal sizes and when we get list of size one, then start sorted combining of lists the reverse order.

Multiple choice
  1. Extendible hashing

  2. Double Hashing

  3. Linear hashing

  4. Linear Probing

  5. Quadratic Probing

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Here, the hash functions are describe as h2(key) is not equal to zero and h2 is not equal to h1 where h1 and h2 are first and second hash function.