Logical operators (Edexcel GCSE Computer Science): Flashcards

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

Practise the cards

9 cards from this deck

Show

What are logical operators?

Symbols that combine conditions using Boolean values (true/false)

Boolean values

True or False

'and' operator returns True when

Both sides of the condition are true

'or' operator returns True when

At least one side (or both) is true

'not' operator function

Inverts result (True→False, False→True)

How many operands do 'and' & 'or' need?

Two operands (one on each side)

How many operands does 'not' need?

One operand only

Logical operators use in selection

With if...elif...else statements

Logical operators use in repetition

With while loops

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

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