Year 9 basics Flashcards
Whats an If statement?
If the statement is true, then do a group of things once
Whats an if/else statement?
If the ‘if’ statement is false, the ‘else’ statements will be executed.
Whats a flow chart?
A diagram portraying a process, a system or computer algorithm.
What shape is the start/end of a flowchart?
oval - rectangle with rounded corners
What shape is the input/output of a flowchart?
A parallelogram - tilted rectangle
What shape is the process of a flowchart?
A rectangle
What shape is the decision of a flowchart?
A Diamond
Whats a while loop?
Runs the code forever until the condition is satisfied
Whats a for loop?
Runs code a certain number of times
Whats RAM?
Random Access Memory
Is RAM volatile or non-volatile?
Volatile
Why is RAM volatile?
Computer needs to be on, changes a lot. If the computer is turned off, it wipes. Day to day operations.
Whats ROM?
Read Only Memory
Is ROM volatile or non-volatile?
Non-volatile
Why is ROM non-volatile?
Changes only when programmed. Stays when the power is off.