
PHP Program '20 Semester Exam Morrell
Quiz
•
Design
•
9th Grade
•
Practice Problem
•
Medium
+2
Standards-aligned
Tyler Morrell
Used 9+ times
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 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
30 sec • 1 pt
Write the correct opening tag and close tag for PHP scripts.
{}
<?php ?>
<>
<? ?>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statements in PHP have to end with a special character, which one?
.
,
:
;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable in php assign with the
String
const
let
$
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Get the length of the string "Hello World!".
Leng
substring
strlen
len
6.
MULTIPLE CHOICE QUESTION
30 sec • 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
30 sec • 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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Design
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
