stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Pascal Coding Flashcards | StudBud
Explore
/
Pascal Coding
Pascal Coding
10 terms
·
StudBud Administration
·
7 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
What does the following code do? WriteLn('Hello');
Ends the program
Declares a variable
Displays output
Takes input
2
What is the output of this code? Var a := 10; WriteLn(a);
Nothing
10
0
a
3
What is Pascal used for?
Teaching programming
Web development
Designing graphics
Hardware control
4
Which data type is best for storing someone’s name?
Real
Boolean
Integer
String
5
What is a Procedure used for in Pascal?
Making decisions
Organizing code
Repeating code
Inputting data
6
What keyword starts a Pascal program?
Begin
Main
Start
Program
7
What is the purpose of an If statement in Pascal?
Loop through values
Make decisions
Print text
Define variables
8
What symbol is used to end a Pascal program?
;
End
End.
}
9
Which loop runs a fixed number of times?
If loop
While loop
For loop
Repeat Until
10
Which command allows you to get input from a user?
ReadLn
PrintLn
Input()
Write