wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

EmTech Pop Quiz 2

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the correct function to turn on an LED connected to an Arduino digital pin?

a)

digitalWrite(pin, HIGH);

b)

analogWrite(pin, LOW);

c)

pinMode(pin, OUTPUT);

d)

delay(1000);

2.

Which of the following libraries is required to interface a 16x2 character LCD with an Arduino using an I2C module?

a)

Wire.h

b)

LiquidCrystal.h

c)

LiquidCrystal_I2C.h

d)

Servo.h

3.

In a 16x2 LCD, what does "16x2" indicate?

a)

The LCD has 16 data pins and 2 control pins

b)

The LCD can display 16 pixels per row in 2 rows

c)

The LCD has 16 characters per row and 2 rows

d)

The LCD supports 16-bit data transmission with 2 data buses

4.

If you want to display the message "Hello, World!" on an LCD connected to an Arduino, which function should you use?

a)

lcd.show("Hello, World!");

b)

lcd.print("Hello, World!");

c)

lcd.display("Hello, World!");

d)

lcd.write("Hello, World!");

5.

How many keys are present in a 4x4 membrane keypad?

a)

8

b)

12

c)

16

d)

20

6.

Which type of signal does a water level sensor typically output?

a)

Only digital

b)

Only analog

c)

Both analog and digital

d)

None of the above

7.

What principle does a rain detector sensor use to detect rain?

a)

Change in temperature due to water conductivity

b)

Change in resistance due to water conductivity

c)

Change of Infrared radiation due to water conductivity

d)

Change of radio frequency due to water conductivity

8.

If a 4x4 keypad is connected to an Arduino, how many pins are typically required to interface with it?

a)

4

b)

8

c)

12

d)

16

9.

What is the main function of a piezo buzzer in an Arduino project?

a)

Generate sound or alerts

b)

Detect motion

c)

Measure distance

d)

Sense temperature

10.

Which two pins of an ultrasonic sensor (HC-SR04) are used to send and receive ultrasonic waves?

a)

VCC and GND

b)

Trig and Echo

c)

Analog and Digital

d)

SDA and SCL

11.

How does an IR proximity sensor detect objects?

a)

By detecting sound waves

b)

By measuring reflected infrared light

c)

By detecting changes in temperature

d)

By using radio frequency

12.

Which Arduino function is used to generate sound from a piezo buzzer?

a)

tone(pin, frequency);

b)

beep(pin);

c)

analogWrite(pin, value);

d)

sound(pin, frequency);

13.

What happens when a tactile switch is pressed?

a)

It sends an analog signal to the microcontroller

b)

It completes an electrical circuit

c)

It generates a PWM signal

d)

It sends infrared waves

14.

What does RFID stand for?

a)

Radio Frequency Identification

b)

Remote Frequency Intelligent Device

c)

Radio Frequency Interface Device

d)

Rapid Frequency Integrated Detection

15.

What is the standard color code for a 220-ohm resistor?

a)

Red, Red, Brown, Gold

b)

Brown, Black, Red, Gold

c)

Red, Black, Red, Gold

d)

Orange, Orange, Brown, Gold

16.

In an if-else statement, what happens if the condition inside if evaluates to false?

a)

The if block executes

b)

The else block executes (if present)

c)

The program stops execution

d)

The condition is checked again

17.

What is the correct syntax to declare an integer variable in C++?

a)

integer num = 5;

b)

int num = 5;

c)

num int = 5;

d)

float num = 5;

18.

Which of the following correctly describes the working of an RFID system?

a)

The RFID reader continuously emits high-frequency radio waves that power the passive tag.

b)

The RFID tag transmits data using an infrared signal.

c)

RFID systems only work when connected to the internet.

d)

Active RFID tags cannot store any data.

19.

If an Arduino Uno is powered via USB, what is the typical voltage available at the 5V pin?

a)

3.3V

b)

4.2V

c)

5V

d)

12V

20.

What happens if an Arduino Uno sketch does not include a loop() function?

a)

The sketch will not compile.

b)

The setup() function will run once, and the Arduino will stop executing code.

c)

The setup() function will repeat indefinitely.

d)

The Arduino will freeze and require a reset.