Search Header Logo

Introducción a PHP

Authored by Víctor Palomar

Engineering

University

Used 1+ times

Introducción a PHP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

56 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Qué significa PHP?

Personal Home Page
Pre Hypertext Processor
PHP: Hypertext Preprocessor
Private Hosting Protocol

Answer explanation

PHP significa 'PHP: Hypertext Preprocessor'.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿En qué año fue creado PHP?

1991
1995
2000
2005

Answer explanation

PHP fue creado en 1995 por Rasmus Lerdorf.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Cuál es la extensión habitual de un archivo PHP?

.html
.php
.js
.py

Answer explanation

Los archivos PHP suelen llevar la extensión .php.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Cómo se escribe un comentario de una sola línea en PHP?

// Comentario
/* Comentario */
# Comentario
=-- Comentario

Answer explanation

En PHP, un comentario de una línea se escribe con //.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Qué función se usa para mostrar texto en PHP?

echo
print
display
out

Answer explanation

echo es la función más usada para mostrar texto.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Cómo se inicia un bloque de código PHP?

<?php
<php>
<?
<%

Answer explanation

El bloque de código PHP comienza con <?php.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Cómo se declara una variable en PHP?

var $nombre
$nombre
let $nombre
@nombre

Answer explanation

Las variables en PHP comienzan con $.

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Similar Resources on Wayground