Search Header Logo

Introduction to Arduino ( Part -II )

Authored by Abhinav Chandra

Science

University

Used 1+ times

Introduction to Arduino ( Part -II )
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

You can write a digital output to a specific pin on the Arduino board with the help of:

digitalRead( ledPin, HIGH);

analogWrite( ledPin, HIGH) ;

digitalWrite( ledPin, LOW) ;

analogRead( ledPin, LOW) ;

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the difference between Serial.print() and Serial.println() in Arduino programming?

"Serial.print" prints two line

"Serial.println()" adds a new line

"Serial.print" prints the output in multiple lines

"Serial.println()" don't add a new line

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will be the output of the above code ?

LED connected at pin 13 will blink with delay of 0.5 sec

LED connected at pin 13 will blink with delay of 1 sec

LED connected at pin 13 will remain in OFF state always

LED connected at pin 13 will remain in ON state always

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will be output of the given Arduino program?

LED will blink once in every 1 sec

LED will blink once in every 0.5 sec

LED will blink twice in every 1 sec

LED will blink only one time then remain OFF

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will be output of the given Arduino program?

LED will blink with increasing delay of 0.01 sec

LED will blink with decreasing delay of 1 sec

LED will blink with increasing delay of 0.1 sec

LED will blink with delay of 3 sec

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the value of “val” in the following program if the pin 12 is given 5V 3 times?

NULL

3

2

1

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will the output for the code given , if executed on an Arduino UNO?

1

2

3

8

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?