Open In App

UGC-NET | UGC NET CS 2014 Dec – III | Question 36

Like Article
Like
Save
Share
Report

What is sentinel value in Sentinel Linear Search?

(A)

The middle element

(B)

The second element

(C)

The last element

(D)

None



Answer: (C)

Explanation:

In Sentinel Search, the last element is stored and called sentinel value.

Refer this for more reference:  https://www.geeksforgeeks.org/sentinel-linear-search/ 

Hence Option(C) is the correct answer.


Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 27 Jun, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads