wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Topic 3: Displaying Text on the Serial Monitor

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

What part of the Arduino IDE code window allows you to both send messages from your computer to your Arduino board and also to receive messages from the Arduino?

a)

Sketch Writing Area

b)

Serial Monitor

c)

Menu Bar

d)

Status Bar

2.

Which icon represents the serial monitor?

a)
b)
c)
d)
3.

Which among the following is the best way to use the serial monitor?

a)

You must connect your Arduino board and PC via USB cable.

b)

You must connect your Arduino board and PC using laptop charger.

c)

You must connect your Arduino board and PC using jumper wire.

d)

You must connect your Arduino board and PC using a mobile phone charger.

4.

Which of the following DOES NOT describe how serial monitor works?

a)

It receives data from Arduino and display data on screen.

b)

It sends data (command) from PC to Arduino.

c)

In order to use serial monitor, we must connect Arduino and PC via USB cable.

d)

It can receive data and display it, but cannot send data to Arduino.

5.

How will you describe the result of the statement Serial.println ("Hello"); on the serial monitor which is written under the void setup?

a)

The text Hello will appear on the serial monitor page repeatedly.

b)

The text Hello will appear on the serial monitor page twice.

c)

The text Hello will appear on the serial monitor page once only.

d)

The text Hello will not appear on the serial monitor page.

6.

How will you describe the result of the statement Serial.println ("Hello"); on the serial monitor which is written under the void loop?

a)

The text Hello will appear on the serial monitor page repeatedly.

b)

The text Hello will appear on the serial monitor page twice.

c)

The text Hello will appear on the serial monitor page once only.

d)

The text Hello will not appear on the serial monitor page.

7.

Daphne encountered an error in uploading her codes. What do you think is missing in her codes?

a)

There is no opening curly bracket right after the void setup.

b)

There is no semicolon ; in statement in line number 2.

c)

Closing curly bracket in line 3 must be removed.

d)

Wrong spelling of command print line.

8.

Vince wants the texts "Good Morning" to display on the serial monitor repeatedly. What must he do in his sketch?

a)

Remove Serial.begin(9600); in the void setup and transfer it in the void loop.

b)

Remove Serial.println("Good Morning"); in the void setup and transfer it in the void loop.

c)

Transfer both Serial.begin(9600); and Serial.println("Good Morning"); in the void loop.

d)

His sketch is correct and no need to edit the codes.