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
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do you get the data to code the BMS macro?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How are the next sentence and continue different from each other?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between goback, stop run and exit program in cobol?
) How do u handle errors in BMS macro
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is rmode(any) ?
Difference between array and sub-script ?
Define static linking and dynamic linking.
Write the code implementing the perform … varying.
What is the Purpose of Pointer in the string?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
) how do u code after getting data?