Arithmetic and relational operators (Edexcel GCSE Computer Science): Flashcards

📚Flashcards
Arithmetic and relational operators
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

Operators definition

Special symbols for calculations & comparisons in programs

Arithmetic operators purpose

Mathematical symbols for calculations in programs

Multiplication operator symbol in programming

Modulus operator (%) purpose

Finds remainder after division

Integer division (//) result type

Whole number only, ignores decimals

Exponentiation operator symbol

**

Result of 7 % 3

1

Result of 7 // 3

2

Result of 2 ** 3

8

Relational operators purpose

Compare values and return true or false

Equal to operator symbol

==

Not equal to operator symbol

!=

Difference between == and =

== compares values, = assigns values to variables

String comparison method

Alphabetical order

BIDMAS acronym meaning

Brackets, Indices, Division, Multiplication, Addition, Subtraction

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.