Pseudocode
← Building blocks
Records
built by teacher Quan
N
Example
TYPE, fields, dot notation
Copy one record to another
Array of records
1
TYPE StudentRecord
2
DECLARE LastName : STRING
3
DECLARE YearGroup : INTEGER
4
ENDTYPE
5
6
DECLARE Pupil : StudentRecord
7
Pupil.LastName ← "Nguyen"
8
Pupil.YearGroup ← N
9
OUTPUT Pupil.YearGroup
10
Hide notes
← Step
Step →
Reset
Random