Search Header Logo

PHP

Authored by S Mondal

Computers

University

Used 55+ times

PHP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

PHP is a ............

Open Source Language

Widely Used Language

Server side scripting language

All of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following symbol is used to add multiple line comments in PHP ?

//

/* */

{{ }}

{/ \}

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the below symbols is a newline character?

<br>

\n

/n

\r

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How to define a function in PHP?

function {function body}

function functionName(parameters) {function body}

functionName(parameters) {function body}

None of the above

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is used to create a session?

session_destroy() function

session_start() function

$_SESSION[]

isset() function

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one of the following statements is used to create a table?

CREATE TABLE table_name (column_type column_name);

CREATE table_name (column_type column_name);

CREATE TABLE table_name (column_name column_type);

CREATE table_name (column_name column_type);

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the use of strlen() function in PHP?

The strlen() function returns both value and type of string

The strlen() function returns the length of string

The strlen() function returns the type of string

The strlen() function returns the value of string

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?