Cobol program for the binary search


Question 1: What do you mean by the term index? How is it defined in the COBOL? Describe with illustration.

Question 2: Distinguish between the terms index and subscript.

Question 3: What are the various types of search supported by the COBOL?

Question 4: Describe the meaning of the given COBOL verbs with illustrations:

a) SET TO and SET UP BY or SET DOWN BY.
b) SEARCH with its options.

Question 5: Describe the method of searching in an unsorted table of the COBOL.

Question 6: Write down a COBOL program for linear search on the STUDENT table.

Question 7: Write down a COBOL program for the binary search on EMPLOYEE table where major key is EMPLOYEE-ID.

Request for Solution File

Ask an Expert for Answer!!
COBOL Programming: Cobol program for the binary search
Reference No:- TGS08817

Expected delivery within 24 Hours