PHP BASIC
Quiz
•
Professional Development, Education, Instructional Technology
•
University
•
Practice Problem
•
Medium
kris kris
Used 126+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Insert the missing part of the code below to output "Hello World".
echo and print
System.out.println
println
cout
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write the correct opening tag and close tag for PHP scripts.
{}
<?php ?>
<>
<? ?>
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Statements in PHP have to end with a special character, which one?
.
,
:
;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Create a variable in php assign with the
String
const
let
$
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Get the length of the string "Hello World!".
Leng
substring
strlen
len
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Use the correct function to output the number of items in an array.
$fruits = array("Apple", "Banana", "Orange");
echo $fruits[0]
echo $fruits["Apple"]
echo count($fruits)
echo $fruits[0][1]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write a correct syntax to include a file named "footer.php".
include ("footer.php");
import("footer.php");
required("footer.php");
export("footer.php");
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Trắc nghiệm Wordpress
Quiz
•
10th Grade - University
12 questions
Document Processing Quiz
Quiz
•
University
10 questions
Professional Communication
Quiz
•
University
12 questions
Analise de Artigos
Quiz
•
University
10 questions
Pre Test Modul 4 Kelas B
Quiz
•
University
10 questions
Programming Languages
Quiz
•
University
10 questions
Quiz 1 - Clase 02 - PRE UNIVO 22
Quiz
•
University
10 questions
Korean
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
