Lessons
Pascal · Introductory
Pascal · 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
Program headers, begin/end blocks, writeln, compiler modes, and building with Free Pascal.

Lesson 2
Variables and types
var and const sections, Integer, Real, Boolean, Char, string, operators, and formatted output.

Lesson 3
Decisions
if/then/else, compound statements, case with ranges and lists, and Boolean operators.

Lesson 4
Loops
for/to/downto, while/do, repeat/until, Break, and Continue.

Lesson 5
Procedures and functions
Declaring subprograms, Result, value vs var vs const vs out parameters, and Exit.

Lesson 6
Arrays
Static arrays with custom bounds, multidimensional arrays, Low/High/Length, and open array parameters.

Lesson 7
Strings
AnsiString, indexing from 1, Length, Copy, Pos, Insert, Delete, and SysUtils helpers.

Lesson 8
Records
Record types, with statements, record constants, nested records, and passing records.

Lesson 9
Enumerations and sets
Enumerated types, Ord, Succ, Pred, Low/High, set types, and in, +, *, -.

Lesson 10
Text files
TextFile, AssignFile, Rewrite, Append, Reset, Readln, EOF, and IOResult.
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.