Olete.in
Articles
Mock Tests
🧪 COBOL MCQ Quiz Hub
Cobol MCQ Questions
Choose a topic to test your knowledge and improve your COBOL skills
1. COBOL stands is for.....
Common Business Object Language
Common Beneficial Object Language
Common Business Oriented Language
Common Beneficial Oriented Language
2. Which of the following is not a part of the program division in COBOL?
Procedure
Environment
Identification
Compilation
3. D in COBOL stands for....
Draft
Debugging lines
Data
Debugger
4. Comment in COBOL is denoted by....
/
;
*
//
5. hat does S denote in a picture clause?
sign
symbol
character
Alphanumeric sign
6. What is the length of a variable when usage is COMP-2?
2
4
8
16
7. In which mode you will open the sequential file to append the data in the end:
INPUT
EXTEND
APPEND
OUTPUT
8. How records are stored & accessed in sequential file organization?
Relative address method
Direct access method
Sequential access method
both b and c
9. How many bytes S9(6) USAGE IS COMP-3 will take?
3
4
5
6
10. Which of the following word cannot be a user-defined COBOL word?
WS-DISPLAY
WS-ACCEPT
ACCEPT
TUTORIAL
11. What does SEARCH ALL do?
Sequential search
Linear search
Binary search
None
12. Where does the FILE-CONTROL paragraph appear?
Identification Division
Procedure Division
Environment Division
Data Division
13. ndicate in which of the following the REPORT NAME does not appear:
INITIATE statement
SELECT clause
TERMINATE statement
RD entry
14. The Logical Name of the File will be assigned to:
Job Name
Step Name
Joblib
DD Name
15. How many bytes will a S9(8) COMP field occupy?
4 bytes
5 bytes
6 bytes
8 bytes
16. Indicate which of the following is not a Procedure Division verb:
Delete
Insert
Rewrite
Start
17. A storage device which is used to store data & information external to the main storage is known as?
Accumulator
PROM
Backing storage
Buffer
18. Pic 9v99 is a _______ position numeric field with an implied or assumed decimal point after the first position.
one
two
three
four
19. Object Oriented languages:
Are based on actions happening to objects
Are natural language techniques
Are procedural languages
Are task oriented
20. When displaying a data-name it _______ be part of an output record:
Need not
Mustn�t
Can�t say
Must
21. .....verb is used to alter the value of index in COBOL:
Set
Alter
Move
both A and B
22. What is the edited value of the picture clause PIC field 9999+ Numeric value moved to the field -382 and the Edited value is
3820
382
3
38
23. Which of the following is valid COBOL word?
Gross
Over Time
B12-4
Gross Salary
24. 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?
sequential
indexed sectors
indexed direct
direct
25. In a sort file names used must be in the ........entry:
MD
FD
SD
None
26. The.........statement release the resources which are assigned to that file:
EXIT
END
WRITE
STOP RUN
Submit