Font size
WorksheetsCSF U5 Physical
Total questions: 13
Worksheet time: 9mins
In a physical computing model, which of the following is responsible for changing the physical world?
Sensor
Controller
Actuator
Device
On the Arduino pins 0-13 are for?
Analog input
Digital Output
Analog output
Digital input or output
Which of the following statements is true regarding Arduino sketches?
loop() is called once at the start of the program
setup() is called only once at the start of the program
loop() is called once after setup()
loop() is called repeatedly after setup()
Which Arduino pin has a builtin LED?
Pin 12
Pin 10
Pin 9
None of the above
Generally, where should the pinMode function be located the code?
in loop()
in a function I create
in setup()
pinMode is not a valid function
Assuming the Arduino is wired correctly and setup is correct. Which are TRUE of the following code?
The LED at pin 13 will flash
An LED will flash repeatedly
An LED will turn on for 1 second
An LED will turn off for 1 second
Given this code in loop. What sequence of numbers would be printed.
0 1 2 3 4 5 6
0 1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5
Which measures the amount of electricity flowing?
Voltage
Resistance
Current
Power
Given a circuit below, how much current would flow through the LED in mA?
(a)
Which is true of the following circuit diagram?
The Arduino is wired for pull-down
When the switch/button is closed pin 2 will be HIGH
When the switch/button is closed pin 2 will be LOW
The resistor is not necessary in this circuit
The delay function is a problem because it blocks the Arduino from running other code
TRUE
FALSE
Which is TRUE regarding object oriented programming?
It allows a programmer to encapsulate state and functionality
Multiple objects can be created from a class template
Each object has it's own state
It is a feature of most modern programming languages
Which is FALSE regarding Arduino pins A0 - A5?
Are only for for input
Detect an Analog voltage level
Can be configured for Analog output
Can detect 1024 levels
