No student devices needed. Know more
10 questions
What section of a Pascal program is used to declare variables and assign data types? ......
BEGIN
CONST
VAR
TYPE
The actual instructions for the program to run can be found after _____________
The 'WRITELN' statement
The 'VAR' statement
The 'BEGIN' statement
The 'CONST' statement
Which of the following is a valid Pascal output statement?
print('Hello Class!');
println('Hello Class!');
write("Hello Class!');
writeln('Hello Class!');
What is this ( := )?
The equal sign
The assignment operator
The assignment sign
The equal operator
In the programming language Pascal, which of the following is NOT a standard data type?
floating point
char
boolean
integer
What would be the result of the following Pascal statement?
write( 'Total is', 20 );
Total 20
Total = 20
20
Total is 20
Which statement is the correct one for input in Pascal?
input(num);
scanf(num)
readln(num);
inputln(num);
Which is the correct variable declaration statement?
name := string;
string : name;
name : string;
string := name;
Why do we use indentation in our program's code?
We have nothing better to do
It makes the program easier to understand
It's exciting
It makes the program more accurate
A variable that stores a collection of characters such as word, phrase or sentence is a(n):
integer
string
number
character
Explore all questions with a free account