What is the difference between a binary search and a
sequential search?
Answer Posted / sahil chawla
HI !!!!
I m Sahil Chawla
It is to be noted that in binary search MID=(start+end)/2
is to be found
but in linear search there is no such condition
| Is This Answer Correct ? | 18 Yes | 7 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
Name the sections present in data division.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Define static linking and dynamic linking.
Have you used comp and comp-3 in your project? And how?
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?
What are different data types in cobol?
Write down the divisions of cobol program?
Define cobol?
What are the cobol coding sheets?
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the rrds file formats from cobol programs
Which division and paragraphs are mandatory for a COBOL program?
How do define dynamic array in cobol.