wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Arduino Keywords

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Signals obtained from Sensors can be used with arduino as

a)

Input signal with both Digital Pins and Analog input pins

b)

as input ONLY with Analog input pins

c)

as input Only with Digital Pins

d)

None of the above.

2.

Actuators like LEDs,Motors or Buzzers cannot be attached to........

a)

Analog input pins

b)

Digital Pins

c)

PWM Pins

d)

GND Pins

3.

The value of PWM Pins can be varied from

a)

0 and 1

b)

any value between 0 to 255

c)

None

d)

I don't know.

4.

LEDs can only glow in forwards Bias connection?

a)

True

b)

False

5.

Rx-Tx pins can be used for (More then one correct)

a)

wired communication

b)

wireless communication with Bluetooth.

c)

wireless communication with with Wi-Fi

d)

for communication and control

6.

in void setup() the code written in this function

a)

will Run only once in the beginning

b)

need to run again and again, when Arduino is powered.

c)

None

d)

Both

7.

in void loop(),code written in this section

a)

Run again and again

b)

Run only once

c)

none

d)

Both

8.

the meaning of the below code means

int Red_Led = 12;


void setup()

{

pinMode(Red_Led,OUTPUT);

}

a)

on port number 12, motor is connected as input

b)

any actuator is connected to pin 10

c)

pin Number 12 is output pin and Led is connected to it.

d)

All of the above

9.

to dedicate any pin as output or input, we write the portion of code in......

a)

void loop()

b)

void setup()

c)

both

d)

None

10.

which of the following keyword is correct, for output at pin number 10

a)

pinMode( 12, INPUT);

b)

PINMODE(12,OUTPUT);

c)

pinMode(10,output);

d)

pinMode(10,OUTPUT);