
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");
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
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Design
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
