What are the two search techniques ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an in line perform? When would you use it? Anything else you wish to say about it.

633


Why occurs cannot be used in 01 level in COBOL?

703


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1513


What is the difference between next sentence and continue in cobol programing language?

695


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2045






Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

669


In which area will you utilize 88 level items in cobol?

702


Explain what you understand by passing by value.

685


What are the pertinent COBOL commands?

2615


What is cobol?

732


What are declaratives and what are their uses in cobol?

695


What is the difference between PIC 9.99 and PIC9v99?

764


Mention the guidelines to write a structured cobol program?

601


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

883


How to know whether the module is dynamical or statistical?

644