PHP Intermédiaire

PHP Intermédiaire

KG

6 Qs

quiz-placeholder

Similar activities

OPERACIONES CON NUMEROS NATURALES

OPERACIONES CON NUMEROS NATURALES

2nd Grade

8 Qs

CẤU TRÚC LẶP

CẤU TRÚC LẶP

KG

10 Qs

Logos - Digital Images

Logos - Digital Images

2nd - 10th Grade

10 Qs

JavaScript: Estruturas Condicionais 2 - IF...ELSE

JavaScript: Estruturas Condicionais 2 - IF...ELSE

2nd Grade

10 Qs

CSS background, border

CSS background, border

11th Grade

10 Qs

Bài 6_Lớp 11_Tại lớp

Bài 6_Lớp 11_Tại lớp

12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

PHP Intermédiaire

PHP Intermédiaire

Assessment

Quiz

Computers

KG

Practice Problem

Hard

Created by

Christophe Vallot

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Je souhaite commenter du code en PHP, je peux utiliser ...

// en début de ligne

<!-- et --> comme en HTML

/* et */ lorsque je souhaite commenter plusieurs lignes

aucune de ces propositions

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Quel symbole dois-je utiliser pour nommer une variable ?

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Que retournera le code suivant ?

 <?php

$unString = "9";

$an = 1973;

echo $unString + $an;

 ?>

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Que retournera la variable $$a ?

<?php

    $a = "bonjour";

    $bonjour = "Salut !";

?>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<?php

    $name = 'Christophe';

    function getName() {

        echo $name;

    }

    getName();

?>

J'obtiens une erreur en exécutant ce code, pourquoi ?

La fonction getName() n'existe pas.

La variable $name n'a pas été définie dans la fonction.

La variable $name contient du texte.

Je n'en ai aucune idée.

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Que retourne la fonction ?

<?php

    $x = 50;

    $x ++ ;

    echo $x;

?>

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?