Event based programming

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Angelo Chavez
Used 176+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is event-based programming?
¿Qué es la programación basada en eventos?
a) A programming language that uses events as variables.
Un lenguaje de programación que utiliza eventos como variables.
b) A programming concept where code is associated with each user action.
Un concepto de programación donde el código está asociado con cada acción del usuario.
c) A type of programming that focuses on events like birthdays and parties.
Un tipo de programación que se enfoca en eventos como cumpleaños y fiestas.
d) A programming style that avoids using events.
Un estilo de programación que evita el uso de eventos.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an event in programming?
¿Cuál de las siguientes es un ejemplo de un evento en programación?
a) Clicking the green flag in Scratch.
Hacer clic en la bandera verde en Scratch.
b) Attending a birthday party.
Asistir a una fiesta de cumpleaños.
c) Playing a video game using a keyboard.
Jugar un videojuego usando un teclado.
d) Watching a movie on a computer.
Ver una película en una computadora.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of using events in event-based programming?
¿Cuál es el propósito principal de usar eventos en la programación basada en eventos?
a) To make a program more complicated.
Hacer un programa más complicado.
b) To handle specific user actions and trigger appropriate code.
Manejar acciones específicas del usuario y activar el código adecuado.
c) To prevent users from interacting with the program.
Evitar que los usuarios interactúen con el programa.
d) To confuse the user by adding unnecessary functionality.
Confundir al usuario agregando funcionalidades innecesarias.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In event-based programming, what does the programmer do when an event occurs?
En la programación basada en eventos, ¿qué hace el programador cuando ocurre un evento?
a) Ignore the event and do nothing.
Ignorar el evento y no hacer nada.
b) Handle the event and respond with an action.
Manejar el evento y responder con una acción.
c) Create more events to confuse the user.
Crear más eventos para confundir al usuario.
d) Restart the program from the beginning.
Reiniciar el programa desde el principio.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following events is used in Scratch when a sprite is clicked?
¿Cuál de los siguientes eventos se utiliza en Scratch cuando se hace clic en un sprite?
a) when green flag clicked
cuando se hace clic en la bandera verde
b) when this sprite clicked
cuando se hace clic en este sprite
c) when key pressed
cuando se presiona una tecla
d) when mouse clicked
cuando se hace clic con el mouse
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the block "when <key> key pressed" do in Scratch?
¿Qué hace el bloque "when <key> key pressed" en Scratch?
a) English: Triggers an event when the green flag is clicked.
Spanish: Activa un evento cuando se hace clic en la bandera verde.
English: Executes code when a particular key is pressed on the keyboard.
Spanish: Ejecuta código cuando se presiona una tecla específica del teclado.
c) English: Changes the size of a sprite when clicked.
Spanish: Cambia el tamaño de un sprite cuando se hace clic en él.
d) English: Displays a message when the mouse is clicked.
Spanish: Muestra un mensaje cuando se hace clic con el mouse.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you explain what an event is in computer programming?
¿Cómo explicarías qué es un evento en programación de computadoras?
An event is a special kind of loop in programming.
Un evento es un tipo especial de bucle en programación.
English: An event is a sequence of commands in programming.
Spanish: Un evento es una secuencia de comandos en programación.
An event is an action that triggers code to run in response.
Un evento es una acción que activa la ejecución de código en respuesta.
An event is a function that returns a value in programming.
Un evento es una función que devuelve un valor en programación.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Explorando Tinkercad en Secundaria

Quiz
•
7th Grade - University
10 questions
Coleccionando llaves

Quiz
•
3rd - 6th Grade
7 questions
Quiz Grado 6 Tinkercad.

Quiz
•
6th Grade
13 questions
Diagnóstico INFO

Quiz
•
7th Grade
15 questions
TECNOLOGIA-INFORMATICA

Quiz
•
5th - 8th Grade
10 questions
Word ( Yamel & Haylen)

Quiz
•
3rd Grade - University
10 questions
PROGRAMACIÓN VERANO 1

Quiz
•
1st - 10th Grade
12 questions
Open Roberta Lab

Quiz
•
7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade