¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Basic PHP: echo and print output

yazan hassan 5 preguntas

Hacer el test

Preguntas del test (5)

  1. 1what is the output ?
    <?php
    echo "Welcome to PHP";
    echo "<br>";
    echo "This is first Page";
    ?>
    1. AWelcome to PHP
      This is first Page
    2. BWelcome to PHP This is first Page
    3. CWelcome to PHP <br>
      This is first Page
    4. Dnone of the above
  2. 2what is the output ?
    <?php
    $txt1="Hello";
    $txt2="There";

    echo $txt1;
    echo $txt2;

    ?>
    1. AHello There
    2. BHello
      There
    3. CNONE of the above
  3. 3what is the output ?
    $a=32;
    $b="php";
    echo '$a='$a;
    echo ""$a"=$a";
    1. A32
      php
    2. B$a=32
      phpphp
    3. C32
      php=php
    4. Dnone of the above
  4. 4what is the output
    <?php

    print "wlecome to php ""list write the code ";

    ?>
    1. Awlecome to php list write the code
    2. Bwlecome to php
      list write the code
    3. Cerror
    4. Dnone of above
  5. 5The difference between echo and print is ?
    1. Ano difference
    2. BEcho take more than one prameter Print take just one prameter
    3. Cprint take more than one prameter echo take just one prameter
    4. Dnone of the above

Información

Descripción
Test sobre Sin título, creado por yazan hassan el 16/11/2017.
Idioma
English
Visitas
2
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?