InterviewPitch
Land the job you want — prepare
with Real interviews Q&A
Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.
Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is COBOL?
COBOL (Common Business-Oriented Language) is a high-level programming language mainly used for business, finance, and administrative systems.
Beginner
2. What are the divisions in a COBOL program?
Identification Division, Environment Division, Data Division, and Procedure Division.
Beginner
3. What is Identification Division?
It contains program information like PROGRAM-ID and author details.
Beginner
4. What is Data Division?
It defines variables, file structures, and data descriptions used in the program.
Beginner
5. What is Procedure Division?
It contains executable statements and business logic.
Beginner
6. What is PIC clause?
PIC (Picture) clause defines the data type and size of a variable.
Beginner
7. What does PIC 9 mean?
PIC 9 defines a numeric data item.
Beginner
8. What does PIC X mean?
PIC X defines an alphanumeric data item.
Beginner
9. What is WORKING-STORAGE SECTION?
It stores variables used throughout the program.
Beginner
10. What is LINKAGE SECTION?
It defines variables received from another program.
Beginner
11. What is PERFORM statement?
PERFORM executes a paragraph or section.
Beginner
12. What is MOVE statement?
MOVE copies data from one variable to another.
Beginner
13. What is DISPLAY statement?
DISPLAY prints output to the screen.
Beginner
14. What is STOP RUN?
STOP RUN terminates the program execution.
Beginner
15. What is ACCEPT statement?
ACCEPT reads input from the user.
Intermediate
16. What is OCCURS clause?
OCCURS defines an array in COBOL.
Intermediate
17. What is REDEFINES?
REDEFINES allows different data descriptions for the same memory location.
Intermediate
18. What is INDEXED file?
A file accessed using a key value.
Intermediate
19. What is SEQUENTIAL file?
A file accessed sequentially from beginning to end.
Intermediate
20. What is COMP?
COMP stores numeric data in binary format.
Intermediate
21. What is COMP-3?
COMP-3 stores numbers in packed decimal format.
Intermediate
22. What is EVALUATE statement?
EVALUATE works like switch-case in other languages.
Intermediate
23. What is STRING statement?
STRING combines multiple fields into one.
Intermediate
24. What is UNSTRING?
UNSTRING splits a string into multiple fields.
Intermediate
25. What is INSPECT?
INSPECT examines and modifies strings.
Intermediate
26. What is INITIALIZE?
INITIALIZE sets variables to default values.
Intermediate
27. What is CALL statement?
CALL invokes another program.
Intermediate
28. What is CANCEL statement?
CANCEL removes a called program from memory.
Intermediate
29. What is SORT verb?
SORT arranges records in ascending or descending order.
Intermediate
30. What is SEARCH?
SEARCH finds an element in an array.
Advanced
36. What is CICS?
Customer Information Control System used for online transaction processing.
Advanced
37. What is JCL?
Job Control Language used to run COBOL programs on mainframes.
Advanced
38. What is DB2?
IBM relational database often used with COBOL.
Advanced
39. What is SQLCODE?
SQLCODE returns status of SQL execution in DB2.
Advanced
40. What is VSAM?
Virtual Storage Access Method used for indexed file storage.
Coding Round
46. Display Hello World
DISPLAY "HELLO WORLD".Coding Round
47. Add two numbers
ADD A TO B GIVING TOTAL.Coding Round
48. If condition
IF A greater then B DISPLAY 'GREATER' END-IF.Coding Round
49. Perform loop
PERFORM VARYING I FROM 1 BY 1 UNTIL I greater then 10 DISPLAY I END-PERFORM.Coding Round
50. String concatenate
STRING 'HELLO' ' ' 'WORLD' INTO WS-MSG.