PHP

PHP

University

25 Qs

quiz-placeholder

Similar activities

Midterm InfoTech2

Midterm InfoTech2

University

20 Qs

PRELIM-SW2

PRELIM-SW2

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Fintech

Fintech

University

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

CN_Minor2

CN_Minor2

University

20 Qs

Information Management - QUIZ

Information Management - QUIZ

University

20 Qs

LINKEDLIST- DSA -2-3

LINKEDLIST- DSA -2-3

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?