
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
12 questions
Day#7

Quiz
•
1st Grade - University
15 questions
SISKOMDIG KEWARGAAN DIGITAL

Quiz
•
University
12 questions
Quiz sobre desafio y motores

Quiz
•
University
10 questions
Awesome MyReSkill IoT

Quiz
•
12th Grade - Professi...
10 questions
Lecture 03

Quiz
•
University
10 questions
ADC Module

Quiz
•
University
10 questions
Test Project 1B Mekatronika Genap 21/22

Quiz
•
University
16 questions
Arduino básico

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade