- Home
- MCQs by exam
- PHP Certification
- Computer Science MCQs
PHP Certification MCQs – Computer Science MCQs
11 multiple choice questions typical of the PHP Certification exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
Private Home Page
-
B
Personal Hypertext Processor
-
C
PHP: Hypertext Preprocessor
Correct answer
-
D
Process Hypertext Protocol
-
A
session_begin()
-
B
session_start()
Correct answer
-
C
start_session()
-
D
begin_session()
-
A
redirect()
-
B
location()
-
C
header()
Correct answer
-
D
relocate()
-
A
To handle file uploads
-
B
To collect form data after submission
Correct answer
-
C
To store session variables
-
D
To access environment variables
-
A
$_GET
-
B
$_SERVER
Correct answer
-
C
$_SESSION
-
D
$_GLOBALS
-
A
arr()
-
B
array()
Correct answer
-
C
arr = []
-
D
array = ()
-
A
const()
-
B
constant()
-
C
define()
Correct answer
-
D
def()
-
A
$var_name
Correct answer
-
B
$var-name
-
C
$123var
-
D
$var name
-
A
. (dot)
-
B
; (semicolon)
Correct answer
-
C
: (colon)
-
D
, (comma)
-
A
PHP compiler
-
B
PHP interpreter
Correct answer
-
C
PHP executor
-
D
PHP converter
-
A
Personal Home Page
-
B
Private Home Page
-
C
PHP: Hypertext Preprocessor
Correct answer
-
D
Public Home Page