
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
10 questions
Awesome MyReSkill IoT

Quiz
•
12th Grade - Professi...
15 questions
SISKOMDIG KEWARGAAN DIGITAL

Quiz
•
University
10 questions
Diode Quiz

Quiz
•
University
10 questions
Computer Problem Solving

Quiz
•
9th Grade - Professio...
11 questions
The Broadband Internet Connection

Quiz
•
9th Grade - University
10 questions
Test Project 1B Mekatronika Genap 21/22

Quiz
•
University
12 questions
Quiz sobre desafio y motores

Quiz
•
University
12 questions
Day#7

Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University