PHP FUNCTION TEST-4

PHP FUNCTION TEST-4

University

5 Qs

quiz-placeholder

Similar activities

Laravel True or False Quiz 2

Laravel True or False Quiz 2

University

10 Qs

Function Quiz 3

Function Quiz 3

University

10 Qs

H Plenary - Modular programming quick quiz

H Plenary - Modular programming quick quiz

10th Grade - University

8 Qs

C Flow Control and Functions

C Flow Control and Functions

University

8 Qs

QUIZ Pass by value and reference

QUIZ Pass by value and reference

University

9 Qs

C++ function and type casting

C++ function and type casting

University

6 Qs

Functions C

Functions C

University

10 Qs

CSC128 - Chapter 5(ii)

CSC128 - Chapter 5(ii)

University

9 Qs

PHP FUNCTION TEST-4

PHP FUNCTION TEST-4

Assessment

Quiz

Computers

University

Easy

Created by

Arivuselvi A

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why should we use functions?

Easily maintained

Reusability

Easier error detection

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many categories of functions are there in PHP?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is not a built-in function in PHP ?

fopen()

print()

addNumber()

gettype()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to define a function in PHP?

function {function body}

datatype functionName(parameters) {function body}

functionName(parameters) {function body}

function functionName(parameters) {function body}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function’s name cannot begin with a _______.

number

underscore

alphabet

Both A and B