PHP

PHP

University

25 Qs

quiz-placeholder

Similar activities

Lesson 3 (Model Training)

Lesson 3 (Model Training)

University

20 Qs

First Quiz Interactive Designing

First Quiz Interactive Designing

University

20 Qs

ISFIS123 - MIDTERM EXAM

ISFIS123 - MIDTERM EXAM

University

20 Qs

Device Hardening

Device Hardening

University

20 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Software Engineering-1

Software Engineering-1

University

20 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

Django-quiz

Django-quiz

5th 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

Already have an account?