New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Juego Sentencia switch

Yes or No

Played 3 %Accuracy 10 Average time 00:34

About this activity

Preguntas sobre la sentencia switch

Created by

Colombia

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Juego Sentencia switch
 

Juego Sentencia switchOnline version

Preguntas sobre la sentencia switch

by Juan Carlos Valerio Cuadrado
1

Las etiquetas case dentro de switch deben estar separadas por comas.

2

El default se ejecuta siempre al salir del switch.

3

Cada caso suele terminar con un break para evitar caídas no deseadas.

4

Un switch evalúa la expresión una vez y salta al case correspondiente.

5

Un switch puede tener más de un default.

6

Todos los casos requieren un break al final.

7

Si no hay un case que coincida, se ejecuta el default si está presente.

8

El switch admite valores como enteros y caracteres en muchos lenguajes.

9

Un switch puede evaluar expresiones lógicas complejas dentro de cada case.

10

La sentencia switch permite agrupar casos idénticos para un mismo resultado.

11

¿La sentencia switch se utiliza para seleccionar entre varias alternativas?

12

¿switch puede reemplazar algunos casos de múltiples if-else?

13

¿Cada opción dentro de un switch se define con la palabra clave case?

14

¿La palabra clave default es obligatoria en un switch?

15

¿switch evalúa una expresión para decidir qué bloque ejecutar?

16

¿Se puede usar break para salir de un switch?

17

¿Si no se usa break, la ejecución puede continuar al siguiente case?

18

¿default se ejecuta cuando ningún case coincide?

19

¿Un switch puede tener varios case con el mismo valor?

20

¿La expresión evaluada por switch debe cambiar durante la ejecución del bloque?

21

¿Es posible agrupar varios case para ejecutar las mismas instrucciones?

22

¿switch es una estructura de decisión?

23

¿Se puede anidar un switch dentro de otro switch?

24

¿La palabra clave case debe ir acompañada de un valor constante en muchos lenguajes?

25

¿Un switch siempre necesita al menos un case?

26

¿La ejecución de un switch comienza comparando la expresión con los valores de los case?

27

¿switch se utiliza principalmente para repetir instrucciones como un bucle?

28

¿La cláusula default puede colocarse al final del switch?

29

¿Es posible tener un switch sin cláusula default?

30

¿El uso de switch puede mejorar la legibilidad del código en ciertos casos?

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.