Fetch
Decode
Explain
Activities
Flashcards
Exam Questions
Revise
Blog
Contact
Login
Login
Menu
Activities
Flashcards
Exam Questions
Revise
Blog
Contact
Login
Qualifications
Edexcel GCSE Computer Science
1.2 Algorithms
Logical Operators
Card
1
of
13
0
got it
0
still learning
Question
Evil question
Tap
Click or press space
to see the answer
Answer
Still learning
Got it
Turn over
Shuffle
0%
Round complete
Go again with the ones I'm still learning
Start the whole set again
Choose another set
All 13 cards in this set
Which operator gives a True result only when both of its inputs are True?
AND
What is meant by the operator OR?
It gives a True result when at least one of its inputs is True
Which operator reverses the value of a single Boolean input?
NOT
What is meant by the term Boolean expression?
An expression that evaluates to either True or False
What is the name for a table that shows the output for every possible combination of inputs to a Boolean expression?
Truth table
What is meant by the term Boolean operator?
An operator such as AND, OR or NOT that combines or changes True and False values
What is the output of the expression NOT True?
False
What is the value of (2 > 3) OR (5 == 5)?
True
A program accepts a password only when it is longer than 7 characters AND contains a digit. Which pair of values allows the password to be accepted?
Length is 10, contains digit is True
In the rule IF day == 'Saturday' OR day == 'Sunday' THEN shop is closed, on which days is the shop closed?
Saturday and Sunday
What does the expression NOT (x > 10) evaluate to when x is 15?
False
What does the NOT operator do to its input?
It takes a single input and reverses its truth value, so True becomes False and False becomes True.
A ticket is sold when age is less than 18 OR the person is a student. Which person can buy a ticket?
A 25 year old who is a student