Web Scripting II & Server-Side Scripting (PHP)

Web Scripting II & Server-Side Scripting (PHP)

University

30 Qs

quiz-placeholder

Similar activities

SOAL MID  TLJ

SOAL MID TLJ

11th Grade - University

30 Qs

Ready to Go!

Ready to Go!

9th Grade - University

25 Qs

GE 118 - Final Term Quiz 01

GE 118 - Final Term Quiz 01

University

30 Qs

KOMPUTER AKUNTANSI KELAS XI

KOMPUTER AKUNTANSI KELAS XI

12th Grade - University

25 Qs

Welcome New Students

Welcome New Students

University

25 Qs

PEKERJAAN DASAR OTOMOTIF X

PEKERJAAN DASAR OTOMOTIF X

University

25 Qs

Quiz PHP dan Tipe Data

Quiz PHP dan Tipe Data

1st Grade - University

30 Qs

culture php Symfony

culture php Symfony

University

25 Qs

Web Scripting II & Server-Side Scripting (PHP)

Web Scripting II & Server-Side Scripting (PHP)

Assessment

Quiz

Other

University

Hard

Created by

ICS Med.

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?