Computing - Chapter one summary -

Description

Flashcards covering nested if statements, arithmetic operators, boolean operators, selection, sequence and iteration.
Beenish Shabir
Flashcards by Beenish Shabir, updated more than 1 year ago
Beenish Shabir
Created by Beenish Shabir almost 8 years ago
29
0

Resource summary

Question Answer
What is the function of the 'AND' boolean operator? If all the operands are true, then the condition becomes true.
What is the function of the 'OR' boolean operator? If any of the operands are true, then the condition becomes true.
What is the function of the 'NOT' boolean operator? Used to reverse the state of the operand.
What does DIV do? Divides integers only.
What does MOD do? Divides and returns the remainder
What does the 'if' statement do? If the statement is true, the statement following the 'then' is executed.
What 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
What does the 'else if' statement do? It provides another possible solution.
What is SEQUENCE? The order of the algorithm
What is ITERATION? Repeating a procedure until there is a required outcome.
What is SELECTION? A question is asked, and depending on the answer, it takes two courses of action.
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Output Devices
Jess Peason
Software Processes
Nurul Aiman Abdu
Ecosystems at Risk
Lucy Chen
Design Patterns
Erica Solum