What is the difference between a binary search and a
sequential search?
Answer Posted / shailendra
binary search :
only = is valid, only one comparision os possible, search
all will be in syntex,input file will be sorted order with
the key on which basis we search.
seqential search :
many comparision is possible at the same time,
all the comparision > < = greater equal and other
comparision is possible
srted order is not req.
in syntex only search will mention
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What do you understand by psb and acb?
What is the LINKAGE SECTION used in COBOL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Can we change the password using ALTER? anyone tried and changed?
How do we get current date from system with century in COBOL?
What is the compute verb? How is it used?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the Purpose of Pointer in the string?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Whats the difference between search & search ALL?
What is Pic 9v99 Indicates in COBOL?
Why would you use find and get rather than to obtain?
What are the pertinent COBOL commands?
A table has two indexes defined. Which one will be used by the SEARCH?
How are the next sentence and continue different from each other?