What is the difference between a binary search and a
sequential search?
Answer Posted / shyamendra
Binary search is attampt on file which is in sorted
order.Search All is the key word.Only one 'WHEN'
& 'AND'.Only '=' is used.
While Linear search can be attempt on any
file.Any logical operation is possible.Multiple 'WHEN' are
possible.Index is set to 1 before starting searching.When
table size is small then only we use this.
| Is This Answer Correct ? | 40 Yes | 14 No |
Post New Answer View All Answers
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what are decleratives in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Define cobol?
What is the difference between Call and a Link?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you differentiate between cobol and cobol-ii?
How do define dynamic array in cobol.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is Pic 9v99 Indicates in COBOL?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Difference between cobol and cobol-ii?
Give some examples of command terminators?
How do you define a variable of comp-1 and comp-2?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?