wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ABC of Arduino Quiz 4

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

what do you mean by analog signals

a)

Signals going in reverse

b)

signals that will change with time

c)

Signals that are dangerous

2.

How many pins in Arduino Uno are PWM pins?

a)

4

b)

5

c)

6

d)

7

3.

Analog Pins can understand which signals?

a)

0 & 1

b)

0 to 255

c)

0 to 1023

d)

0 to 2023

4.

How many terminals does a Potentiometer have?

a)

2

b)

3

c)

4

d)

5

5.

A PWM Signal is generated using Analog pulses

a)

True

b)

False

6.

The PWM pins in an Arduino board are found in the analog pins

a)

True

b)

False

7.

analogWrite(pin , val) set the PWM duty cycle as a

a)

Scale of 0 – 255

b)

Scale of 0 – 1023

c)

Scale of 0 – 5

d)

Scale Only 3.3 V

8.

What is the correct instruction that matches correctly with the comment:

__________________;  //Makes the output of pin 3 with duty cycle of 127 ?

a)

pinMode(3, 127)

b)

digitalWrite(3, 127)

c)

analogWrite(3, 127)

d)

digitalRead(3)

9.

What is the correct instruction that matches correctly with the comment:

int value =_________________;    //reads the value of A0 in PORTC ?

a)

pinMode(A0,OUTPUT)

b)

digitalWrite(A0,HIGH)

c)

analogRead(A0)

d)

digitalRead(A0)

10.

R1: int Led1=4;

R2: void setup(){

R3: digitalWrite (LED1, High);

R4: }

LED1 was not declared above void setup. Which row is the error?

a)

R1

b)

R2

c)

R3

d)

R4