wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Embedded System using Arduino

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.
What is the microcontroller used in Arduino UNO?
a)
ATmega2560
b)
ATmega32p
c)
ATmega328p
d)
ATmega32114
2.
Which of the following functions are used by default in Arduino IDE sketch?
a)
setup() and build()
b)
loop() and build()
c)
setup() and loop()
d)
build() and loop() and setup()
3.
How many digital pins are there on the UNO Board?
a)

16

b)

14

c)

12

d)

10

4.

How many times does the setup() function run on every startup of the Arduino System?

a)

continuously loops

b)

runs only when called

c)

Does not run

d)

Once

5.

What does the VE pin represent ?

a)

Volatile Enable

b)

Voltage Enable

c)

Clock

d)

Contrast

6.

What will the line, digitalRead(12, INPUT) do?

a)

Read the digital input from pin no 12

b)

Write the digital input to pin no 12

c)

Read the analog input from pin no 12

d)

Store the input to pin no 12

7.
How many PWM pins are available in Arduino UNO board?
a)
16
b)
6
c)
14
d)
8
8.
What does 9600 represent in the line serial.begin(9600)?
a)
Data rate
b)
Bit rate
c)
Symbol rate
d)
Baud rate
9.

Select the function that will be used to detect a button press on the Arduino

a)

digitalRead()

b)

buttonRead()

c)

analogRead()

d)

buttonPress()

10.
delay(100000) results in a delay of __________ .
a)
1 second
b)
10 seconds
c)
100 seconds
d)
1000 seconds
11.
At what frequency does ultrasonic sensor uses sound waves ?
a)
40 Hz
b)
40 MHz
c)
40 GHz
d)
40 KHz
12.
What is the measuring distance of ultrasonic sensor ?
a)
2 mm - 2000mm
b)
5 cm - 500 cm
c)
20 mm - 4000mm
d)
2 cm - 200 cm
13.
What is the correct formula to measure distance using ultrasonic sensor ?
a)
Distance = (0.034 cm/µs × x µs) / 2
b)
Distance = (0.34 m/µs × x µs) / 2
c)
Distance = (0.034 m/µs × x µs) / 2
d)
Distance = (0.34 cm/µs × x µs) / 2
14.

What does the 16 x 2  value in LCD indicate?

a)

16 pixels per line with 2 sets

b)

16 lines per pixel with 2 sets

c)

16 characters per line with 2 lines

d)

16 lines per character with 2 lines

15.
What is the total number of pins available in LCD Display 16 × 2 ?
a)
12
b)
14
c)
15
d)
16
16.
How many characters can be displayed in a column of LCD display?
a)
16
b)
8
c)
4
d)
2
17.

lcd.setCursor(9,1) sets cursor position to

a)

column 9, row 1

b)

row 9, column 1

c)

column 8, row 0

d)

row 8, column 0

18.

Which of the following segments are enabled in a 7-segment display when a digit ‘1’ is displayed on the screen?

a)

A,B,C

b)

F,E

c)

B,C

d)

A,F,E

19.
Which of the following picture shows common anode configuration of 7 Segment display ?
a)
7 segment display on the left
b)
7 segment display on the right
20.
Name of library be included while using 7 segment display in Arduino IDE?
a)
7Seg
b)
SevenSeg
c)
SevSeg
d)
SevSegment
21.
What pin(s) from the below options can be used to read the output from LDR ?
a)

A0

b)

~3

c)

4

d)

Vin

22.
To what pin number does the on-board surface mount LED connected to ?
a)
Pin 10
b)
Pin 7
c)
Pin 13
d)
Pin IOREF
23.
What type of signal does the analogWrite() function output?
a)
Pulse Code Modulated Signal
b)
Frequency Modulated Signal
c)
Pulse Width Modulated Signal
d)
Pulse Amplitude Modulated Signal