PHP

PHP

University

25 Qs

quiz-placeholder

Similar activities

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

Computer Organization and Processor

Computer Organization and Processor

University

20 Qs

Quiz Day 9

Quiz Day 9

10th Grade - University

20 Qs

Artificial Intelligence

Artificial Intelligence

University

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

PHP

PHP

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

S Mondal

Used 54+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?