Lessons
Ada · Introductory
Ada · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Program structure and output
with clauses, procedure bodies, Put_Line, and building with gnatmake.

Lesson 2
Variables, constants, and strong typing
Declarations, :=, constants, Integer and Float, explicit conversion, and 'Image.

Lesson 3
Range types and subtypes
Define your own integer ranges, use Natural and Positive, and catch Constraint_Error.

Lesson 4
Control flow
if/elsif, case with choices and others, for loops with ranges and reverse, while, and exit when.

Lesson 5
Procedures, functions, and parameter modes
in, out, in out parameters, functions returning values, named association, and defaults.

Lesson 6
Arrays
Constrained and unconstrained arrays, index types, aggregates, and 'First, 'Last, 'Range, 'Length.

Lesson 7
Records
Record types, defaults, aggregates, field access, and record equality.

Lesson 8
Strings
Fixed String, concatenation with &, slices, Unbounded_String, and Ada.Strings.Fixed helpers.

Lesson 9
Enumerations
Enumeration types, attributes 'Pos, 'Val, 'Succ, 'Pred, 'Image, 'Value, and enum loops.

Lesson 10
Exceptions
Predefined exceptions, raise with messages, handlers, and Exception_Message.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.