Search Header Logo

Examen PHP

Authored by CARLOS DAZA

Specialty

12th Grade

Used 17+ times

Examen PHP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

1. ¿Cómo se abre y cierra un bloque de código PHP?

<?php ?>

/**/

<body></body>

<script></script>

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

2. ¿Con qué símbolo se debe empezar el nombre de una variable en PHP?

=

==

//

$

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

3. ¿Con qué símbolo se debe envolver un valor numérico en una variable?

\\

/**/

Ninguno, sólo se escribe el número

=

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

4. ¿Cuál de las siguientes variables está declarada de forma correcta?

edad = 25;

edad = "25";

$edad == 25;

$edad = 25;

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

5. ¿Cuáles son operadores relacionales?

+, -, *, /, %, ++, --

<, >, <=, >=, ==, !=

&&, ||, and, or, !

$, &, //, /* */, { }

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

6. En una variable de cadena o string el valor va rodeado entre comillas?

Verdadero

Falso

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

7. ¿Qué significa la siguiente expresión?

$promedio==17;

El valor de la variable $promedio es igual a 17

La variable $promedio vale 17

La variable $promedio no es igual a 17

La variable $promedio es mayor a 17

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?