WP 11-15

WP 11-15

Professional Development

55 Qs

quiz-placeholder

Similar activities

Ujian TIK

Ujian TIK

Professional Development

50 Qs

Test Mendix 4

Test Mendix 4

Professional Development

50 Qs

WORK IMMERSION 3RD QUARTER

WORK IMMERSION 3RD QUARTER

Professional Development

54 Qs

ข้อสอบ ปลายภาค วิชาพื้นฐานธุรกิจดิจิทัล

ข้อสอบ ปลายภาค วิชาพื้นฐานธุรกิจดิจิทัล

Professional Development

60 Qs

Python List,Set,Tuple, and dictionaries.

Python List,Set,Tuple, and dictionaries.

Professional Development

60 Qs

Manage the Application Life Cycle Lesson 1

Manage the Application Life Cycle Lesson 1

9th Grade - Professional Development

56 Qs

Microprocessor 8085

Microprocessor 8085

Professional Development

60 Qs

Kompetensi Keahlian TKJ

Kompetensi Keahlian TKJ

Professional Development

50 Qs

WP 11-15

WP 11-15

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Preetha S

Used 3+ times

FREE Resource

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

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

Displays 1 (true)
Displays 24
Displays 23
Displays “” (false)

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

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

Displays “” (false)
Displays 1 (true)
Displays 24
Displays 23

3.

MULTIPLE CHOICE QUESTION

3 mins • 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

4.

MULTIPLE CHOICE QUESTION

3 mins • 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

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Let $x and $y be the two arrays in PHP. Which array operator is used for the union of $x and $y?

+
U
,
&

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A switch statement in PHP is used to ________

switch between functions
switch between variables
switch between lines
choose from multiple possibilities

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

The_______ loops through a block of code for each element in an array in PHP.

for
while
do...while
foreach

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?