Prog1Q3Mod4Wk6 7
Prog1Q3Mod4Wk6 7
Department of Education
Region 1
Pangasinan Division II
Checks if the values of two operands are equal, if yes, 5=5 is true
=
the condition becomes true. 5=6 is false
Checks if the values of two operands are not equal, if 5<>6 is true
<>
yes, then the condition becomes true. 5<>5 is false
Checks if the value of the left operand is greater than the
5>4 is true
> value of the right operand, if yes, then the condition
4>5 is false
becomes true.
Checks if the value of the left operand is less than the
4<5 is true
< value of the right operand, if yes, then the condition
5<4 is false
becomes true.
Checks if the value of the left operand is greater than or
5>=5 is true
>= equal to the value of the right operand, if yes, then the
5>=4 is true
condition becomes true.
Checks if the value of the left operand is less than or
5<=5 is true
<= equal to the value of the right operand, if yes, then the
5<=4 is false
condition becomes true.
Table 1. Relational operators in Pascal programming
Reference: https://www.tutorialspoint.com/pascal/pascal_operators.htm
Rubric
Points 0 point
5 points 3 points 1 point
Criteria
The program was The program needs The program needs No
Correctness of able to display the minimal revisions to full revision to output
Program (x2) expected output display the expected display the expected
output output
The output is The output is The output is No
Promptness submitted before submitted the day submitted days after output
the due date after the due date the due date
Points 0
5 points 3 points 1 point
Criteria point
The explanation is The explanation The explanation is
Comprehensiveness very is comprehensive not No
and correctness (x2) comprehensive with minimal comprehensive output
with no errors. errors. with many errors.
The language Major revisions
Few revisions are
used is simple are needed to
needed to make
Clarity which makes the make the
the explanation
explanation very explanation
clearer.
clear. clearer.
The output is The output is The output is
No
Promptness submitted before submitted the day submitted days
output
the due date after the due date after the due date
Note: The due date will be announced by your teacher.