Question 2
Question 2 of 10

Question image for Q2
Topics Tested

Including: integer, real, char, string, Boolean. Including: IF statements, CASE statements. Including: count-controlled loops, pre-condition loops, post-condition loops. Including: length, substring, upper, lower. The first character of the string can be position zero or one. Arithmetic, limited to: +, -, /, *, ^ (raised to power of), MOD, DIV. Relational, limited to: =, <, <=, >, >=, <> (not equal to). Logical, limited to: AND, OR, NOT. Including nested selection and iteration. Candidates will not be required to write more than three levels of nested statements. Procedures and functions may have up to three parameters. Including: MOD, DIV, ROUND, RANDOM. Including appropriate use of: meaningful identifiers, the commenting feature provided by the programming language, procedures and functions, relevant and appropriate commenting of syntax. Use meaningful identifiers for: variables, constants, arrays, procedures and functions.