What are the two search techniques ?
Answers were Sorted based on User's Feedback
Answer / vish
If you talk in COBOL, then yes we have type os searches -
sequential search and Binary search.
Syntax:
SEARCH - Sequential
SEARCH ALL - Binary
It is important to note that for the Binary search the
input file (or table) must be sorted order else the result
of the SEARCH ALL will be wrong.
Is This Answer Correct ? | 13 Yes | 0 No |
What is Redefines clause?
How to convert bunch of words in a line to relvant ASCII values?
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
How many variables can be declared in w-s section.?
State the various causes of s0c1, s0c5 and s0c7.
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
What is different between variable length and fixed length?
How do you define a table/array in COBOL?
what is the difference between PA & PF keys?
For rewrite, why is it mandatory that file needs to be opened?