WorksheetsArduino Quiz #2: IPO+Simple code
Total questions: 17
Worksheet time: 29mins
Choose the pictures that relate to the concept of hardware:
What are the advantages of using a microcontroller like Arduino?
Strong and permanent solution
Able to sell whatever you build directly to customers
Communicates to other hardware that other controllers cant
Easy to prototype and connect components quickly
What are the pins on the Arduino used for?
Makes the board stable and fast
Connects to the computer
Shows if the board is on or off
Connect to additional hardware
Which picture of the Arduino board shows the pins in the red box:
Fill in the blank: input - (a) - output
What is syntax?
The computers method of connecting with the microcontroller
Machine code
The rules and specific text we need to type for a specific coding language
The cables used to connect the Arduino to the additional hardware.
Which of these are input devices?
Which of these are output devices?
What is output?
The petrol needed to power an generator
What we can see, hear or feel - the results of a task performed
The rules we set for how we want the code to run
Information used to control the arduino
When we wish to code the Arduino to use the onboard LED we should start with the following code?
pinMode (13, OUTPUT);
pinOUTPUT (13, HIGH)
PinMode ( OUTPUT, HIGH);
pinMode (OUTPUT, DigitalWrite);
Which code runs first as the Arduino powers on?
void setup () {}
void loop () {}
void start () {}
void default () {}
We have an LED connected to pin 7 the Arduino board, which code should I use to switch on the LED?
digitalWrite (7, ON);
digitalWrite (BUILTIN_LED, HIGH);
digitalWrite (13, ON);
digitalWrite (7, HIGH);
The following code code is used to make the on board LED flash every 1 second, fill in the missing code:
void loop () {
digitalWrite (13, HIGH);
_ _ _ _ _ _ _ _ _ _
digitalWrite (13, LOW);
_ _ _ _ _ _ _ _ _ _
(a)
What does the function void loop () do?
It is where we store coding comments
It is a looped function that runs continuously -unless broken.
It is where we store code to run the program at the start
Use to turn on LEDs
What do we call this?
(a)
What do we use a breadboard for?
Create final electrical circuits you can sell.
Make a sandwich
Preventing electrical short circuits
Connecting components to the Arduino quickly
What kind of jump cables are these?
Male to Femail
Female to Female
Male to Male
Male to Female
