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

Computer Fundamentals

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

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

Ada Exercise

with Ada.Text_IO;
use Ada.Text_IO;

procedure Hello is
begin
   Put_Line("Hello, World!");
end Hello;

Exercise 2 – Type and Run

Type the program. Compile it. Run it.

Expected output:

Hello, World!

Exercise 3 – Experiment

Change:

"Hello, World!"

to:

"I love Ada"

Only the text changes. The structure stays the same.

Open Ada Runner

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.