Why Does an Ada Program Look Like This? · 10 Lessons
English

Computer Fundamentals

Module 7 – Why Does an Ada Program Look Like This?

Page 5 of 10 · About 15 minutes per lesson, including practice.

Why procedure Exists

procedure Hello is

Pascal says:

program Hello;

Ada says:

procedure Hello is

Why?

Because Ada treats every executable unit as a procedure or function.

The program itself is simply one procedure that starts everything.

This encourages programmers to build software from many small reusable pieces.

Example code on Agila Forge ↗

Complete this lesson

Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.

Sign in · Save your progress and earn a certificate for this lesson.