Boolean Operators Flashcards
1
Q
What Boolean operators do we use?
A
AND, OR, NOT
2
Q
You can use multiple boolean operators at once, but how?
A
Use brackets when they’re long so the computer knows which to do first and are carried out in the order: NOT, AND, OR
3
Q
What can boolean operators be used for?
A
- in conditions
- used to make all the different selection statements and iteration statements more efficient and versatile.
4
Q
How do algorithms make use of booleans?
A
When they search databases they use the operators in search queries.