Introduction to PHP

Introduction to PHP

Professional Development

15 Qs

quiz-placeholder

Similar activities

20764 - SQL - Mod 5 and 6

20764 - SQL - Mod 5 and 6

Professional Development

18 Qs

POST TEST WEB STATIC

POST TEST WEB STATIC

University - Professional Development

20 Qs

Microsoft 365

Microsoft 365

Professional Development

10 Qs

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

CSNP 04103 C++ Midterm preparation

CSNP 04103 C++ Midterm preparation

University - Professional Development

11 Qs

Digital Electronics (Weekend Assignment - 3)

Digital Electronics (Weekend Assignment - 3)

University - Professional Development

20 Qs

04 JavaScript Einführung

04 JavaScript Einführung

Professional Development

10 Qs

Technical Training

Technical Training

Professional Development

15 Qs

Introduction to PHP

Introduction to PHP

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Preetha S

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

PHP stands for ______________

PHP:Hypermedia Preprocessor

PHP:Hypertext Postprocessor

PHP:Hypertext Preprocessor

PHP:Hypermedia Postprocessor

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

 Variable names in PHP begins with ________ sign.

 $ 

%

#

&

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In PHP string belongs to _________ datatype.

Compound data

scalar data

special data

unique data

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Array belongs to ________ data type in PHP.

Compound data

scalar data

special data

unique data

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following PHP code? <?php $x = 23; echo ( $x ===23 );       ?>

Displays “” (false)

Displays 1 (true)

 Displays 24

Displays 23

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

 In PHP the _____ loop will always execute the block of code once, it will then check the condition, and repeat the loop while the specified condition is true.

for

while

do...while

 foreach 

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following PHP code? <?php $x = 2; $y = 3; echo ( ($x == 2) xor ($y == 3) );       ?>

Displays (false)

Displays 1 (true)

 Displays 2

Displays 3

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?