Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between a binary search and a
sequential search?

Answers were Sorted based on User's Feedback



What is the difference between a binary search and a sequential search?..

Answer / anil prajapati

in cobol Binay search is referred as search all , record
should be in sorted order but sequential search is termed
as search in sequential search not required that record
should be sorted order

Is This Answer Correct ?    7 Yes 2 No

What is the difference between a binary search and a sequential search?..

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

What is the difference between a binary search and a sequential search?..

Answer / sharath

Binary search
1)It is for search all.
2)access is faster.
3)sort order is either ascending or descending.
Sequential search
1)It is for linear search
2)access is slow
3)only ascending order

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


State the various causes of s0c1, s0c5 and s0c7.

0 Answers  


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


How to pass return codes from cobol to jcl?

5 Answers  


how you read control card into array?

3 Answers   HCL,


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   CTS, DSRC,


How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


Categories