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

Answer Posted / pratik gondaliya

with binary serch we can not get output faster because it is difficult to sort the character element.

with linear serch we can get output fastest.

example-: hello my name is pratik

Is This Answer Correct ?    6 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


Write the code to count the sum of n natural numbers.

699


What are the pertinent COBOL

2045


What is amode(24)?

684


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

645






Difference between array and sub-script ?

1166


What is the difference between Call and a Link?

700


State the various causes of s0c1, s0c5 and s0c7.

664


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


Are you comfortable in cobol or jcl?

643


What guidelines should be followed to write a structured cobol prgm?

673


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


Can we change the password using ALTER? anyone tried and changed?

1547


how can i see junk values in dclgen or in hostvariable of comp ?

2544


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

710