Y9

HT6: Physical Computing

Revision tools
You can print this page for a quick reference guide or you can use the tools below to create printable test sheets
6a: Describe what the micro:bit is.
Physical Computing
KeywordDefinition
LEDlight emitting diode
microbitcredit card sized programmable computer with a 5x5 grid of LEDs
physical computingwriting code that controls robotics and using sensors, lights and other electronic components
pythonhigh level text based programming language
replread evaluate print loop that lets you type in commands one at a time
6b: List the built-in components for output and input.
Physical Computing
KeywordDefinition
accelerometeran input sensor which can detect motion and the direction of gravity
buttonan input device which can be pressed to trigger events in your code
compassan input device which can be used to measure which direction the microbit is pointing
inputa sensor that allows a microbit to read data in from the world around it
LEDan output device which can light up
light sensoran input device which measure how light or dark the area around the microbit is
microphonean input sensor which detects changes in air pressure so can measure and record sound
outputa device that allows a microbit to send information to the world around it (e.g. light or sound)
pinsconnectors on the microbit which can be used to connect to other devices
radioan input and output device which can be used to send and receive data to and from other microbits nearby
speakeran output device which can play sounds, music or speech
temperature sensoran input sensor which can measure how hot or cold the microbit is
touch pinan input device which can be used to detect when someone touches a certain part of the microbit
USB interfacea connector on the microbit which can be used to connect it to a computer
6c: Select hardware components that are fit for purpose.
Physical Computing
KeywordDefinition
batterya power source for an electrical circuit
breadboarda component with a grid of holes which let you connect components together without needing to solder them
buzzeran output device which makes a beeping noise when part of an electrical circuit
hardwarephysical components like input sensors or output devices
moisture sensorinput device which uses the way water conducts electricity to measure how wet or dry soil is
motoroutput device which can make something spin round and round
resistoran electrical component which restricts the flow of electricity around a circuit
servooutput device which can spin round to point in any direction
speakeran output device which can turn electronic signals into sounds, music or speech
transistoran electronic component which can work as an amplifier or digital switch
6d: Use selection and iteration to control program execution flow.
Physical Computing
KeywordDefinition
executionrunning a program on a computer
iterationinstructions in a program which are repeated multiple times
programstep by step instructions that can be run on a computer
selectioninstructions in a program that have to make a choice about which instruction to execute next
sequencemore than one instruction in a program that are executed in a specific order
6e: Use variables and data structures to keep track of information.
Physical Computing
KeywordDefinition
data structurea variable which can store more than one value (such as a list)
lista data structure which can store multiple values in a specific order
list indexthe position of a value within a list
variablea named memory location which can store a value which might change when a program runs
variable identifierthe name of a variable (which should describe what it stores)
variable valuethe data stored in a variable
6f: Write programs that interact with the physical world
Physical Computing
KeywordDefinition
inputsensors which read data or measure values
outputdevices which move, light up, transmit data or make a noise
physical worldanything we can see, touch or sense around us
processalgorithms which decide what to do with inputs and outputs to control something
6g: Write programs that use the micro:bit's built-in output devices.
Physical Computing
KeywordDefinition
animationmultiple images displayed one after another
LEDslight emitting diodes which can light up in a grid to make a picture
microbitprogrammable computer which can read inputs and control outputs
outputa device or component which can light up, move or make a noise
programstep by step instructions which can be run on a computer
radiowireless transmission from one microbit to another
6h: Write programs that use the micro:bit's built-in input devices.
Physical Computing
KeywordDefinition
accelerometeran input sensor which can detect motion or the direction of gravity
buttona switch that can be pushed to trigger events in a program
compassan input sensor which can detect which way the microbit is facing
inputsensors or devices which can measure or read data into a program
microbitprogrammable computer which can read inputs and control outputs
programstep by step instructions which can be run on a computer
radioa device which can be used to send and receive data to and from other microbits
touch pinan input device which can detect when someone touches a certain part of the microbit
6i: Write programs that use the GPIO pins for input and output.
Physical Computing
KeywordDefinition
GPIOgeneral purpose input and output pins that can be used to connect to and control other components
inputreading data into a program from external components
outputsend data out from the program to external components
pinan electrical connector which can be used to send or receive data from external components
programstep by step instructions that can be run on a computer
6j: Write programs that exchange messages wirelessly.
Physical Computing
KeywordDefinition
protocolset of rules used when sending and receiving data so that all devices can understand what the data means
radiousing electromagnetic waves to send and receive data without needing wires between two devices
rangethe maximum distance radio messages can travel whilst still being correctly detected
receivereading data from another device
sendtransmitting data to another device
6k: Combine features to develop solutions to meaningful problems.
Physical Computing
KeywordDefinition
analysispart of developing a solution that involves working out exactly what the problem is and who needs to use your solution
designpart of developing a solution that involves breaking down each stage of the plan and working out what needs to be tested at each stage
evaluationpart of developing a solution where you review what worked well and what needs improving
implementationpart of developing a solution where you write the code
testingpart of developing a solution where you compare what your code does with what it should do
6l: Call functions and use the results they return in expressions.
Physical Computing
KeywordDefinition
expressionpart of a line of code which combines values, operators and function calls
functiona reusable part of a program with its own name, that calculates and returns a value
function callthe code that tells the function to actually run
function definitionthe code that determines what a function does when it is called
operatorsspecial symbols (like add, subtract, divide or multiply) which can be used in expressions to perform calculations
parameterdata that is passed into a function to customise what it does
return valuethe data which is passed back out to the code which called a function
6m: Use an IDE to write and execute a Python program.
Physical Computing
KeywordDefinition
executerunning code on a computer
IDEintegrated development environment (a program which lets you write, run and debug code)
programstep by step instructions which can be run on a computer
pythona high level text based programming language
syntax highlightingcode that is displayed in different colours based on what each part of the code means
6n: Locate and correct common syntax errors.
Physical Computing
KeywordDefinition
debuggingfinding and fixing errors in code
indentationhow many spaces or tabs are on the left of a line of code
line numbersnumbers on the left of each line of code which help you find error messages
syntax errora problem with code which prevents code from running at all because the code breaks the rules of the programming language
6o: Use an IDE to write Python programs for the micro:bit.
Physical Computing
KeywordDefinition
debugfinding and fixing errors in code
IDEintegrated development environment (a program that gives you all the tools you need to write, run and debug a program)
microbita programmable computer with loads of inputs and outputs that can be used to control physical devices
programstep by step instructions that can run on a computer
pythona high level text based programming language
REPLread evaluate print loop (used to write and run individual lines of code and see the result of each one)
stepchoosing to run code one line at a time rather than all of them in quick succession
6p: Test and debug Python programs for the micro:bit.
Physical Computing
KeywordDefinition
actual outcomea detailed description of what really happens when you test part of a program
debugfinding and fixing errors in code
expected outcomea detailed description of what should happen when you successfully test part of a program
flashchecking the code using a physical microbit so you can see if it works in real life
pythona high level text based programming language
simulatechecking the code without using a physical microbit so you can quickly debug any problems
testcomparing what a program should do with what it actually does
6q: Combine components to solve meaningful problems.
Physical Computing
KeywordDefinition
inputreading data into a computer program
iterationrunning instructions more than once
outputsending data out of a computer program
processmaking calculations based on inputs to determine what the outputs of a program will be
selectionrunning instructions to determine which instruction should be executed next
sequencerunning multiple instructions in a specific order
6r: Design a physical computing artifact purposefully.
Physical Computing
KeywordDefinition
controlthe decisions and calculations your device needs to make as it runs
inputthe data your device will collect or measure
outputthe way your device will display or log its results
physical artifacta device which interacts with the real world
purposewhat your device needs to be able to do
stakeholderthe person or people who will use your device
6s: Implement the design of a physical computing project.
Physical Computing
KeywordDefinition
analysispart the development process where you describe exactly what problem your project is trying to solve and who will use your solution
designpart of the development process where you write down exactly what needs to happen in each part of your solution
evaluationpart of the development process where you describe what has worked well and what can be improved
implementationpart of the development process where you write your code
testingpart of the development process where you compare what you code should do with what it actually does
6t: Decompose the functions of a physical computing system.
Physical Computing
KeywordDefinition
decompositionbreaking down a problem into smaller parts so that each part is easier to solve
functionhigh level overview of what a computer program needs to be able to do
physical computing systema device which uses inputs and outputs which interact with the real world
success criteriaa detailed list of things that a computer program must do
6u: Test, revise, and refine the design of a project.
Physical Computing
KeywordDefinition
debugfinding and fixing errors in code
iterative designmaking and improving different versions of a project until you reach a final version
prototypea partially working version of a project
testcomparing what a project should do with what it actually does