WorksheetsPHP Basics Quiz
Total questions: 10
Worksheet time: 5mins
What does PHP stand for?
Personal Hypertext Processor
Private Hypertext Preprocessor
PHP: Hypertext Preprocessor
Public Hypertext Processor
Which of the following is NOT a feature of PHP?
Creating 3D graphics
Generating dynamic page content
Creating and managing databases
Controlling user-access
What is required to run PHP scripts on a server?
A web browser only
A command line interface
Only a database
A PHP parser and a web server
Which of the following is a valid PHP opening tag?
<$php
<php
<!php
<?php
What symbol is used to denote a variable in PHP?
#
$
%
@
Which of the following is NOT a built-in type in PHP?
float
string
character
int
What is type juggling in PHP?
Creating new types
Defining strict types for variables
Automatically converting types based on context
The process of converting types manually
What is the purpose of the 'echo' statement in PHP?
To output text
To include files
To create a variable
To define a function
Which of the following operating systems does PHP support?
Only macOS
All major operating systems
Only Linux
Only Windows
What is the default file extension for PHP files?
.html
.php
.txt
.xml
