Multiple choice

All variables must be declared at the beginning of

  1. a machine language program

  2. an assembly language program

  3. a BASIC program

  4. a PASCAL program

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Pascal is a strongly typed language that requires all variables to be declared in a specific declaration block before they are used in the program body. Machine and assembly languages do not have this high-level declaration requirement.