Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 5 - No. 11)

What is the function of a 'type check' in the context of data validation?
To ensure a value falls within a specific range.
To verify that an input matches a predefined format.
To confirm data is of the correct data type.
To check that a field is not left empty.

Explanation

A type check verifies that the data input matches the expected data type.

Comments (0)

Advertisement