PHP FUNDAMENTALS

PHP FUNDAMENTALS

University

40 Qs

quiz-placeholder

Similar activities

NIMS Measurement, Materials, & Safety

NIMS Measurement, Materials, & Safety

9th Grade - Professional Development

41 Qs

UNIT-1 Integrated circuits

UNIT-1 Integrated circuits

University

35 Qs

quiz operasi pascal

quiz operasi pascal

KG - Professional Development

39 Qs

UAS Sejarah Seni Rupa dan Desain

UAS Sejarah Seni Rupa dan Desain

University

40 Qs

Machine Learning Quiz

Machine Learning Quiz

University

38 Qs

Kelas E

Kelas E

University

35 Qs

Exam Practice 1

Exam Practice 1

University

40 Qs

Technical Quiz

Technical Quiz

University

40 Qs

PHP FUNDAMENTALS

PHP FUNDAMENTALS

Assessment

Quiz

Design

University

Hard

Created by

Roshina Faber

Used 5+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

    What is PHP?

PHP is an open-source programming language

PHP is used to develop dynamic and interactive websites

PHP is a server-side scripting language

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does PHP stand for?

PHP stands for Preprocessor Home Page

PHP stands for Pretext Hypertext Processor

PHP stands for Hypertext Preprocessor

PHP stands for Personal Hyper Processor

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to add a comment in PHP code?

#

//

/* */

All of the mentioned

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

     Which of the following is the default file extension of PHP files?

.php

.ph

.xml

.html

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

      How to define a function in PHP?

functionName(parameters) {function body}

function {function body}

function functionName(parameters) {function body}

data type functionName(parameters) {function body}

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

$GREETING

no output

PHP is a scripting language

 GREETING

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the value of the variable $input in the following PHP program?

<?php

$input = "PHP<td>stands for</td>Hypertext<i>Preprocessor</i>!";

$input = strip_tags($input,"<i></i>");

echo $input;

?>

PHP stands for Hypertext <i>Preprocessor</i>!

PHP stands for Hypertext Preprocessor!

PHP <td>stands for</td> Hypertext <i>Preprocessor</i>!

PHP <td>stands for</td> Hypertext Preprocessor!

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?