2da evaluación de Arduino

Quiz
•
Computers
•
9th Grade
•
Hard
Dylan Portugal
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué hace la función analogWrite en Arduino?
Lee un valor analógico de un sensor.
Escribe un valor analógico en un pin PWM.
Escribe un valor digital en un pin.
Lee un valor digital de un pin.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es el rango de valores que se pueden pasar como parámetro a analogWrite ?
0 a 255
-127 a 127
0 a 1023
0 a 250
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué hará el siguiente código en Arduino?
Enciende el LED conectado al pin 9 gradualmente y luego lo apaga.
Enciende el LED conectado al pin 9 instantáneamente y luego lo apaga gradualmente.
No hace nada, ya que hay un error en el código.
Hace parpadear el LED conectado al pin 9 a una velocidad constante.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es el propósito principal de utilizar un bucle for en Arduino junto con analogWrite?
Repetir una secuencia de pulsos digitales.
Leer valores analógicos de sensores.
Generar una señal analógica gradualmente cambiante, como para controlar la intensidad de un LED.
Realizar operaciones matemáticas complejas en un microcontrolador.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es la sintaxis correcta para utilizar la función analogWrite en Arduino para establecer el valor de PWM en un pin?
analogWrite(255, 13);
writeAnalog(13, 255);
PWM(13, 255);
analogWrite(13, 255);
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué valor máximo puede tener el parámetro de ciclo de trabajo en la función analogWrite?
256
255
254
250
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál de las siguientes declaraciones es la forma correcta de definir una función personalizada llamada cambiarBrillo en Arduino que utiliza analogWrite para ajustar el brillo de un LED conectado al pin 9?
void cambiarBrillo(int pinLED, int valorBrillo) {
analogWrite(valorBrillo, pinLED); }
void cambiarBrillo(int valorBrillo, int pinLED) { analogWrite(pinLED, valorBrillo); }
int cambiarBrillo(int pinLED, int valorBrillo) { analogWrite(pinLED, valorBrillo); }
void cambiarBrillo(int pinLED, int valorBrillo) { PWM(pinLED, valorBrillo); }
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Dispositivos de almacenamiento

Quiz
•
7th - 10th Grade
16 questions
Se liga - 2 - 6º anos

Quiz
•
6th Grade - University
15 questions
INFORMATIKA 9 S2 PAS HAL 060

Quiz
•
9th Grade
21 questions
Cuestionario de Excel

Quiz
•
9th Grade
15 questions
internet of things (IoT)

Quiz
•
9th Grade
20 questions
Prueba Diagnostica grado 6

Quiz
•
6th Grade - University
16 questions
Arduino Quiz

Quiz
•
9th - 12th Grade
15 questions
Robot Enspiro

Quiz
•
5th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade