ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
1 mark · Data types and structures
The validity of a password is checked as part of a program. . . . Line 8 SET passValid TO false Line 9 RECEIVE userPassword FROM (STRING) KEYBOARD Line10 IF userPassword = storedPassword THEN Line 11 SET passValid TO true Line 12 END IF . . . State the data type used to store the variable “passValid”.
Boolean No other answer