wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Day 1 quiz Arduino

Total questions: 16

Worksheet time: 13mins

Name
Class
Date
1.

What is an Arduino?

a)

Something edible, it's delicious

b)

A very user-friendly version of the microcontroller ATmega328, you can use it to build a lot of projects

c)

It's very unpopular and hard-to-use microcontroller

2.

What header pins does Arduino have?

a)

Digital Pins

b)

Analog Pins

c)

Electric Pins

d)

Motor Pins

e)

Power Pins

3.

What does this cable do?

a)

Power Arduino only

b)

Users use this to upload codes only

c)

Charge Samsung/Huawei phones

d)

To upload codes to Arduino, and it also power up Arduino

4.

Is this breadboard connection correct?

a)

Yes

b)

No

5.

How is a tactile button connected when you press it? (Red line is the connection)

a)
b)
c)
d)
6.

Why can't you directly connect a 5V to LED's anode?

a)

The current is too high for the LED to take, it will spoil it

b)

The resistance is too high for the LED to take, it will spoil it

c)

Anode cannot take 5V

d)

LED cannot take 5V

7.

Arduino communicate with other computers using

(a)  

8.

setup() and loop() functions will automatically run when you power on the Arduino

a)

True

b)

False

9.

Which data below is an integer?

a)

3

b)

3.333

c)

integer

d)

'3'

10.

Which data below is a String?

a)

'A'

b)

String

c)

"B"

d)

"Arduino is fun"

11.

which data below is a real bool?

a)

0/false

b)

1/true

c)

"1"

d)

3.1423

12.

What's wrong with this declaration of a variable?

int a( = 5

a)

It only doesn't have semicolon

b)

5 is not an integer

c)

the name a( is ugly

d)

It doesn't have semicolon and the variable name contains special characters

13.

What's wrong with this definition of a variable?

char grade = "A";

a)

Nothing's wrong

b)

char type data must be surrounded by single-quotes ' '

c)

it uses too many semicolon

d)

grade is not a good name

14.

Which of the following statements are correct?

a)

Programming languages are case sensitive including Arduino, so "John" does not equal to "joHn"

b)

everything after comments (//) is ignored by the program

c)

Keywords are built-in, so we don't have to define them and the computer already know where they are

d)

Constants are used when you know you won't change the data value of a certain variable (e.g. π, months)

15.

What is the final value of a?

int a = 5;

a ++;

a *= 2;

a --;

a = a + 3;

a)

7

b)

11

c)

14

d)

93

16.

What is the formula for Ohm's law?

a)

P = VI

b)

V = IR

c)

F = ma

d)

E = milk * coffee²