COBOL Quiz
COBOL Quiz 11-20
-
- Q11 - The ASCENDING or DESCENDING KEY clause is required whenever the SEARCH ALL is applied to a table.
View Answer
-
- Q12 - Which of the following are valid data type in COBOL
- A - Alpha-numeric (X)
- B - Alphabetic (A)
- C - Numeric (9).
- D - All of above
- Answer : D - All of above
View Answer
-
- Q13 - What is level 66 used for ?
- A - For Elementary Item
- B - For RENAMES clause
- C - For condition names.
- D - None of above
- Answer : B - For RENAMES clause
View Answer
-
- Q14 - Which of the following is True
- A - SEARCH ALL does serial search; SEARCH does binary search
- B - Both SEARCH, SEARCH ALL has capabilty to perform serials and binary search
- C - SEARCH does serial search; SEARCH ALL does binary search
- D - None of above
- Answer : C - SEARCH does serial search; SEARCH ALL does binary search
View Answer
-
- Q15 - Which of the following is valid in COBOL
- A - DO... WHILE
- B - WHILE..DO
- C - EVALUATE
- D - None of above
View Answer
-
- Q16 - The order of the parameters passed to the program is determined by the order of their declaration in the LINKAGE SECTION.
View Answer
-
- Q17 - What is the mode in which you will OPEN a file for writing?
- A - OUTPUT
- B - EXTEND
- C - Both option A & B
- D - None of the above
- Answer : C - Both option A & B
View Answer
-
- Q18 - Which of the following division is used for documentation purpose
- A - DATA DIVISION
- B - IDENTIFICATION DIVISION
- C - PROCEDURE DIVISION
- D - ENVIRONMENT DIVISION
- Answer : B - IDENTIFICATION DIVISION
View Answer
-
- Q19 - COMP increases the speed of computation as compared to DISPLAY
View Answer
-
- Q20 - A data item DATA-A with PIC S9(4) requires 3 bytes of storage if its USAGE clause is
- A - COMP
- B - COMP-1
- C - COMP-3
- D - DISPLAY
View Answer