PHP Intermédiaire

PHP Intermédiaire

KG

6 Qs

quiz-placeholder

Similar activities

Decrypt it! Level 1

Decrypt it! Level 1

University

10 Qs

TYPES OF COMPUTER

TYPES OF COMPUTER

3rd - 4th Grade

10 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

SQLite - Writing Queries

SQLite - Writing Queries

University

9 Qs

Recap: Introduction to Python

Recap: Introduction to Python

10th Grade

10 Qs

Working with Text : Summary

Working with Text : Summary

6th Grade

10 Qs

Computer System

Computer System

8th - 9th 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?