
Arduino Variables and Operators

Quiz
•
Education
•
12th Grade
•
Easy
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
Similar Resources on Wayground
10 questions
Multiple Intelligences

Quiz
•
KG - 12th Grade
15 questions
quize javascrit

Quiz
•
9th - 12th Grade
9 questions
Repasando Conocimientos

Quiz
•
12th Grade
10 questions
Basic C Programming Quiz

Quiz
•
12th Grade
10 questions
Kuiz PBD

Quiz
•
12th Grade
10 questions
After Class Quiz : JK 12-16 Python

Quiz
•
9th - 12th Grade
10 questions
Arduino Counter Operations

Quiz
•
12th Grade
9 questions
Java Fundamentals

Quiz
•
12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade