Question 4

Edexcel Computer Science June 2021 Paper 2GCSE10 marks

On the specification

(a)
6.3 Data types and structures
(b)(i)
6.4 Input and output
(b)(ii)
6.4 Input and output
Question text

4 The leisure centre stores information about the fitness classes. Each class is supervised by a qualified instructor. (a) The information about instructors must be stored using data types that are the most suitable for the data elements. Complete the table to identify the missing data types. (4) Data element Example Data type ID Reference 26_SMJ_C_3 String Surname SMITH String Initial J Telephone 08756 554221 Qualification type H & F Certificate Qualification level 3 Hourly rate (£) 55.00 (b) The information about instructors is validated. (i) Explain the need for validating input data. (2) (ii) Describe two methods of validating data. (4) (Total for Question 4 = 10 marks)