Want to learn and master COBOL?

Join Exercism’s COBOL Track for access to 34 exercises with automatic analysis of your code and personal mentoring, all 100% free.

Explore exercises

About COBOL

HELLO * COBOL source code snippet
       IDENTIFICATION DIVISION.
       PROGRAM-ID. Hello.
       DATA DIVISION.
       PROCEDURE DIVISION.
       DISPLAY "Hello World!"
       STOP RUN.

34 coding exercises for COBOL on Exercism. From Nucleotide Count to Isogram.


Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.

See all COBOL exercises on Exercism

Key Features of COBOL


COBOL

Statically Typed

COBOL's type system allows for defining not only the type of a variable but also it's exact size.

English Syntax

COBOL's syntax was designed to look just like English, making it easy to read and understand.

Stable and Reliable

First released in 1959, it's been exhaustively tested and proven to be extremely reliable.

Precise Calculations

COBOL's decimal arithmetic allows for precise financial calculations without rounding errors.

Fast and Efficient

COBOL is fast and efficient, and it's used for processing millions of bank transactions a day.

Still Evolving

It's still evolving and being updated after 60 years, with a new standard revision releasing soon.

Get mentored the COBOL way

Every language has its own way of doing things. COBOL is no different. Our mentors will help you learn to think like a COBOL developer and how to write idiomatic code in COBOL. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in COBOL - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced COBOL exercises

The COBOL track on Exercism has 34 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all COBOL exercises
COBOL

Get started with the COBOL track

The best part, it’s 100% free for everyone.