Search Header Logo

تطوير شابتر 8

Authored by Yamna ‘s

Computers

University

Used 2+ times

تطوير شابتر 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

PHP parser engine can differentiate PHP code in a webpage:

Short-open Tags

HTMLscript Tags

Canonical PHP Tags

parser engine

ASP-like Tags

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to write single-line comments in PHP?

/* */

#

//

Both B and C

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a multi-line comment in PHP?

Use #

Use //

Use /* ... */

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid way to comment in PHP?

# This is a comment

// This is a comment

/* This is a comment */

** This is a comment **

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

there three different ways to output?

print

Display on screen
Log to console

printf

echo

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP, how is a variable represented?

With a dollar sign ($)

With an at sign (@)

With a percent sign (%)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about PHP variables is true?

PHP variables must be declared before assignment

The value of a variable is the value of its most recent assignment

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?