¿Cuál es el propósito de la variable "cont" o "contador" el código?
Segundo Contador

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Pachon Nicol
Used 4+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Controlar la frecuencia del zumbador
Llevar el conteo de veces que se presiona el botón
Ajustar el tiempo de retraso en el bucle
Almacenar el estado del LED3
2.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
¿Qué símbolo de comparación utilizamos para decir que el contador es igual a un valor?
Ejemplo:
(Cont __ 2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede cuando el valor del contador llega a 4?
Los LED se apagan y el contador se reinicia a 0
Todos los LED se encienden
El LED del medio se enciende
El zumbador emite un tono continuo.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué ocurre cuando el valor del contador es igual a 2?
Se apagan todos los LED.
Se enciende solo el LED del medio
Los LED parpadean de izquierda a derecha
Los LED parpadean de derecha a izquierda
5.
OPEN ENDED QUESTION
3 mins • 1 pt
El timbre emite un tono cada vez que se presiona el botón. Escriba la línea de código que genera este sonido.
Evaluate responses using AI:
OFF
6.
WORD CLOUD QUESTION
2 mins • Ungraded
¿Cómo se llama la función principal del ciclo en el código?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué línea de código asegura que el timbre deje de emitir sonido después de 1 segundo?
digitalWrite(speaker, LOW);
cont++;
noTone(speaker);
delay(1000);
8.
OPEN ENDED QUESTION
3 mins • 1 pt
Imagina que quieres añadir una nueva secuencia cuando el contador sea igual a 4, en la cual todos los LEDs parpadeen tres veces rápidamente. ¿Cómo modificarías el código para lograrlo?
Pista:
else if (cont == 4) {
for (int i = 0; i < 3; i++) {
Evaluate responses using AI:
OFF
Similar Resources on Quizizz
13 questions
PROGRAMACION EN ARDUINO

Quiz
•
10th Grade
11 questions
Caligrafía | CM7

Quiz
•
1st - 10th Grade
10 questions
Programación 2da Evaluación

Quiz
•
12th Grade
10 questions
Estructuras de programación y lógica en Ren'Py

Quiz
•
9th Grade - University
10 questions
Prueba Corta Unidad II | Programación IV

Quiz
•
10th Grade
13 questions
PRUEBA CORTA I - COMPUTACIÓN APLICADA -U3

Quiz
•
10th Grade
11 questions
Entradas ADC de tarjeta ESP32

Quiz
•
12th Grade
9 questions
programacion

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade