Web Scripting II & Server-Side Scripting (PHP)

Web Scripting II & Server-Side Scripting (PHP)

University

•

30 Qs

quiz-placeholder

Similar activities

Chapter 38

Chapter 38

2nd Grade - Professional Development

•

25 Qs

Girl between Girl Aurah

Girl between Girl Aurah

University

•

25 Qs

HCT CB Level 1 List 3 ADWC

HCT CB Level 1 List 3 ADWC

4th Grade - University

•

30 Qs

IQ Quiz for Grade 7

IQ Quiz for Grade 7

7th Grade - University

•

25 Qs

PRELIMINARY EXAMINATION

PRELIMINARY EXAMINATION

University

•

25 Qs

Climatology

Climatology

10th Grade - Professional Development

•

25 Qs

Economics revision term 1

Economics revision term 1

University

•

25 Qs

Nick's Fun House May 18th

Nick's Fun House May 18th

University

•

25 Qs

Web Scripting II & Server-Side Scripting (PHP)

Web Scripting II & Server-Side Scripting (PHP)

Assessment

Quiz

•

Other

•

University

•

Practice Problem

•

Hard

Created by

ICS Med.

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does PHP stand for?

Personal Hypertext Processor

Preprocessor Hypertext Pages

PHP: Hypertext Preprocessor

Pre Hypertext Processor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to declare a variable in PHP?

var $name;

$name = "John";

$name : "John";

$var = "John";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which PHP function is used to send an email?

mail_send()

send_mail()

mail()

email()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following PHP functions is used to retrieve the value of a cookie?

$_COOKIE

$_POST

$_SESSION

$_REQUEST

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to open a file in PHP?

fopen("file.txt", "r");

open("file.txt", "r");

file_open("file.txt", "r");

open_file("file.txt", "r");

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the $_SERVER variable in PHP?

Contains information about the current session.

Stores global variables for server-side scripting.

Contains information about the server environment.

Used to access cookie data.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default file extension for PHP files?

.htm

.html

.php

.asp

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?