
PHP Quiz
Authored by Placement Stjosephs
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does PHP stand for?
Personal Home Page
PHP: Hypertext Preprocessor
Private Home Page
Preprocessor Home Page
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to start a PHP block of code?
<php>
<?php>
<script>
<php code>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in PHP?
var $variableName;
int $variableName;
$variableName;
$variableName = value;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is not supported by PHP?
String
Integer
Float
Character
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to define a constant in PHP?
const NAME = "value";
constant NAME = "value";
define("NAME", "value");
NAME = "value";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators is used to concatenate two strings in PHP?
+
.
&
,
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to check the data type of a variable in PHP?
checktype($variable)
gettype($variable)
is_type($variable)
check($variable)
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
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
OOPJ #1
Quiz
•
University
15 questions
HTML Quiz
Quiz
•
11th Grade - 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