Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the Zend PHP and Zend Framework Certifications 200-550 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam 200-550 Premium Access

View all detail and faqs for the 200-550 exam


766 Students Passed

84% Average Score

98% Same Questions
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

What content-type is required when sending an HTTP POST using JavaScript to ensure that PHP can access the data?

Options:

A.

application/x-www-form-urlencoded

B.

http/post

C.

text/html

D.

object/multipart-formdata

Questions # 42:

An HTML form contains this form element:

<input type="image" name="myImage" src="image.png" />

The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?

Options:

A.

$_FILES['myImage']['x'] and $_FILES['myImage']['y']

B.

$_POST['myImage']['x'] and $_POST['myImage']['y']

C.

$_POST['myImage.x'] and $_POST['myImage.y']

D.

$_POST['myImage_x'] and $_POST['myImage_y']

Questions # 43:

An HTML form has two submit buttons. After submitting the form, how can you determine with PHP which button was clicked?

Options:

A.

An HTML form may only have one button.

B.

You cannot determine this with PHP only. You must use JavaScript to add a value to the URL depending on which button has been clicked.

C.

Put the two buttons in different forms, but make sure they have the same name.

D.

Assign name and value attributes to each button and use $_GET or $_POST to find out which button has been clicked.

Questions # 44:

Which of the following is NOT possible using reflection?

Options:

A.

Analysing of nearly any aspect of classes and interfaces

B.

Analysing of nearly any aspect of functions

C.

Adding class methods

D.

Implement dynamic construction (new with variable class name)

Questions # 45:

Transactions should be used to: (Choose 2)

Options:

A.

Prevent errors in case of a power outage or a failure in the SQL connection

B.

Ensure that the data is properly formatted

C.

Ensure that either all statements are performed properly, or that none of them are.

D.

Recover from user errors

Questions # 46:

When a class is defined as final it:

Options:

A.

Can no longer be extended by other classes.

B.

Means methods in the class are not over-loadable.

C.

Cannot be defined as such, final is only applicable to object methods.

D.

Cannot be instantiated.

Questions # 47:

What is the output of the following code?

class a

{

public $val;

}

function renderVal (a $a)

{

if ($a) {

echo $a->val;

}

}

renderVal (null);

Options:

A.

A syntax error in the function declaration line

B.

An error, because null is not an instance of 'a'

C.

Nothing, because a null value is being passed to renderVal()

D.

NULL

Questions # 48:

What is the output of the following code?

$f = function () { return "hello"; };

echo gettype($f);

Options:

A.

hello

B.

string

C.

object

D.

function

Questions # 49:

Which of the following is an invalid DOM save method?

Options:

A.

save()

B.

saveFile()

C.

saveXML()

D.

saveHTML()

E.

saveHTMLFile()

Questions # 50:

What is the difference between "print" and "echo"?

Options:

A.

There is no difference.

B.

Print has a return value, echo does not

C.

Echo has a return value, print does not

D.

Print buffers the output, while echo does not

E.

None of the above

Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.