NEW
Font size
WorksheetsEmTech Pop Quiz 2
Total questions: 20
Worksheet time: 10mins
What is the correct function to turn on an LED connected to an Arduino digital pin?
digitalWrite(pin, HIGH);
analogWrite(pin, LOW);
pinMode(pin, OUTPUT);
delay(1000);
Which of the following libraries is required to interface a 16x2 character LCD with an Arduino using an I2C module?
Wire.h
LiquidCrystal.h
LiquidCrystal_I2C.h
Servo.h
In a 16x2 LCD, what does "16x2" indicate?
The LCD has 16 data pins and 2 control pins
The LCD can display 16 pixels per row in 2 rows
The LCD has 16 characters per row and 2 rows
The LCD supports 16-bit data transmission with 2 data buses
If you want to display the message "Hello, World!" on an LCD connected to an Arduino, which function should you use?
lcd.show("Hello, World!");
lcd.print("Hello, World!");
lcd.display("Hello, World!");
lcd.write("Hello, World!");
How many keys are present in a 4x4 membrane keypad?
8
12
16
20
Which type of signal does a water level sensor typically output?
Only digital
Only analog
Both analog and digital
None of the above
What principle does a rain detector sensor use to detect rain?
Change in temperature due to water conductivity
Change in resistance due to water conductivity
Change of Infrared radiation due to water conductivity
Change of radio frequency due to water conductivity
If a 4x4 keypad is connected to an Arduino, how many pins are typically required to interface with it?
4
8
12
16
What is the main function of a piezo buzzer in an Arduino project?
Generate sound or alerts
Detect motion
Measure distance
Sense temperature
Which two pins of an ultrasonic sensor (HC-SR04) are used to send and receive ultrasonic waves?
VCC and GND
Trig and Echo
Analog and Digital
SDA and SCL
How does an IR proximity sensor detect objects?
By detecting sound waves
By measuring reflected infrared light
By detecting changes in temperature
By using radio frequency
Which Arduino function is used to generate sound from a piezo buzzer?
tone(pin, frequency);
beep(pin);
analogWrite(pin, value);
sound(pin, frequency);
What happens when a tactile switch is pressed?
It sends an analog signal to the microcontroller
It completes an electrical circuit
It generates a PWM signal
It sends infrared waves
What does RFID stand for?
Radio Frequency Identification
Remote Frequency Intelligent Device
Radio Frequency Interface Device
Rapid Frequency Integrated Detection
What is the standard color code for a 220-ohm resistor?
Red, Red, Brown, Gold
Brown, Black, Red, Gold
Red, Black, Red, Gold
Orange, Orange, Brown, Gold
In an if-else statement, what happens if the condition inside if evaluates to false?
The if block executes
The else block executes (if present)
The program stops execution
The condition is checked again
What is the correct syntax to declare an integer variable in C++?
integer num = 5;
int num = 5;
num int = 5;
float num = 5;
Which of the following correctly describes the working of an RFID system?
The RFID reader continuously emits high-frequency radio waves that power the passive tag.
The RFID tag transmits data using an infrared signal.
RFID systems only work when connected to the internet.
Active RFID tags cannot store any data.
If an Arduino Uno is powered via USB, what is the typical voltage available at the 5V pin?
3.3V
4.2V
5V
12V
What happens if an Arduino Uno sketch does not include a loop() function?
The sketch will not compile.
The setup() function will run once, and the Arduino will stop executing code.
The setup() function will repeat indefinitely.
The Arduino will freeze and require a reset.
