Latest Zend 200-530 Exam Questions Free Download (1-10)

By | February 15, 2014

QUESTION 1
You’d like to use the class MyDBConnection that’s defined in the MyGreatFrarnework\GreafDatabaseAbstractionLayer namespace, but you want to minimize *as much as possible* the length of the class name you have to type. What would you do?

A.    Import the MyGreatFramework namespace
B.    Import the MyGreatFrarnework\GreafDatabaseAbstractionLayer namespace
C.    Alias MyGreatFrarnework\GreafDatabaseAbstractionLayer\MyDBConnection to a shorter name
D.    Alias MyGreatFrarnework\GreafDatabaseAbstractionLayer to a shorter name

Answer: B

Explanation:
This removes the need to prefix the class with the namespace name. You can refer to the class simply as `MyDBConnection’.

QUESTION 2
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?
Answer: setrawcookie()

QUESTION 3
What will be the result of the following operation?
array_combine(array(“A”,”B”,”C”), array(1,2,3));

A.    array(“A”,”B”,C”,1,2,3)
B.    array(1,2,3,”A”,”B”,C”)
C.    array(“A”=>1,”B”=>2,”C”=>3)
D.    array(1=>”A”,2=>”B”,3=>”C”)
E.    array(1,2,3)

Answer: C

QUESTION 4
You want to extract the pieces of a date string, which looks like this: “2005-11-02”. Which of the
following pieces of code will property assign $year, $month and $day with their respective values?

A.    sscanf(“2005-11-02”, ‘%d-%d-%d’, $year, $month, $day);
B.    scan(“2005-11-02”, ‘%d-%d-%d’, $year, $month, $day);
C.    sscanf(‘%d-%d-%d’, “2005-11-02”, $year, $month, $day);
D.    sscan($year, $month, $date ‘%d-%d-%d’, “2005-11-02”);

Answer: A

QUESTION 5
What is the output of the following code?

5

Answer: 2

QUESTION 6
What is the ideal method of copying data between two opened files?

A.    copy($source_file, $destination_file);
B.    copy(destination_file, $source_file);
C.    stream_copy_to_stream($source_file, $destination_file);
D.    stream_copy_to_stream($destination_file, $source_file);
E.    stream_bucket_prepend($source_file, $destination_file);

Answer: C

QUESTION 7
What is the name of the key in $_FILES[‘name’] that contains the number of bytes of the uploaded file?
Answer: size

QUESTION 8
Which of the following rules must every correct XML document adhere to? (Choose 2)

A.    It has to be well-formed.
B.    It has to be valid.
C.    It has to be associated to a DTD.
D.    It may only contain UTF-8 encoded characters.

Answer: AB

QUESTION 9
Assuming UTF-8 encoding, what is the value of $count?

9

A.    false
B.    4
C.    6
D.    7

Answer: B

QUESTION 10
Which of the following code snippets writes the content of the “source.txt” to “target.txt”?

A.    file_put_contents(“target.txt”, fopen(“source.txt”, “r”));
B.    file_put_contents(“target.txt”, readfile(“source.txt”));
C.    file_put_contents(“target.txt”, join(file(“source.txt”), “”));
D.    file_put_contents(“target.txt”, file_get_contents(“source.txt”));
E.    $handle = fopen(“target.txt”, “w+”); fwrite($handle, file_get_contents(“source.txt”)); fclose($handle);

Answer: ADE

If you want to pass Zend 200-530 successfully, do not missing to read latest lead2pass Zend 200-530 exam questions.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/200-530.html