Question 1: What do you mean by the term index? How is it defined in 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 a COBOL program for the linear search on STUDENT table.
Question 7: Write down a COBOL program for binary search on EMPLOYEE table where main key is EMPLOYEE-ID.