Expt 1 IoT LAB

Expt 1 IoT LAB

University

12 Qs

quiz-placeholder

Similar activities

Acronyms for all

Acronyms for all

University

11 Qs

Day#4

Day#4

12th Grade - University

10 Qs

L02-B01

L02-B01

University

10 Qs

Tilt Arduino

Tilt Arduino

University

10 Qs

Arduino basics

Arduino basics

7th Grade - University

7 Qs

Introduction to the Personal Computer

Introduction to the Personal Computer

KG - University

15 Qs

Quizz Arquitectura de Computadoras II

Quizz Arquitectura de Computadoras II

University

15 Qs

Day#10

Day#10

1st Grade - University

14 Qs

Expt 1 IoT LAB

Expt 1 IoT LAB

Assessment

Quiz

Computers

University

Hard

Created by

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

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?