Exam 17: PHP Array Functions and Basics

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

PHP files have a default file extension of..

Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
Verified

C

Which of the conditional statements is/are supported by PHP? i. if statements ii. if-else statements iii. if-elseif statements iv. switch statements

Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
Verified

D

Which of the looping statements is/are supported by PHP? i. for loop ii. while loop iii. do-while loop iv. foreach loop

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

C

What functions count elements in an array?

(Multiple Choice)
4.7/5
(36)

There are three different kind of arrays:

(Multiple Choice)
4.9/5
(41)

Which of the below statements is equivalent to $add += $add ?

(Multiple Choice)
4.9/5
(28)

Which of the following is/are a PHP code editor? i. Notepad ii. Notepad++ iii. Adobe Dreamweaver iv. PDT

(Multiple Choice)
4.8/5
(43)

What function computes the difference of arrays?

(Multiple Choice)
4.8/5
(31)

What will be the output of the following php code? <?php $num = "1"; $num1 = "2"; print $num+$num1; ?>

(Multiple Choice)
4.9/5
(35)

Who is the father of PHP?

(Multiple Choice)
4.7/5
(45)

Which of following variables can be assigned a value to it? i. $3hello ii. $_hello iii. $this iv. $This

(Multiple Choice)
4.7/5
(48)

What will be the output of the following PHP code? <?php $a = "clue"; $a .= "get"; echo "$a"; ?>

(Multiple Choice)
4.9/5
(40)

If $a = 12 what will be returned when ($a == 12)? 5: 1 is executed?

(Multiple Choice)
4.8/5
(37)

Which version of PHP introduced Try/catch Exception?

(Multiple Choice)
4.9/5
(42)

In PHP in order to access MySQL database you will use:

(Multiple Choice)
4.8/5
(34)

Which array function checks if the specified key exists in the array

(Multiple Choice)
4.9/5
(41)

Which of the following DBMSs do not have a native PHP extension?

(Multiple Choice)
4.8/5
(45)

We can use ___ to comment a single line? i. /? ii. // iii. # iv. /* */

(Multiple Choice)
4.9/5
(42)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)