Computer Science · Algorithms
The worst-case scenario in the linear search algorithm occurs when:
- 1The item is the last element in the array or is not present at all✓
- 2The item is the second to last element in the array
- 3The item is the first element of the array
- 4The item is somewhere in the middle of the array
Correct answer
The item is the last element in the array or is not present at all
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Algorithms