DECOMPOSITION
PATTERN RECOGNITION
ABSTRACTION
ALGORITHM
True or false: a micro:bit has input, memory, processing, storage and optuput
TRUE
What's the main difference between a variable and a constant?
What is an algorithm?
Set of step-by-step instructions to solve a problem
What is the Abstraction pillar?
Focusing only on what is really important to solve the problem
What is decomposition?
Break a big problem into smaller, easier-to-solve parts
Direction in which the code is executed when programming in micro:bit
Top to bottom
Name an example of the following data types:
Numerical
Alphanumeric
Logical
Audiovisual
Numerical - 1, 2, 3, etc.
Alphanumeric - "Height", "Age", "Dogs", etc.
Logical - True/False
Audiovisual - images, video, sound
What are the 3 types of algorithm?
Sequential, conditional and repetitive
Definition of computational thinking
Way of thinking that allows us to take a complex problem, understand it and develop solutions.
What is pattern recognition?
Looking for similarities between the decomposed problems.
What is the programming language that's used to program the micro:bit?
Blocks
State the rules to name a variable
Always start with a letter
Cannot contain spaces
Must contain letters, numbers and/or underscores
From what we saw in class, what instruction/block is used for a Conditional algorithm?
If-Else
Input, Process, Storage, Output
Difference between hardware and software
Hardware are the things in a computer that you can touch, whereas software is the set of instructions that tell the computer what to do.
What block do you have to select to stop the execution of instructions momentarily?
Pause
Name the three characteristics of a variable:
Has a name
Has a type/classification
Has a value
Name the characteristics of an algorithm
Finite
Defined
Precise
Ordered
When and how many times are the instructions inside the "On Start" block executed?
One time. Only when the program starts.
What are the 5 kinds of hardware?
Input, Processing, Memory, Storage and Output
What are data?
Information in digital form arranged in such way that can be transmitted or processed by a computer.
Difference between a Character and a String
Character: single letter/symbol
String: set of letters and/or symbols together