ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 17)

In the linear search algorithm example, how is a match indicated?
The variable 'Found' is set to TRUE.
The counter is reset to 0.
The algorithm stops without a message.
The algorithm prints the item at the end.

Giải thích

In the provided linear search example, the 'Found' variable is set to TRUE when a match is found.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc