What are the two search techniques ?

Answers were Sorted based on User's Feedback



What are the two search techniques ?..

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 are the two search techniques ?..

Answer / shashank v. singh

1.) serial search
2.) binary search

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is Redefines clause?

8 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


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.

1 Answers   Syntel,


How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?

6 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,






How many variables can be declared in w-s section.?

2 Answers  


State the various causes of s0c1, s0c5 and s0c7.

0 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


What is different between variable length and fixed length?

2 Answers   TCS,


How do you define a table/array in COBOL?

5 Answers   Hexaware,


what is the difference between PA & PF keys?

1 Answers   IBM,


For rewrite, why is it mandatory that file needs to be opened?

0 Answers  


Categories