Pass the Zend Zend Certification 200-530 Questions and answers with CertsForce

Viewing page 7 out of 8 pages
Viewing questions 61-70 out of questions
Questions # 61:

The function mysqli_affected_rows() can be used to perform which of the following actions? (Choose 2)

Options:

A.

get the number of rows that are affected by SELECT statements


B.

get the number of rows that are affected by UPDATE statements


C.

get the number of rows that are affected by INSERT statements


D.

get the number of rows in a result set


E.

get the numbers of rows that are affected after committing a transaction using COMMIT


Expert Solution
Questions # 62:

Which of the following statements is true?

Options:

A.

All PHP database extensions support prepared statements


B.

All PHP database extensions come with their own special helper functions to escape user data to be used in dynamic SQL queries


C.

All PHP database extensions provide an OOP interface


D.

All PHP database extensions appear in the output of php -m , if installed


Expert Solution
Questions # 63:

What is the content of $c after the following code has executed?

$a = 2;

$b = 3;

$c = ($a++ * ++$b);

Options:

A.

0


B.

5


C.

8


D.

4


Expert Solution
Questions # 64:

What DOMElement method should be used to check for availability of a non-namespaced attribute?

Options:

A.

getAttributeNS()


B.

getAttribute()


C.

hasAttribute()


D.

hasAttributeNS()


Expert Solution
Questions # 65:

Which of the following can be registered as entry points with a SoapServer instance (choose 3)

Options:

A.

A single function


B.

A single method from a class


C.

Multiple functions at once


D.

All methods from a class


E.

All classes defined in a script


Expert Solution
Questions # 66:

What can NOT be used to send a cookie from within a PHP application?

Options:

A.

header()


B.

$_COOKE


C.

setcookie()


D.

setrawcookie()


Expert Solution
Questions # 67:

Which parts of the text are matched in the following regular expression?

Question # 67

Options:

A.

bang bong bung


B.

bang bonged bung


C.

big bang bong bung


D.

big bang bung


Expert Solution
Questions # 68:

What is the output of the following code?

1 <?php

2 function append($str)

3 {

4 $str = $str.'append';

5 }

6

7 function prepend(&$str)

8 {

9 $str = 'prepend'.$str;

10 }

11

12 $string = 'zce';

13 append(prepend($string));

14 echo $string;

15 ?>

Options:

A.

zceappend


B.

prependzceappend


C.

prependzce


D.

zce


Expert Solution
Questions # 69:

What is the output of the following code?

Question # 69

Options:

A.

false-false


B.

false-true


C.

true-false


D.

true-true


Expert Solution
Questions # 70:

You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your site layout. Which function do you apply to the text, when displaying it? (Choose 2)

Options:

A.

strip_tags()


B.

htmlentities()


C.

htmltidy()


D.

htmlspecialchars()


E.

showhtml()


Expert Solution
Viewing page 7 out of 8 pages
Viewing questions 61-70 out of questions