wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Arduino and Flowchart Quiz

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

What is the primary programming language used for Arduino?

a)

Python

b)

Java

c)

C++

d)

JavaScript

2.

Which function is used to set up the initial state of an Arduino program?

a)

loop()

b)

setup()

c)

init()

d)

start()

3.

Which function is used to create a delay in milliseconds in Arduino programming?

a)

wait()

b)

pause()

c)

delay()

d)

sleep()

4.

What is the purpose of the loop() function in an Arduino sketch?

a)

To initialize variables

b)

To run code once

c)

To run code repeatedly

d)

To stop the program

5.

Which function is used to read the value from a digital pin?

a)

digitalWrite()

b)

digitalRead()

c)

analogRead()

d)

analogWrite()

6.

What is the correct syntax to set a pin as an output in Arduino?

a)

pinMode(pin, OUTPUT);

b)

setPinMode(pin, OUTPUT);

c)

pinMode(OUTPUT, pin);

d)

setMode(pin, OUTPUT);

7.

Which function is used to write a HIGH or LOW value to a digital pin?

a)

digitalWrite()

b)

digitalRead()

c)

analogWrite()

d)

analogRead()

8.

What is an Arduino?

a)

A type of microcontroller

b)

A programming language

c)

A type of sensor

d)

A type of motor

9.

Which of the following is the most common Arduino board?

a)

Arduino Mega

b)

Arduino Nano

c)

Arduino Uno

d)

Arduino Leonardo

10.

What is the operating voltage of an Arduino Uno?

a)

3.3V

b)

5V

c)

9V

d)

12V

11.

How many digital I/O pins does an Arduino Uno have?

a)

10

b)

12

c)

14

d)

16

12.

What is the function of the Arduino IDE?

a)

To write and upload code to the Arduino board

b)

To power the Arduino board

c)

To connect sensors to the Arduino board

d)

To store data from the Arduino board

13.

What is the purpose of the reset button on an Arduino board?

a)

To restart the code execution

b)

To turn off the board

c)

To upload new code

d)

To erase the memory

14.

What is the clock speed of the Arduino Uno?

a)

8 MHz

b)

16 MHz

c)

32 MHz

d)

64 MHz

15.

Which of the following is a common use for Arduino boards?

a)

Web development

b)

Data analysis

c)

Prototyping electronic projects

d)

Graphic design

16.

Which of the following sensors can be connected to an Arduino?

a)

Temperature sensor

b)

Light sensor

c)

Motion sensor

d)

All of the above

17.

What is the function of the digitalWrite() function in Arduino programming?

a)

To read analog values

b)

To write digital values

c)

To write PWM values

d)

To read digital values

18.

What is the purpose of the delay() function in Arduino programming?

a)

To create a delay in code execution

b)

To read sensor values

c)

To write data to memory

d)

To reset the board

19.

What is the function of the pinMode() function in Arduino programming?

a)

To set the mode of a pin (input/output)

b)

To read the value of a pin

c)

To write a value to a pin

d)

To reset the pin

20.

What is the function of the digitalRead() function in Arduino programming?

a)

To read analog values

b)

To write digital values

c)

To read digital values

d)

To write analog values

21.

What is a flowchart?

a)

A diagram that represents a process or workflow

b)

A type of programming language

c)

A chart that shows financial data

d)

A tool for creating presentations

22.

Which symbol is used to represent the start or end of a flowchart?

a)

Rectangle

b)

Diamond

c)

Oval

d)

Parallelogram

23.

What does a rectangle symbolize in a flowchart?

a)

Decision

b)

Process

c)

Input/Output

d)

Start/End

24.

Which symbol is used to represent a decision in a flowchart?

a)

Rectangle

b)

Diamond

c)

Oval

d)

Circle

25.

What does a parallelogram represent in a flowchart?

a)

Process

b)

Decision

c)

Input/Output

d)

Start/End

26.

What is the purpose of a flowchart?

a)

To visualize the steps in a process

b)

To create a database

c)

To write code

d)

To design a website

27.

What does an arrow represent in a flowchart?

a)

Start/End

b)

Process

c)

Decision

d)

Flow of control

28.

Which of the following is a benefit of using flowcharts?

a)

Simplifies complex processes

b)

Increases coding speed

c)

Reduces the need for documentation

d)

Enhances financial analysis

29.

What is the purpose of a decision symbol in a flowchart?

a)

To represent a process

b)

To indicate the start or end

c)

To show a point where a decision is made

d)

To represent input/output

30.

Which of the following is a common mistake when creating flowcharts?

a)

Using too many symbols

b)

Not using arrows to show flow

c)

Including too much detail

d)

Using color

31.

What is the primary purpose of pseudocode?

a)

To execute code

b)

To provide a detailed, language-specific implementation

c)

To outline the logic of an algorithm in plain language

d)

To create a user interface

32.

Which of the following is a characteristic of pseudocode?

a)

It uses strict syntax rules

b)

It is written in a specific programming language

c)

It is easy to read and understand

d)

It can be compiled and executed

33.

Which keyword is commonly used in pseudocode to represent a decision?

a)

IF

b)

FOR

c)

WHILE

d)

PRINT

34.

Which of the following is a best practice when writing pseudocode?

a)

Using complex language

b)

Including specific programming syntax

c)

Keeping it simple and clear

d)

Avoiding the use of keywords

35.

What symbol is used to indicate a comment in Arduino programming?

a)

//

b)

##

c)

/*

d)

!!

36.

Before your program “code” can be sent to the board, it needs to be converted into instructions that the board understands. This process is called...

a)

Stop

b)

Compile

c)

Create Sketch

d)

Serial Monitor

37.

Identify this component

a)

Arduino Uno board

b)

Raspberry Pi

c)

Breadboard / Protoboard

d)

White Plastic Board

38.

A micro-controller is...

a)

small CPU made of transistors and conductors of heat and sound sensor

b)

portable circuits capable of making other circuits

c)

small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals

d)

small chip made of silver

39.

Explain the function of the USB port on the Arduino Uno R3 board.

a)

For charging the board

b)

For uploading code and serial communication

c)

For playing audio files

d)

For connecting to WiFi

40.

What is the role of the Arduino's power jack?

a)

To provide a connection for the USB cable

b)

To supply power to the Arduino board

c)

To connect the Arduino to the internet

d)

To display graphics on the LCD screen

41.

delay (1000);

1000 in delay is equivalent to how many second?

a)

10s

b)

2s

c)

60s

d)

1s

42.

int LED1=4;

What is 'int= integer' used for?

a)

Alphabets

b)

Capital and small letters

c)

Combination of Numbers and Alphabets

d)

Numbers

43.

LED is setup-up to blink. LEDs is an

a)

Output

b)

Input

c)

pinMode

d)

digitalWrite

44.

Which picture best represents the Arduino UNO Headers?

a)
b)
c)
45.

Which picture best represents the microcontroller that the Arduino UNO uses?

a)
b)
c)
46.

Which picture best represents the physical pins of the microcontroller that the Arduino UNO uses?

a)
b)
c)
d)
47.

The Arduino UNO has power pins for 5 volts and 3.3 volts?

a)

Just 3.3 V

b)

True

c)

Just 5V

d)

Neither

48.

A _______________ is connected to pin 13 on an Arduino UNO

a)

Buffer

b)

LED

c)

Digital to Analog Converter

d)

Analog to digital converter

49.

There is a _____________ that can be used for resetting the Arduino UNO

a)

Pin

b)

Button

c)

Pin and a button

50.

While you upload a sketch to the Arduino UNO, the TX and RX LEDs should

a)

Be off

b)

Blink rapidly

c)

Constantly on

51.

How many ground pins are available on the Arduino UNO headers?

a)

1

b)

3

c)

2

d)

4

52.

The Arduino UNO can be powered from a battery pack.

a)

True

b)

False

53.

Digital Pins can act as

a)

Input only

b)

output only

c)

Input and output

54.

Analog pins can(A0 to A5)

a)

read signals only

b)

write signals only

c)

read and write signals

55.

An input signal is

a)

A signal going into the board

b)

A signal exiting the board

c)

None of the above

56.

Arduino can take power from an external power supply

a)

True

b)

False

57.

An output signal is

a)

A signal exiting the Arduino board

b)

A signal entering the Arduino board

c)

None of the above

58.
A function is a series of programming statements that can be called by name. Which command is called repetitively over and over again as long as the Arduino has power.
a)
loop()
b)
setup()
c)
(output)
d)
(input)
59.
What does this sketch do?
a)
This sets up the pin that our LED is connected to as an OUTPUT pin.
b)
This sets up the pin that our LED is connected to as an INPUT pin
c)
This sets up and LED to turn off
d)
Turns the LED off by writing LOW out on the pin.
60.

A==7 means

a)

A is equal to 7

b)

7 is assigned as an int A

c)

A is not equal to 7

d)

A is greater than 7