You are on page 1of 1

8

(a) State the number of fields and records in the table.


Fields ------------------------------------------------------------------------------------------------------
Records ---------------------------------------------------------------------------------------------------
(2 marks)
(b) Give two validation checks that could be performed on the Show Number field.
Validation check 1 --------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
Validation check 2 --------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(2 marks)
(c) Using the query-by-example grid, write a query to identify jazz performances that are not
sold out. Only display the date and the title.

Field:
Table:
Sort:
Show:
Criteria:
or:
(4 marks)
[ Total = 8 marks]
8. A programmer wants to test that the readings from 2000 electricity meters are greater than 400
units and less than 900 units. The programmer uses selection and repetition statements as part of
the program.
Explain, using programming statements, how selection and repetition could be used in this
program.
Selection -------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Repetition ------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------

Grade 10 Computer Science Exam I September 2021

You might also like