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


Please Help Members By Posting Answers For Below Questions

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1945


What is comp-1 and comp-2?

754


Can you please let me know the centre name of INS certification in Kolkata.

1708


i want a program using by if, evaluate , string, unstring, perform, occurs?

4035


What is the difference between Global and External Variables?

654






What is static and dynamic call in cobol?

586


What is the utilization of copybook in cobol?

648


How you can read the file from bottom?

652


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1757


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

984


what is the use of outrecord?

1764


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

702


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

632


How do u write test cases?

1630


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895