Web Scripting II & Server-Side Scripting (PHP)

Web Scripting II & Server-Side Scripting (PHP)

University

•

30 Qs

quiz-placeholder

Similar activities

Fiscal Policy Quiz

Fiscal Policy Quiz

University

•

25 Qs

SPECPRO QUIZ

SPECPRO QUIZ

University

•

25 Qs

Review WLD-141

Review WLD-141

University

•

25 Qs

QUIZ 8PM 07-07

QUIZ 8PM 07-07

7th Grade - Professional Development

•

25 Qs

PIn5

PIn5

University

•

25 Qs

Famous Buildings JEE Paper - 2

Famous Buildings JEE Paper - 2

7th Grade - Professional Development

•

25 Qs

BRITAIN: COUNTRY AND PEOPLE

BRITAIN: COUNTRY AND PEOPLE

University

•

25 Qs

Professional Selling - Unit 2 Exam

Professional Selling - Unit 2 Exam

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?