NEW
Font size
WorksheetsPascal Coding
Total questions: 10
Worksheet time: 3mins
What is Pascal used for?
Web development
Designing graphics
Hardware control
Teaching programming
What keyword starts a Pascal program?
Start
Main
Program
Begin
What does the following code do?
WriteLn('Hello');
Ends the program
Declares a variable
Displays output
Takes input
What symbol is used to end a Pascal program?
End.
}
End
;
Which data type is best for storing someone’s name?
Boolean
Real
String
Integer
Which command allows you to get input from a user?
Input()
PrintLn
Write
ReadLn
What is the purpose of an If statement in Pascal?
Loop through values
Print text
Define variables
Make decisions
Which loop runs a fixed number of times?
While loop
If loop
For loop
Repeat Until
What is the output of this code?
Var a := 10;
WriteLn(a);
10
a
0
Nothing
What is a Procedure used for in Pascal?
Inputting data
Repeating code
Making decisions
Organizing code
