Olete.in
Articles
Mock Tests
🧪 COBOL MCQ Quiz Hub
Computer Science
Choose a topic to test your knowledge and improve your COBOL skills
1. Rewrite verb is used to update the records. A file should be opened in I-O mode for rewrite operations. It can be used even if a read operation is not successful. Is this statement true or false?
True
False
All the above
None
2. Indicate in which of the following, the REPORT NAME does not appear
RD entry
INITIATE statement
SELECT clause
TERMINATE statement
3. The Logical Name of the File will be assigned to
DD Name
Step Name
Job Name
Joblib
4. About the MERGE verb, which one of the following is true.
Can merge a maximum of three files
Does not require that the input file to be merged be sorted on the merge keys
Requires that all files mentioned in the statement must have records of same size
Does not require that the position of the merge keys with in the records descriptions of each of the files must be same
5. How many bytes will a S9(8) COMP field occupy?
8 bytes
4 bytes
2 bytes
5 bytes
6. Indicate which of the following is not a Procedure Division verb
Rewrite
Insert
Delete
Start
7. What is the mode in which you will OPEN a file for writing?
Output
Input
Extend
Both A & C
8. When displaying a data-name, it _______ be part of an output record.
Must
Mustn't
Need not
Can't say
9. Which of the following is valid COBOL word?
B12-4
Gross
Over Time
Gross Salary
10. Which of the following storage and retrieval methods would be well suited to your processing requirements if you only need to retrieve records one at a time and there is no fixed pattern to the requests for data and records?
indexed sectors
sequential
direct
indexed direct
11. Which division is used to specify the computer used by the program
Identification Division
Environment Division
Data Division
Procedure Division
12. In which section do sort description is given?
Working-Storage
File Section
Linkage Section
Control Section
13. To develop commercial applications that require precise and efficient manipulation of data, we use
Fortran
COBOL
Pascal
Ada
14. Can u call COBOL I pgm from COBOL-II?
Not possible
Possible in Non cics
Not possible in CICS
None
15. In the IDE, which of following is used to design the layout of an application?
Form Designer window
Project Explorer window
Context Menu
Form Layout window
16. Select variable which is accessible only to the batch program.
Local
Global
External
Internal
17. When displaying a data-name, it _______ be part of an output record.
Mustn't
Mustn't
Need not
Can't say
18. ___________ verb is used to alter the value of index in COBOL
Alter
Move
Set
Both (b) and (c)
19. S9(7) COMP-3 field occupy _________ bytes.
4
6
8
1
20. Speed of dot matrix printer is measured in?
DPM
CPS
DPS
PPM
21. Accept MY-TIME from TIME?
Time stamp
Only Time
Only Date
None
Submit