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 is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8148


What is the difference between Global and External Variables?

657


How to print 10 to 1 if the input have only 10 digit number?

804


What is report-item in COBOL?

702


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

812






I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1998


Give some examples of command terminators?

749


What is the Purpose of Pointer in the string?

636


What is the difference between PIC 9.99 and PIC9v99?

771


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

663


What is perform what is varying?

697


What is the problem of ordered sequential files access?

692


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5667


What is amode(31)

714


Which Search verb is equivalent to PERFORM…VARYING?

677