
Expt 1 IoT LAB

Quiz
•
Computers
•
University
•
Hard

Ashwini S R
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the digitalWrite function do in Arduino programming?
Reads the state of a digital pin
Sets the pin mode as an output
Writes a HIGH voltage to a digital pin
Writes a LOW voltage to a digital pin
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the delay function in Arduino programming?
Pauses the serial communication
Delays the input from a sensor
Stops the program execution for a specified time
Generates a random delay
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the role of the buttonState variable in the given code?
It determines the IR sensor value
It controls the delay time
It holds the state of the pushbutton
It stores the LED pin number
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the digitalRead function do in the given code?
Sets the pin mode as an input
Writes a LOW voltage to a digital pin
Writes a HIGH voltage to a digital pin
Reads the state of a digital pin
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the Serial.begin function in the given code?
Starts the serial communication
Turns on the LED
Initializes the IR sensor pin
Begins the loop function
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the tone function in the provided code?
Produces a random tone
Plays a tone on the buzzer
Sets the pin mode as an output
Controls the LED brightness
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the role of the buzzerPin variable in the given code?
It defines the pin to which the buzzer is connected
It determines the IR sensor value
It holds the state of the pushbutton
It stores the LED pin number
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kuis Kelas Maya

Quiz
•
12th Grade - University
10 questions
Digital Citizenship

Quiz
•
6th Grade - Professio...
10 questions
ITT270 Overview of Digital Electronics

Quiz
•
University
12 questions
Power Quality and Protection

Quiz
•
9th Grade - University
10 questions
MÓDULO 2. CURSO 005

Quiz
•
University
15 questions
ICT 10 Q1 M1 & M2

Quiz
•
10th Grade - University
15 questions
Mastering Physical Security Concepts

Quiz
•
12th Grade - University
10 questions
Ardunio dan komponen input/output

Quiz
•
12th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University