PIF-Quiz Week 5 B

PIF-Quiz Week 5 B

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Compound IMA Test

Compound IMA Test

9th - 12th Grade

17 Qs

PIF-Quiz 3

PIF-Quiz 3

9th - 12th Grade

15 Qs

PIF-Quiz 4

PIF-Quiz 4

9th - 12th Grade

15 Qs

Pemrograman Arduino_input output

Pemrograman Arduino_input output

12th Grade

20 Qs

EVALUACION M4S2

EVALUACION M4S2

12th Grade

16 Qs

UH XI Elektro

UH XI Elektro

11th Grade

15 Qs

Microcontroladores

Microcontroladores

11th Grade

17 Qs

UH 1 - KOMPONEN TENAGA SURYA

UH 1 - KOMPONEN TENAGA SURYA

11th Grade

15 Qs

PIF-Quiz Week 5 B

PIF-Quiz Week 5 B

Assessment

Quiz

Engineering

9th - 12th Grade

Medium

Created by

Chun Ng

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to turn on a ventilation fan when the temperature inside the greenhouse exceeds 30°C. Which of the following code snippets is the most appropriate?
if (temperature < 30) { digitalWrite(fanPin, HIGH); }
if (temperature > 30) { digitalWrite(fanPin, HIGH); }
if (temperature == 30) { digitalWrite(fanPin, LOW); }
if (temperature != 30) { digitalWrite(fanPin, LOW); }

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You are using a soil moisture sensor that outputs an analog value. Which Arduino function should you use to read the sensor data?
digitalRead()
analogRead()
pinMode()
digitalWrite()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to connect a water pump to your Arduino. Since the pump operates at a higher voltage than the Arduino can provide, which component should you use?
Resistor
Capacitor
Transistor
Relay module

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to display the temperature and humidity readings on an LCD screen. Which Arduino library should you include in your code?
Servo.h
LiquidCrystal.h
Wire.h
SPI.h

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to automatically turn on the grow lights at 7:00 AM every day. Which Arduino module can help you achieve this?
Ultrasonic sensor
Real Time Clock (RTC) module
GPS module
Bluetooth module

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You notice that your water pump is running continuously, even when the soil moisture level is high. Which of the following could be a possible cause of this problem?
Faulty soil moisture sensor
Incorrect wiring
Error in the code
All of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to store the temperature and humidity readings in an array for later analysis. Which data type should you use for the array?
char
int
float
boolean

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?