Fichas
compuer science
Fichas del conjunto (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
Información
- Descripción
- Fichas sobre compuer science, creado por Ted Handley el 01/10/2019.
- Creado por
- Ted Handley
- Visitas
- 1
- Valoración
Más sobre Operators and Boolean Logic