ROBOTICS 1ST - QUARTER.REVIEWERfromyourstruly
ROBOTICS 1ST - QUARTER.REVIEWERfromyourstruly
PART ONE: REVIEWER FROM DIAGNOSTIC TEST 11. What is defined as the duration of "on time"?
ANS = Pulse Width
1. This shows you what line number your cursor is
on. It is useful since the compiler gives error
12. What is NOT a PWM Pin on most Arduino
messages with a line number.
boards?
ANS = line number
ANS = 8
2. Before your program “code” can be sent to the
13. When the condition in a "for" loop becomes
board, it needs to be converted into instructions
______, the loop ends
that the board understands. This process is called...
ANS = false
ANS = compiling
14. The ______ is one integrated electronic
3. A function often used to set pinmode to input or
transducers, DC voltage supply, widely used in
output
computers, printers, copiers, alarm, electronic toys,
ANS = setup () automotive electronic equipment, telephones timers
and other electronic products for sound devices.
4. This code happens over and over again
ANS = Piezoelectric Buzzer
ANS = loop()
15. Which statement will mute the buzzer?
5. A method of emulating an analog signal through a
ANS = digitalWrite(buzzer, LOW);
digital
analogWrite(buzzer, 0);
ANS = PWM (PULSE WIDTH MODULATION)
16. Where should the MIDDLE PIN of the
6. No electrical signal present (0V). Also OFF or
potentiometer be connected to?
False in boolean logic
ANS = analog pin
ANS = LOW
17. What kind of value does the Photoresistor
7. This allows you to get readings from analog
collect?
sensors or interfaces that have more than two states
ANS = analog
ANS = analogRead
18. What does an LM35 measure?
8. Assign a HIGH or LOW value to a pin already
declared as an ANS = temperature
ANS = digitalWrite
19. Where should the legs of an LM35 be connected
to? (from left to right)?
9. Which of the following displays the correct
syntax? ANS = 5V, ANALOG, GROUND
ANS = Serial.println("Hello World!");
20. It is designed for mobile robot line tracking
applications, in three (3) or five (5) IR reflective
10. What does LED stand for?
sensors that will reliably detect dark lines printed
ANS = Light Emitting Diode over light color surface
ANS = line sensor
21. The function of a _____________ is to take a low- 31.
current control signal and then turn it into a higher-
current signal that can drive a motor.
ANS = motor driver
ANS = OUTPUT; OUTPUT
22. When the button is not being pressed it becomes
what is called a _______ pin – it’s not connected to 32.
anything
ANS = floating
ANS = check the condition of the tact switch 33. Reads the value from a specified digital pin,
either HIGH or LOW.
24. Pauses the program for the amount of time (in ANS = digitalRead
milliseconds) specified as parameter.
29. The name “________” came from an old Japanese 38. The brains of the Arduino, this is a small
sport, which is two opponents fighting in a ring, computer that you will program to listen for,
each of them trying to push the other opponent out process, and display information.
of it. ANS = microcontroller
ANS = Sumo
39. A potentiometer returns an analog value
30. What analog sensor serves as the primary between ____ and _____.
component in a Sumo Robot? ANS = 0, 1023
ANS = Ultrasonic Sensor
40. A way to simulate a varying static voltage
43. A component that can open or close an electrical 53. It is an electronic device for displaying numerals
circuit. or other information using glow discharge.
44. A datatype that stores values which are likely to 54. What sensor is designed for mobile robot line
change as your program runs. tracking applications?
45. Generates a square wave of the specified 55. The ______ statement is used to repeat a block of
frequency (and 50% duty cycle) on a pin. statements enclosed in curly braces.
46. A _______ loop will loop continuously, and 56. _________ signals OFF or no electrical signal is
infinitely, until the expression inside the present.
parenthesis, () becomes false.
ANS = LOW
ANS = while
57. Is a sport in which two robots attempt to push
47. The _______ statement checks for a condition and each other out of a circle
executes the proceeding statement or set of
ANS = Robot-sumo
statements if the condition is 'true'.
ANS = if else 58. A form of electronic communication sent as
signals of varying frequency instead of ON or OFF
48. _________ is a useful C component that allows the like a digital data transmission.
programmer to give a name to a constant value
ANS = analog
before the program is compiled.
ANS = #define 59. What component can be driven by an oscillating
electronic circuit or other audio signal source.
49. A syntax used to end a statement.
ANS = piezzo buzzer
ANS = ;
60. ________ signals ON or electrical signal is present.
50. A function used to initialize variables, pin
ANS = HIGH
modes, start using libraries, etc.
ANS = void()