What is the purpose of declaring a variable in Arduino?

evaluación 702

Quiz
•
Instructional Technology
•
6th - 8th Grade
•
Hard
Gabriel Solano
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) To store values that can be used and modified in the program
b) To turn on and off the Arduino board
To define the speed of the serial communication
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly declares an integer variable in Arduino?
int number = 10;
integer number = 10;
number = int 10;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following conditional statement do?
if (digitalRead(2) == HIGH) {
digitalWrite(13, HIGH);
}
Turns off the LED on pin 13 when pin 2 is HIGH
Turns on the LED on pin 13 when pin 2 is HIGH
Makes the LED blink continuously
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about for loops is true?
A for loop repeats a block of code a fixed number of times
A for loop runs indefinitely unless manually stopped
A for loop is only used for turning LEDs on and off
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of a photoresistor (LDR) in an Arduino circuit?
To detect light levels and provide an analog signal
To generate sound signals in a circuit
To detect LED light and receive arduino signal
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to read the value from an LDR sensor connected to an analog pin?
digitalRead(pin);
analogRead(pin);
readLDR(pin);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component is best suited for producing sounds in an Arduino project?
LED
Buzzer
LDR
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Repaso Taller Robotica 2018_2019_3

Quiz
•
6th Grade
11 questions
REVISIÓN DE CONCEPTOS ROBÓTICA

Quiz
•
8th Grade
15 questions
Distanciómetro quizz

Quiz
•
6th - 8th Grade
10 questions
Arduino 02: PinMode, Entrada e Saída

Quiz
•
1st Grade - University
20 questions
EVALUACIÓN DIAGNOSTICA

Quiz
•
8th Grade
15 questions
Cuestionario de Arduino

Quiz
•
3rd Grade - University
11 questions
Diagnossis 9°

Quiz
•
8th Grade - University
10 questions
Introdução ao arduino

Quiz
•
6th - 9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade