Pascal Programming v1.6
© Copyright Brian Brown/Peter Henry, 1984-1997. All rights reserved.
Last modified 07/22/2025 02:06:31 Best viewed in 800x600 resolution.
| Notes | Tests | Comments | Index |
Previous Page

SELF TEST 2: Variable Declarations
This test works with forms compatible browsers only. Select your answers then click on the submit button to have your answers checked.

1. The statement that correctly defines an integer called sum is

2. The statement that declares a character called letter is

3. The statement that declares a variable called money which can be used to hold currency is

4. The statements that declares an integer variable called total and initialise it to zero, are

Statement 1


	integer : total;
	total := 0;

Statement 2

	total : integer = 0;

Statement 3

	total : integer;
	total := 0;

5. The statement that declares a variable called loop, which can hold any integer value, is

To submit your comments, press this button:

To clear the form, press this button:


Previous Page
Copyright B Brown/P Henry/CIT, 1988-1997. All rights reserved.