This study notes covers Operator Types within Operators for GCSE Computer Science. Revise Operators in Programming for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This topic appears less often, but it can still be a useful differentiator on mixed-topic papers. It is section 3 of 6 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 3 of 6
Practice
15 questions
Recall
8 flashcards
Operator Types
| Type | Operator | Meaning | Example |
|---|---|---|---|
| Arithmetic | + | Addition | 5 + 3 = 8 |
| - | Subtraction | 5 - 3 = 2 | |
| * | Multiplication | 5 * 3 = 15 | |
| / | Division | 5 / 2 = 2.5 | |
| DIV (//) | Integer division | 5 DIV 2 = 2 | |
| MOD (%) | Modulus (remainder) | 5 MOD 2 = 1 | |
| Comparison | == | Equal to | 5 == 5 → true |
| != | Not equal to | 5 != 3 → true | |
| <, >, <=, >= | Less/greater than | 5 > 3 → true | |
| Logical | AND | Both must be true | true AND false → false |
| OR | At least one true | true OR false → true | |
| NOT | Inverts value | NOT true → false |