1. Home
  2. MCQs by exam
  3. GATE CS
  4. Computer Science MCQs

GATE CS MCQs – Computer Science MCQs · Page 2

102 multiple choice questions typical of the GATE CS exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 26–50 of 102

Which data structure provides efficient pattern matching with O(m) preprocessing and O(n) search time?

  1. Naive String Matching
  2. Knuth-Morris-Pratt Algorithm Correct answer
  3. Rabin-Karp Algorithm
  4. Boyer-Moore Algorithm
MCQSEXAM Read explanation