If only one record satisfies the search condition, then, on the average, a program will read into memory and search half the file blocks before it finds the record. For a file of b blocks, this requires searching (b/2) blocks, on average. If no records or several records satisfy the search condition, the program must read and search all b blocks in the file.
anyone can explain the highlighted text with example i can't understand how B/2 block is required to search If only one record satisfies the search condition?