Font size
WorksheetsOne Day Robo Session
Total questions: 25
Worksheet time: 9mins
(a) is used in serial bridges between two microprocessors, debugging your robots/ projects, and testing your boards.
Which statement is true?
1 rx, 0 tx
1 tx, 0 rx
2tx, 1rx
2 tx, 1rx
What pinMode is used for tact switches?
INPUT
INPUT_PULLUP
OUTPUT
for (initialization; condition; (a) ) {
// statement(s); }
What is missing?
What does PWM mean?
pin with modulation
pin width modulation
pulse width modulation
pulse with modulation
In electronics, what is an LDR?
Long distance relationship
Light dependent resistor
Light distance receiver
Level Dynamic reader
"Sensors detect changes in its environment".
Which of the following are sensors? Check all that apply.
FILL IN THE BLANK:
The (a) sensor measures the distance to a target by measuring the time between the emission and reception.
What are the main components of a Sumo bot? Check all that apply.
Arduino / any microcontroller
Ultrasonic Sensor
Push Button
Potentiometer
Line sensor
A circuit's LED named my_ilaw connected at pin 9 needs to light up only when the circuit's LDR detected value, called liwanag_level, reaches more than 690. How will you program this?
if (liwanag_level >> 690) {
digitalWrite(my_ilaw, HIGH); }
if (liwanag_level < 690) {
digitalWrite(my_ilaw, HIGH); }
if (liwanag_level == 690) {
digitalWrite(my_ilaw, HIGH); }
if (liwanag_level > 690) {
digitalWrite(my_ilaw, HIGH); }
(a) is a way of naming and storing a value for later use by the program, such as data from a sensor or an intermediate value used in a calculation.
A piece of software program used to code for Arduino.
Arduino Integrated Device Environment
Arduino Integrated Development Electronics
Arduino Integrated Development Environment
Arduino Integrated Device Electronics
This function is used to configure a specific pin to behave either as an input or an output.
pinMode
digitalPin
digitalWrite
ledPin
How many errors are in the given code?
void setup() {
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
void loop() {
digitalWrite(5,ON);
digitalWrite(6,OFF);
digitalWrite(7,OFF);
}
1
2
3
more than 3
It is used to conceptualize and build circuits.
Bread Pan
Black Board
White Board
Breadboard
It is a command that prints data to the serial port with a new line character.
Serial.println()
Serial.readln()
Serial.print()
Serial.read()
This function runs infinitely. It allows the program to change, respond, and control your Arduino board.
setup()
infinite()
loop()
uletulet()
A circuit board that has a chip on it that can be programmed to do many different things.
Board Chip
Microchip
Microcontroller
Chips Delight
It is used to end a statement.
Semicolon (;)
Period (.)
Colon (:)
Slash (/)
It is used to communicate with the user through the use of the built-in Serial Monitor in the Arduino IDE.
Void
Cereal
Serial
Function
It pauses the program for the amount of time (in milliseconds) specified as a parameter.
Pause
Delay
Wait
Stop
It is used to write a HIGH or a LOW value to a digital pin.
digitalLed()
digitalPin()
digitalRead()
digitalWrite()
It is used to set up the serial monitor.
Serial.available()
Serial.read()
Serial.begin()
Serial.print()
Anode (+)
Cathode (-)
tama ba??
oo tama
male
pwede na
secret
Arduino is an open-source platform used for building electronic projects.
Yes yes right tama
Mali
Awts gege
