_06_03__Réalisation d'un site web dynamique avec PHP

Quiz
•
Information Technology (IT)
•
6th Grade
•
Hard
benidir mourad
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment déclare-t-on une variable en PHP ?
var $maVariable;
$maVariable = 5;
let $maVariable = 5;
int $maVariable = 5;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la structure correcte pour une condition if en PHP ?
if (condition) { }
if condition { }
if (condition) then { }
if [condition] { }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel mot-clé est utilisé pour vérifier si une variable est définie ?
isset()
define()
exists()
check()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle boucle est utilisée pour itérer sur un tableau en PHP ?
loop
foreach
repeat
while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est le résultat de la boucle suivante ?
012
123
0 1 2
1 2 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment déclare-t-on un tableau en PHP ?
$tableau = array();
$tableau[] = array();
$tableau = {};
$tableau = new array();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est le bon moyen d'accéder au premier élément d'un tableau ?
$tableau[1];
$tableau[0];
$tableau.first();
$tableau[1st];
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade