Arduino Variables and Operators

Arduino Variables and Operators

12th Grade

10 Qs

quiz-placeholder

Similar activities

Tema 3. Fundamentos de programación

Tema 3. Fundamentos de programación

12th Grade

10 Qs

Arduino Counter Operations

Arduino Counter Operations

12th Grade

10 Qs

Quiz Dasar-Dasar Pemrograman Python

Quiz Dasar-Dasar Pemrograman Python

12th Grade - University

15 Qs

ULANG KAJI: TINKERCAD - ARDUINO BAHAGIAN 1 (Teori sahaja)

ULANG KAJI: TINKERCAD - ARDUINO BAHAGIAN 1 (Teori sahaja)

1st - 12th Grade

10 Qs

Phyton  Review Lesson 1-10

Phyton Review Lesson 1-10

12th Grade - Professional Development

5 Qs

Java Fundamentals

Java Fundamentals

12th Grade

9 Qs

Circuits And Hacking STEM Test

Circuits And Hacking STEM Test

9th - 12th Grade

15 Qs

TinkerCad

TinkerCad

12th Grade

8 Qs

Arduino Variables and Operators

Arduino Variables and Operators

Assessment

Quiz

Education

12th Grade

Easy

Created by

Hafizul Hasmie

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the data types supported in Arduino?

bool

string

int, float, char, byte, boolean, void

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in Arduino?

float myNumber;

myNumber = 5;

int myNumber;

String myNumber;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the arithmetic operators available in Arduino?

The arithmetic operators available in Arduino are addition (+), subtraction (-), multiplication (*), division (/), and modulus (%)

concatenation (&)

exponentiation (^)

increment (++)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for equality comparison in Arduino?

!=

<>

==

><

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the logical operators used in Arduino?

& (bitwise AND)

| (bitwise OR)

&& (logical AND), || (logical OR), ! (logical NOT)

~ (bitwise NOT)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you assign a value to a variable in Arduino?

Use the division operator '/' to assign a value to a variable in Arduino.

Use the addition operator '+' to assign a value to a variable in Arduino.

Use the multiplication operator '*' to assign a value to a variable in Arduino.

Use the assignment operator '=' to assign a value to a variable in Arduino.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used for storing whole numbers in Arduino?

int

double

char

float

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?