Search Header Logo

PHP Quiz

Authored by Jeba Raj

Computers

University

Used 1+ times

PHP Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. 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

30 sec • 1 pt

Who is the father of PHP?

Drek Kolkevi

Rasmus Lerdorf

Willam Makepiece

List Barely

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does PHP stand for?

Preprocessor Home Page

Pretext Hypertext Processor

Hypertext Preprocessor

Personal Hyper Processor

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

#

//

/* */

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following PHP code?

<?php

$x = 10;

$y = 20;

if ($x > $y && 1||1)

print "1000 PHP MCQ" ;

else

print "Welcome to NMCC";

?>

no output

Welcome to NMCC

1000 PHP MCQ

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Index of an array by default starts with which of the following in PHP?

0

-1

1

2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the function which converts a string to uppercase.

uppercase()

str_uppercase()

strtoupper()

struppercase()

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?