Please enable JavaScript to use CodeHS

APCSP20: AAP-2.E.2

CodeHS Lessons

The exam reference sheet provides the following relational operators =, ≠, >, <, ≥, and ≤. a = b; a ≠ b; a > b; a < b; a ≥ b; a ≤ b; These are used to test the relationship between two variables, expressions, or values. A comparison using a relational operator evaluates to a Boolean value. For example, a = b evaluates to true if a and b are equal; otherwise, it evaluates to false.

Standard
4.3 Comparison Operators
Standard
4.3 Comparison Operators
Standard
4.3 Comparison Operators
Standard
4.3 Comparison Operators
Standard
3.3 Comparison Operators
Standard
3.3 Comparison Operators
Standard
3.3 Comparison Operators
Standard
2.3 Comparison Operators
Standard
2.3 Comparison Operators
Standard
2.3 Comparison Operators
Standard
2.2 Comparison and Logical Operators