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

Which division and paragraphs are mandatory for a COBOL program?

923


What is the LINKAGE SECTION used in COBOL?

1204


What are various search techniques in cobol? Explain.

871


how do you reference the fixed unblock file formats from cobol programs

928


Describe the cobol database components?

893


What is rmode(24)

902


What are the various section in data division and briefly explain them.

914


Why would you use find and get rather than to obtain?

902


Which Search verb is equivalent to PERFORM…VARYING?

863


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2249


What is length is cobol?

862


how do you reference the esds vsam file formats from cobol programs

877


What is the local-storage section?

889


A table has two indexes defined. Which one will be used by the SEARCH?

1021


What is comp-1 and comp-2?

938