Week 0 Scratch Flashcards
(11 cards)
What is a bit?
A binary digit - e.g., a 0 or a 1
How would you explain what transistors are?
Transistors are tiny lightbulbs that go on/off.
- You need more transistors to store more memory
What is a byte?
A byte is 8 bits
What is ASCII mapping?
- Mapping for the English language where each single character is worth a Byte (8 bits)
- Alphabet begins at 65 (A)
- More advanced characters use more bits - e.g., 16, 24, 32
How is colour represented?
Using RGB - red green blue
- 3 Numbers for one pixel - so 24 bits per pixel
What is an algorithm?
Step by step instructions to turn an input into an output - a problem into a solution
What is the definition of a function?
An action or verb. A bite-sized task that a computer can do for you
What is a conditional?
‘Forks in the road’ where you ask a question and decide which way to go - e.g., if, else if etc
What is a boolean expression?
The questions you ask to a conditional - a question you ask with a yes or no answer (True or False) to decide which fork in the road to go down
What is a loop?
A cycle that makes you keep going back to a particular point
What is pseudocode?
A human-readable version of your code