
PHP Coding Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Used 21+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What coding language does PHP work with?
C++
HTML
Java
English
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword allows you to print text to your webpage?
<p>
echo
#
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a string in PHP?
A collection of characters
A material consisting of threads of cotton
A set of things tied or threaded together
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which escape sequence prints the text on the next line?
#
\n
\\
<?php
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol allows you to combine two strings together (string concatenation)?
\
.
&
^
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to declare a variable?
$
#
@
%
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below appropriately assigns a variable?
$variable = "string";
$variable = "string"
$variable = string;
$variable: "string";
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
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
