Flashcards
Untitled
Cards in this deck (2)
- 1Boolean 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 the statementComparison operators:
- Equals to: =
- not equals to: ≠
-less than:<
-greater than:>
-less than or equal to:≤
-greater than or equal to:≥ - 2Sequence a sequence is executing one instruction after another Selection a selection is a program branch depending on a condition Iteration an iteration repeats sections of codeINPUT
an input is a variable used to collect information
OUTPUT
an output is what is shown on the device after process
IF STATEMENTS
an if statement is used a choice question where the output depends on the answer given by the user
Information
- Description
- Flashcards on Untitled, created by Harrison Riley on 01/10/2019.
- Created by
- Harrison Riley · Oct 2019
- Updated
- Oct 1, 2019
- Views
- 2
- Rating