What is the difference between a binary search and a
sequential search?
Answer Posted / guest
Binary search is search all. sequential search is the
linear serach.
Example for Search all: File contains 100 records. supose
if u r searching for 75 th record, first entire file
divided into two parts, it will check , whether record is
in first half or second.. like that file ds divded into
diffrent parts
sequential serach: if the file contains 100 records, spose
if u r looking for 75th record, it will start serach from
first record...
| Is This Answer Correct ? | 98 Yes | 12 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is length is cobol?
What is static and dynamic call in cobol?
What is the use of intialize verb?
Explain what you understand by passing by value.
What is the usage of comp fields in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What is redefines clause in COBOL?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
IF I mention stop run in CICS what happens?
Write a cobol program making use of the redefine clause.
Describe the cobol database components?
Explain how to differentiate call by context by comparing it to other calls?
What are the rules of the move verb?