Pascal · Starter

The basics: what a thing is and what it's for.

Starter·20.1.1

Which operator does Pascal use to assign a value to a variable?

Starter·20.1.2

Which keyword marks the start of the executable statement block in a Pascal program or procedure?

Starter·20.1.3

How does a standard Pascal program's source text end?

Starter·20.1.4

Which section keyword introduces variable declarations in Pascal?

Starter·20.1.5

Which keyword declares a named, unchangeable value in Pascal?

Starter·20.1.6

Which standard procedure prints text to the console, followed by a newline?

Starter·20.1.7

Which standard procedure reads a line of input from the console into a variable?

Starter·20.1.8

Which of these is a valid single-line comment delimiter supported in modern Pascal dialects like Delphi and Free Pascal?

Starter·20.1.9

Which built-in type name represents whole numbers in Pascal?

Starter·20.1.10

Which built-in type name represents floating-point numbers in Pascal?

Starter·20.1.11

Which built-in type holds a single True/False value in Pascal?

Starter·20.1.12

Which built-in type holds a single character in Pascal?

Starter·20.1.13

How do you declare a fixed-size array of 10 integers indexed from 1 to 10?

Starter·20.1.14

Which keyword introduces a named group of related fields, similar to a C struct?

Starter·20.1.15

Which loop keyword repeats a block while a condition remains true, testing the condition before every iteration?

Starter·20.1.16

Which loop construct always executes its body at least once, testing the condition only after each iteration?

Starter·20.1.17

Which keyword declares a subroutine that does not return a value?

Starter·20.1.18

Which keyword declares a subroutine that returns a value?

Starter·20.1.19

What is the required first line of every standard Pascal source file?

Starter·20.1.20

In standard Pascal, which punctuation mark typically separates consecutive statements inside a begin...end block?