PIF-Quiz Week 5 B

PIF-Quiz Week 5 B

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Conceptos básicos de Arduino

Conceptos básicos de Arduino

9th - 12th Grade

10 Qs

MODULE 4 ARDUINO KIT

MODULE 4 ARDUINO KIT

12th Grade

13 Qs

CH 15: Sequencer Instructions

CH 15: Sequencer Instructions

11th Grade

20 Qs

Python 1

Python 1

9th - 12th Grade

12 Qs

SACA 2 Technology and Advanced Manufacturing

SACA 2 Technology and Advanced Manufacturing

12th Grade

15 Qs

MIKRO - POST TEST 1

MIKRO - POST TEST 1

10th Grade

10 Qs

PIF Session 5B Assessment

PIF Session 5B Assessment

9th - 12th Grade

20 Qs

Quiz 2

Quiz 2

9th - 12th Grade

14 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?