What is the difference between a binary search and a
sequential search?
Answer Posted / sharath
Binary search
1)It is for search all.
2)access is faster.
3)sort order is either ascending or descending.
Sequential search
1)It is for linear search
2)access is slow
3)only ascending order
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
) what is the difference between AID and HANDLE AID?
When is inspect verb is used in cobol?
how do you reference the fixed unblock file formats from cobol programs
How do you reference the following file formats from cobol programs?
How you can characterize tables in cobol?
how do you reference the esds vsam file formats from cobol programs
Give some examples of command terminators?
What is the difference between goback, stop run and exit program in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Describe the cobol database components?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do you define a variable of comp-1 and comp-2?