Below are the specific constructs that are included in the test language used within this study.
Assignment |
Variable:=Expression
Variable[Expression]:=Expression
|
Expression |
Variable
Variable[Expression]
IntegerNumber
RealNumber
Expression ArithmeticOp Expression
|
LogicOp
|
AND OR |
ComparisonOp |
= <> > < >= <= |
Comparison |
Expression ComparisonOp Expression
Comparison LogicOp Comparison
NOT Comparison
|
Block |
BEGIN ... END |
Test |
IF Comparison THEN ... ELSE ... ENDIF
IF Comparison THEN ... ENDIF |
Loop
|
WHILE Comparison DO ... ENDWHILE
REPEAT ... UNTIL Comparison ENDREPEAT
FOR Variable := Expression TO Expression DO ... ENDFOR PARALLELFOR Variable := Expression TO Expression DO ... ENDFOR
|
Input |
READ(Variable) |
Output |
WRITE(Variable) |
|