6.6k views
5 votes
A sentinel value ________ and signals that there are no more values to be entered:____

a. is a different data type than the values being processed
b. is a special value that cannot be mistaken as a member of the list
c. indicates the start of a list
d. guards the list

User Nkoren
by
4.4k points

1 Answer

5 votes

Answer:

The answer is "Option b".

Step-by-step explanation:

Sentinel [..] is a special value, which existence ensures the end of a loop, which performs structured data. It allows the information end to be identified where no other means are available for this, and wrong choices can be described as follows:

  • In option a, It is a special value, not a data type, that's why it is not correct.
  • Option c and Option d both were wrong because, It is an empty list, and it can't indicate the starting point of the list and guards the list.
User Darius Mandres
by
4.6k points