Flashcards
Computing - Chapter one summary -
Cards in this deck (11)
- 1What is the function of the 'AND' boolean operator?If all the operands are true, then the condition becomes true.
- 2What is the function of the 'OR' boolean operator?If any of the operands are true, then the condition becomes true.
- 3What is the function of the 'NOT' boolean operator?Used to reverse the state of the operand.
- 4What does DIV do?Divides integers only.
- 5What does MOD do?Divides and returns the remainder
- 6What does the 'if' statement do?If the statement is true, the statement following the 'then' is executed.
- 7What does the 'else' statement do?It usually branches of an 'if' statement. If the 'if' statement is false, the 'else' statement will be carried out
- 8What does the 'else if' statement do?It provides another possible solution.
- 9What is SEQUENCE?The order of the algorithm
- 10What is ITERATION?Repeating a procedure until there is a required outcome.
- 11What is SELECTION?A question is asked, and depending on the answer, it takes two courses of action.
Information
- Description
- Flashcards covering nested if statements, arithmetic operators, boolean operators, selection, sequence and iteration.
- Created by
- Beenish Shabir
- Views
- 92
- Tags
- Rating