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
Name some of the examples of COBOl 11?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Name the sections present in data division.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do u write test cases?
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 to print 10 to 1 if the input have only 10 digit number?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How you can read the file from bottom?
Can you please let me know the centre name of INS certification in Kolkata.
What is report-item in COBOL?
i need a small 3d program using inline and outline.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Define static linking and dynamic linking.