For loop and motor driver

For loop and motor driver

5th Grade

6 Qs

quiz-placeholder

Similar activities

ariston

ariston

1st Grade - University

9 Qs

For loop and motor driver

For loop and motor driver

Assessment

Quiz

Engineering

5th Grade

Hard

Created by

Doaa Fouad

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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