1. What is Type used for?
typing text on the screen.
defining a new type of variable.
making combinations of arrays and records.
declaring variables of mixed types.
should use 'Type b: real' instead.
is already defined.
syntax is wrong, we should use 'typedef'
only specifies a type for variables to be declared later and doesn't create
a variable itself.
4. What will be the output of the next code?
Type floats = array[1..10] of real;
PROCEDURE WriteIt(r: floats);
Var x: array[1..10] of integer;
x := 3;
We forgot to initialize the array r!
type mistmatch in calling the procedure.