Pass the Zend ZCE 200-710 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

What is the output of the following code?

Question # 11

Options:

A.

string(0) “”


B.

bool(false)


C.

string(1) “!”


D.

string(2) “k!”


Questions # 12:

Which value will be assigned to the key 0 in the following code?

Question # 12


Questions # 13:

What is the output of the following code?

Question # 13

Options:

A.

This is text


B.

$text


C.

$text1


D.

$text2


Questions # 14:

What is the output of the following code?

Question # 14

Options:

A.

Fatal error: Access to private variable MyTrait: $abc from context MyClass


B.

Notice: Undefined property MyClass: $abc


C.

int(2)


D.

int(3)


E.

NULL


Questions # 15:

Which of the following statements about SOAP are NOT true?

Options:

A.

SOAP is also a request-/response-based protocol.


B.

SOAP can be transported using SMTP, HTTP and other protocols.


C.

SOAP requires developers to use WSDL.


D.

SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.


Questions # 16:

Which of the following expressions will evaluate to a random value from an array below?

$array = [“Sue”,”Mary”,”John”,”Anna”];

Options:

A.

array_rand($array);


B.

array_rand($array, 1);


C.

shuffle($array);


D.

$array[array_rand($array)];


E.

array_value($array, ARRAY_RANDOM);


Questions # 17:

What is the output of the following code?

Question # 17

Options:

A.

1


B.

3


C.

5


D.

20


E.

7


Questions # 18:

Which PHP function is used to validate where the contents of $_FILES[‘name’][‘tmp_name’] have really been uploaded via HTTP, and also save the contents into another folder?


Questions # 19:

Which of the following can NOT be used to send a cookie from within a PHP application?

Options:

A.

header()


B.

$_COOKIE


C.

setcookie()


D.

setrawcookie()


Questions # 20:

What is the output of the following code?

Question # 20

Options:

A.

A parser error, try cannot be followed by multiple catch


B.

1:Exception


C.

1:MyExeption


D.

2:MyException


E.

MyException


Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions