PHP BASIC
Quiz
•
Professional Development, Education, Instructional Technology
•
University
•
Practice Problem
•
Medium
kris kris
Used 127+ 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");
Access all questions and much more by creating a free account
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
Minecraft
Quiz
•
KG - Professional Dev...
12 questions
BTVIEaster23Quiz
Quiz
•
University
14 questions
Interpersonal Communication Quiz
Quiz
•
12th Grade - University
9 questions
مسابقة بوابة الاحداث العلمية - الورشة 5
Quiz
•
University
11 questions
QUIZIZZ
Quiz
•
University
10 questions
Quiz - Version Control with Git and GitHub
Quiz
•
University
10 questions
project management Final quiz
Quiz
•
University
10 questions
React-Routing
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Professional Development
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
