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:

PHP: Arreglos y Estructuras (Quiz 20 preguntas)

Quiz

Played 36 %Accuracy 84 Average time 12:25

About this activity

Preguntas clave sobre arreglos y estructuras de control en PHP.

Created by

Mexico

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
PHP: Arreglos y Estructuras (Quiz 20 preguntas)
 

PHP: Arreglos y Estructuras (Quiz 20 preguntas)Online version

Preguntas clave sobre arreglos y estructuras de control en PHP.

by UBALDO MEDINA DOMINGUEZ
1

¿Qué es un arreglo en PHP?

2

¿Cómo se accede al primer elemento de un arreglo unidimensional? Con $frutas = ["Manzana","Plátano","Pera"];

3

¿Qué salida produce $alumnos = [["Ana",18,"A"],["Luis",19,"B"]]; echo $alumnos[1][0];

4

¿Cómo se accede a elementos en un arreglo asociativo?

5

Verdadero o Falso: Los arreglos en PHP pueden contener otros arreglos como elementos.

6

¿Qué hace el foreach en un arreglo unidimensional como $colores = ["Rojo","Verde","Azul"];?

7

¿Qué representa $alumnos[0]["edad"] en un arreglo bidimensional asociativo?

8

Describe brevemente la diferencia entre arreglo unidimensional y bidimensional.

9

¿Qué salida produce: if ($edad >= 18) { echo "Mayor"; } elseif ($edad >= 13) { echo "Adolescente"; } else { echo "Menor"; } con edad 17?

10

¿Qué hace el operador ternario en $tipo = ($numero % 2 === 0) ? "par" : "impar"?

11

En un switch, ¿qué hace la palabra break?

12

Verdadero o Falso: El bucle while se ejecuta al menos una vez, incluso si la condición es falsa al inicio.

13

¿Qué muestra for ($i = 1; $i <= 5; $i++) { echo $i . ' '; } ?

14

En foreach sobre $frutas = ["manzana","pera","uva"], ¿qué recorre?

15

¿Qué hace continue en un bucle?

16

Describe brevemente para qué sirve break en un bucle (una oración).

17

¿Cuál es el propósito principal de un formulario HTML procesado con PHP?

18

¿Qué atributo es esencial en un formulario para enviar datos a PHP?

19

Verdadero o Falso: Los elementos de entrada para datos textuales se usan en formularios.

20

¿Dónde se almacenan los datos enviados por POST en PHP?

21

Describe brevemente un ejemplo simple de una estructura de formulario HTML (con al menos un input).