問題一覧
1
1. 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
2
2. 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...
compiling
3
3. A function often used to SET PINMODE to input or output
setup ()
4
4. This code happens over and over again.
loop()
5
5. A method of EMULATING AN ANALOG SIGNAL through a digital.
PWM (PULSE WIDTH MODULATION)
6
6. No electrical signal present (0V). Also OFF or False in boolean logic.
LOW
7
7. This allows you to get READINGS from ANALOG SENSORS or interfaces that have more than two states.
analogRead
8
8. Assign a HIGH or LOW value to a pin already declared as an _______.
digitalWrite
9
9. Correct syntax of HELLO WORLD?
void setup() { Serial.begin(9600) } void loop() { Serial.println("Hello World!"); }
10
10. What does LED stand for?
Light Emitting Diode
11
11. What is defined as the DURATION OF "ON TIME"?
Pulse Width
12
12. What is NOT a PWM Pin on most Arduino boards?
8
13
13. When the condition in a "FOR" loop becomes ______, the LOOP ENDS.
false
14
14. The ______ is one integrated ELECTRONIC TRANSDUCERS, DC voltage supply, widely used in computers, printers, copiers, alarm, electronic toys, automotive electronic equipment, telephones timers and other electronic products for sound devices.
Piezoelectric Buzzer
15
15. Which statement will mute the buzzer?
digitalWrite(buzzer, LOW); analogWrite(buzzer, 0);
16
16. Where should the MIDDLE PIN of the POTENTIOMETER be connected to?
analog pin
17
17. What kind of value does the Photoresistor collect?
analog
18
18. What does an LM35 measure? —
temperature
19
19. Where should the LEGS OF AN LM35 be connected to? (from left to right)?
5V, ANALOG, GROUND
20
20. It is designed for mobile robot line TRACKING APPLICATIONS, in three (3) or five (5) IR reflective sensors that will reliably DETECT DARK LINES printed over light color surfaces.
line sensor
21
21. 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.
motor driver
22
22. When the BUTTON IS NOT BEING PRESSED it becomes what is called a _______ pin – it’s NOT CONNECTED TO ANYTHING.
floating
23
23. What does the command 'buttonState = digitalRead(buttonPin);' do?
check the condition of the tact switch
24
24. Pauses the program for the amount of time (in milliseconds) specified as parameter.
delay(ms)
25
25. It is a SIMPLE KNOB that provides a VARIABLE RESISTANCE, which we can read into the Arduino board as an analog value
potentiometer
26
26. A device having a DESIGNED RESISTANCE to the passage of an electric current.
resistor
27
27. Arduino grammar is built on the basis of _____________ grammar.
C
28
28. Which sensor is the odd one out?
Ultrasonic Sensor
29
29. The name “________” came from an old Japanese sport, which is two opponents fighting in a ring, each of them trying to push the other opponent out of it.
Sumo
30
30. What analog sensor serves as the PRIMARY COMPONENT IN A SUMO ROBOT?
Ultrasonic Sensor
31
33. Reads the value from a specified digital pin, either HIGH or LOW.
digitalRead
32
34. The ability of a material to hold an electrical charge.
capacitance
33
35. A named identifier that cannot change its value in a program.
constant
34
36. The process of going through a circuit or code, and FINDING ERRORS, until the expected behavior is achieved.
debugging
35
37. A datatype used to REPRESENT A FRACTION which entails the use of decimal points for floating point numbers.
float
36
38. The BRAINS OF THE ARDUINO, this is a small computer that you will program to listen for, process, and display information.
microcontroller
37
39. A potentiometer returns an analog value between ____ and _____.
0, 1023
38
40. A way to SIMULATE a varying static voltage.
PWM (PULSE WIDTH MODULATION)
39
41. A component that MEASURES one form of energy and converts it to VOLTAGE OR CURRENT.
sensor
40
42. A type of serial protocol between two devices.
serial communication
41
43. A component that can OPEN OR CLOSE an electrical circuit.
switch
42
44. A data type that STORES VALUES which are likely to change as your program runs.
variable
43
45. Generates a SQUARE WAVE of the specified frequency (and 50% duty cycle) on a pin. —
tone()
44
46. A _______ loop will loop continuously, and INFINITELY, until while the expression inside the parenthesis, () becomes false.
while
45
47. The _______ statement checks for a CONDITIONS and EXECUTES THE PROCEEDING statement or set of statements if the CONDITION IS 'TRUE'.
if else
46
48. _________ is a useful C component that allows the programmer to GIVE A NAME TO A CONSTANT VALUE before the program is compiled.
#define
47
49. A syntax used to end a statement.
; (semicolon)
48
50. A function used to INITIALIZE variables, pin modes, start using libraries, etc.
void()
49
51. Write a HIGH or a LOW value to a digital pin.
digitalWrite
50
52. ______ sensor output voltage LINEAR RELATIONSHIP between the Celsius temperature scale.
LM35
51
53. It is an electronic device for DISPLAYING NUMERALS or other information using GLOW DISCHARGE.
Nixie Tube
52
54. What sensor is designed for mobile robot LINE TRACKING APPLICATIONS?
line sensor
53
55. The ______ statement is used to REPEAT A BLOCK OF STATEMENTS enclosed in curly braces.
for
54
56. _________ signals OFF or no electrical signal is present.
LOW
55
57. Is a sport in which two robots attempt to push each other out of a circle.
Robot-sumo
56
58. A form of electronic communication sent as signals of varying frequency INSTEAD of ON or OFF like a DIGITAL DATA TRANSMISSION.
analog
57
59. What component can be driven by an OSCILLATING ELECTRONIC CIRCUIT or other audio signal source.
piezzo buzzer
58
60. ________ signals ON or electrical signal is present.
HIGH
59
The arduino grammar is built on the basis of
C grammar
60
Ultrasonic Sensor Additional Info TrigPin: used to trigger the — EchoPin: produces a — when the reflected signal is received
ultrasonic sound pulses pulse