Search Header Logo

Quizz 2

Authored by SAURABH YADAV

Other

University

Used 1+ times

Quizz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

analogWrite( ledPin, HIGH) ;

analogRead( ledPin, LOW) ;

digitalWrite( ledPin, LOW) ;

digitalRead( ledPin, HIGH);

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

programming?

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

"Serial.print" prints two line

"Serial.println()" adds a new line

"Serial.print" prints the output in multiple lines

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 1 sec

LED connected at pin 13 will blink with delay of 0.5 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

30 sec • 1 pt

Arduino Codes are referred to as ________ in the Arduino IDE.

drawings

sketches

connection

links

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between an IDE and a compiler?

The compiler and the IDE are the same

thing

The compiler links the code to the respective files and the IDE takes it from there

The IDE executes the code while the compiler gives a graphical environment for writing the code

The compiler executes the code while the IDE gives a graphical environment for writing the code

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Is the Arduino code an Object-Oriented programming language or a Procedural

programming language?

The Arduino Code follows the Object- Oriented ideology

The Arduino Code follows a custom Procedural Ideology

The Arduino Code follows the Bottom-Up Procedural ideology

The Arduino Code follows the Top-Down Procedural ideology

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What will be output of the given Arduino program?

LED will blink with delay of 3 sec

LED will blink with decreasing delay of 1 sec

LED will blink with increasing delay of 0.01 sec

LED will blink with increasing delay of 0.1 sec

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?