UTSSKDP2

UTSSKDP2

University

23 Qs

quiz-placeholder

Similar activities

CODEATHON'22

CODEATHON'22

University

20 Qs

Mini Game ^_^

Mini Game ^_^

University

18 Qs

Compile Error Set  4

Compile Error Set 4

University

20 Qs

PRP161 Day 1

PRP161 Day 1

University

22 Qs

TA Modul 2

TA Modul 2

University

20 Qs

Arduino

Arduino

University

21 Qs

Primitive Types

Primitive Types

10th Grade - University

20 Qs

round 2

round 2

University

25 Qs

UTSSKDP2

UTSSKDP2

Assessment

Quiz

Other

University

Hard

Created by

Tito A.

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the setup function in Arduino?

To respond to user input

To return a value

To perform a specific task

To initialize the Arduino board

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store true or false values in Arduino?

Boolean

Byte

Integer

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of values that can be stored in a byte data type?

0 to 255

-128 to 127

-32768 to 32767

0 to 65535

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store whole numbers in Arduino?

Integer

Float

Long

Double

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between int and unsigned int data types in Arduino?

int can store negative values, while unsigned int cannot

unsigned int can store negative values, while int cannot

int has a larger range of values than unsigned int

unsigned int has a larger range of values than int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store decimal numbers in Arduino?

Float

Double

Long

Byte

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum value that can be stored in a long data type in Arduino?

2,147,483,647

4,294,967,295

9,223,372,036,854,775,807

18,446,744,073,709,551,615

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?