Search Header Logo

For loop and motor driver

Authored by Doaa Fouad

Engineering

5th Grade

Used 1+ times

For loop and motor driver
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

which for loop is correct ?

for (int i = 0 , i < 5 , i++)

for (int i = 0 , i ++ , i <5)

for (int i = 0 ; i < 5 ; i++)

for (i = 0 , i < 5 , i++)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for (int i = 0 , i < 4 , i++)
This for loop will count from ....................

0 to 3

0 to 4

0 to 5

1 to 5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for ( int i = 0 , i < 5 , i -- ) {

Serial.println("Hello !"); }

The word (Hello) will be printed .............................

4 times

5 times

6 times

0 times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for (int i = 0; i < 5; i++)

{

    pinMode(ledPins[i], OUTPUT);

}

    Serial.println("Hello !");

 

"Hello" will be printed 1 time

"Hello" will be printed 4 times

"Hello" will be printed 5 times

"Hello" will NOT be printed

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To import motor driver library .....

include <L298N.h>

#include <l298n.h>

#include <L298N>

#include <L298N.h>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

L298N motor1 (5,6,11);

Motot1 speen control is on pin :

5

6

11

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?