Karteikarten
compuer science
Karten in diesem Stapel (3)
- 1Boolean operatorsBoolean operators:
-AND
-Both sides of a statement have to be true
-e.g. Allow someone to vote if "Age>18" AND "Registered to vote".
-OR
-Only one side of a statement has to
be true
-e.g. Take a bus to school if "it is raining" OR "it is snowing".
-NOT
-Reverses the outcome of a statement - 2Comparison operatorsComparison operators:
-Equals to: =
-Not equal to: ≠
-Less than: <
-Greater than: >
-Less than or equal to: ≥
-Greater than or equal to: ≤ - 3Sequence,Selection and iterationSequence:
-executing one instruction after another
Selection:
-Selection is a program branch depending on condition
Iteration:
-Iteration,sometimes called a loop is repeating sections of code
Informationen
- Beschreibung
- Karteikarten am compuer science, erstellt von Ted Handley am 01/10/2019.
- Erstellt von
- Ted Handley
- Aufrufe
- 1
- Bewertung
Mehr zu Operators and Boolean Logic