WorksheetsRobotics
Total questions: 55
Worksheet time: 28mins
When a condition in a "for" loop becomes ___, the loop ends
true
false
maybe
sometimes
The ___ is one integrated electronic transducers, DC voltage supply, widely used in computers, printers, copiers, alarm, electronic toys, automotive electronic equipment, elephones, timers, and other electronic products for sound devices
Light dependent resistor
pulse width modulator
ultrasonic sensor
piezzoelectric buzzer
Which statement will mute the buzzer?
digitalWrite(buzzer, LOW);
analogWrite(buzzer, 0);
all of the above
none
What is defined as the duration of "on time"
Pulse width
delay
PWM
digitalWrite
What is NOT a PWM pin on most Arduino boards?
8
9
10
11
A form of electronic communication sent as signals of varying frequency instead of ON or OFF like a digital data transmission
HIGH
LOW
analog
digital
What component can be driven by an oscillating electronic circuit or other audio signal source?
piezzo buzzer
speaker
indicator
bell
When the button is not being pressed it becomes what is called a ___ pin - it is not connected to anything
stray
null
free
floating
What does the command 'buttonState = digitalRead(buttonPin);' do?
check the condition of the tact switch
initiate the code
order the LED to turn on/off
loops the code until buttonState is true
Pauses the program for the amount of time (in milliseconds) specified as parameter
delay(ms)
delay(s)
delay(ml)
delay(
It is a simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value
motor driver shield
bluetooth shield
potentiometer
line sensor
A device having a designed resistance to the passage of an electric current
diode
capacitor
resistor
transistor
Arduino grammar is built on the basis of ___ grammar
Python
SQL
Java
C
This code happens over and over again
loop ()
setup()
void()
set()
A method of emulating an analog signal through a digital
analogWrite
analogRead
PWM
analogSet
No electrical signal present (0V). Also OFF or False in boolean logic
HIGH
LOW
input
output
A type of serial protocol between two devices
serial monitor
serial available
serial buffer
serial communication
A component that can open of close an electrical circuit
insulator
conductor
switch
resistor
A datatype that stores values which are likely to change as your program runs
character
variable
constant
integer
Where should the MIDDLE PIN of the pontentiometer be connected to?
SV
GND
analog pin
digital pin
what kind of value does the photoresistor collect?
digital
analog
both
none
___ is a useful C component that allows the programmer to give a name to a constant value before the program is compiled
#define
#include
#set
#library
Syntax used to end a statement
:
;
++
}
A function used to initialize variables, pin modes, start using libraries, etc.
loop()
setup()
void()
Serial.begin()
Fill in the blanks
OUTPUT; INPUT
INPUT;INPUT
INPUT;OUTPUT
OUTPUT;OUTPUT
Locate the erroneous line in the following block of code
line 5
line 2&4
line 1
none
Reads the value from a specified digital pin, either HIGH or LOW
digitalWrite
digitalRead
analogWrite
analogRead
The ability of a material to hold an electrical charge
resistance
capacitance
tolerance
charge
A named identifier that cannot change its value in a program
character
variable
constant
integer
What sensor is designed for mobile robot line tracking applications?
ultrasonic sensor
light dependent resistor
potentiometer
line sensor
The ___ statement is used to repeat a block of statements enclosed in curly braces
for
else
while
do while
____ signals OFF or no electrical signal is present
LOW
HIGH
input
output
Allows you to get readings from analog sensors or interfaces that have more than two states
analogWrite
analogRead
digitalWrite
digitalRead
Assign a HIGH or LOW value to a pin already declared as an
analogWrite
analogRead
digitalWrite
digitalRead
Which of the following displays the correct syntax?
Serial.println("Hello World!")
Serial.println("Hello World!");
Serial.println(Hello World!)
Serial.println(Hello World!);
It is designed for mobile robot line tracking applications, in three or five IR reflective sensors that will reliably detect dark lines printed over light colored surface
ultrasonic sensor
light dependent resistor
potentiometer
line sensor
The function of a ___ is to take a low-current control signal and then turn it into a higher-current signal that can drive a motor
transformer
motor driver
potentiometer
line sensor
The process of going through a circuit or code, and finding errors, until the expected behavior is achieved
assessment
troubleshooting
debugging
integer
A datatype used to represent a fraction which entails the use of decimal points for floating point numbers
float
integer
character
constant
The brains of Arduino, this is a small computer that you will program to listen for, process, and display information
integrated circuit
microcontroller
chip
zero
A ___ loop will loop continuosly, and infinitely, until the expression inside the parenthesis, () becomes false
for
if else
while
do while
The ___ statement checks for a condition and excuses the proceeding statement or set of statements if the condition is true
for
if else
while
do while
A potentiometer returns an analog value between ___ and ___
0, 123
0, 255
0, 1023
0, 1203
A way to stimulate a varying static voltage
PWM
resistance
conductance
insulation
A component that measures one form of energy and converts it into voltage or current
converter
sensor
analog
digital
This shows you what line number your cursor is on. It is useful since the compiler gives error messages with a line number
line number
sketch editor
text console
serial monitor
Before your program "code" can be sent to the board, it needs to be converted into instructions that the board understands. This process is called...
sketching
initialization
uploading
compiling
A function often used to set pinmode to input or output
setup ()
void()
loop()
set()
___ signals ON or electrical signal is present
LOW
HIGH
output
input
Write a HIGH or a LOW value to a digital pin
digitalWrite
digitalRead
analogWrite
analogRead
___ sensor output voltage linear relationship between the Celsius temperature scale
LM35
LM31
LM25
LM45
Generates a square wave of the specified frequency (and 50% duty cycle) on a pin
tone()
pulseln
noTone()
char()
Where should the legs of an LM35 be connected to? (left to right)
ANALOG, 5V, GROUND
5V, ANALOG, GROUND
GROUND, ANALOG, 5V
GROUND, 5V, ANALOG
What does an LM35 measure?
light
movement
voltage
temperature
LED stands for
Light Emitting Diode
Light Electric Display
Light Emitting Display
Light Electric Diode
