Arduino Variables and Operators

Arduino Variables and Operators

12th Grade

10 Qs

quiz-placeholder

Similar activities

Repasando Conocimientos

Repasando Conocimientos

12th Grade

9 Qs

LPTM OPEN DAY

LPTM OPEN DAY

10th - 12th Grade

10 Qs

Quantitative: Characteristics, Strengths, Weaknesses & Kinds

Quantitative: Characteristics, Strengths, Weaknesses & Kinds

12th Grade

10 Qs

KATEGORI BLOK

KATEGORI BLOK

12th Grade

10 Qs

After Class Quiz : JK 12-16 Python

After Class Quiz : JK 12-16 Python

9th - 12th Grade

10 Qs

Control Statement in Arduino

Control Statement in Arduino

12th Grade

10 Qs

Classification of Variables

Classification of Variables

11th Grade - University

15 Qs

quize javascrit

quize javascrit

9th - 12th Grade

15 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?