Master Mainframe Technologies - COBOL, JCL, DB2, VSAM, CICS & More
ABEND Codes SQLCODEs File Status Interview Prep Contact

Practice Problems

Master COBOL, JCL, and mainframe skills with real-world scenarios

109
Total Problems
38
Beginner
47
Intermediate
24
Advanced

🔢 Arithmetic Operations

Beginner
COBOL
Write a program that accepts two numbers and displays their sum....
add arithmetic numeric
COBOL
Accept 5 numbers and calculate their average....
compute average loop
COBOL
Demonstrate ADD, SUBTRACT, MULTIPLY, DIVIDE with all variations....
add subtract multiply divide
COBOL
Use COMPUTE for complex mathematical expressions....
compute compound-interest formula
COBOL
Calculate percentage increase, decrease, and percentage of total....
percentage calculation arithmetic
COBOL
Convert between USD, EUR, GBP, and INR....
currency conversion exchange-rate
COBOL
Calculate simple interest: SI = (P * R * T) / 100...
interest compute financial
COBOL
Handle decimal precision with ROUNDED and overflow with ON SIZE ERROR....
rounded size-error overflow precision
Intermediate
COBOL
Calculate progressive tax: 0-10000: 0%, 10001-30000: 10%, 30001-50000: 20%, Above 50000: 30%....
tax brackets progressive calculation