What are the two search techniques ?

Answer Posted / shashank v. singh

1.) serial search
2.) binary search

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the divisions of a COBOL program?

660


) How do u handle errors in BMS macro?

1421


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1226






Why would you use find and get rather than to obtain?

677


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2327


How you can characterize tables in cobol?

710


In which area will you utilize 88 level items in cobol?

710


A table has two indexes defined. Which one will be used by the SEARCH?

752


Can we redefine the field of x(200) to less than 200?

814


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

806


What is the usage of comp fields in cobol?

649


What is a scope terminator give example?

652


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5051