Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Chapter 7 and Chapter 8 Science Engineering Syah Hadif

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

The delay() function pauses the program for a specified time.

a)

True

b)

False

2.

Single-line comments in Arduino C start with (a)   .

3.

Which of these is a conditional statement in Arduino?

a)

if()

b)

delay()

c)

Serial.print()

4.

The switch() statement can handle more than two conditions.

a)

True

b)

False

5.

The operator != means (a)   .

6.

Pin 0 on Arduino is used for receiving data (RX).

a)

True

b)

False

7.

What does the Serial.begin() function do?

a)

Starts a delay

b)

Sets the data transfer speed

c)

Ends the program

8.

The Serial.print() function displays text without moving to a new (a)   .

9.

The Serial.available() function checks if data is waiting in the serial buffer.

a)

True

b)

False

10.

Which data type is used to store whole numbers?

a)

float

b)

int

c)

char