Our pass rate is high to 98.9% and the similarity percentage between our 200-530 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Zend Technologies 200-530 exam in just one try? I am currently studying for the Zend Technologies 200-530 exam. Latest Zend Technologies 200-530 Test exam practice questions and answers, Try Zend Technologies 200-530 Brain Dumps First.
Q121. How can precisely one byte be read from a file, pointed by $fp? (Choose 2)
A. fread($fp, 1);
B. fgets($fp, 1);
C. fgetss($fp, 1);
D. fgetc($fp);
E. All of the above
Answer: AD
Q122. What is the difference between "print" and "echo"?
A. There is no difference.
B. Print returns length of data printed and echo does not
C. Echo returns length of the data printed and print does not
D. Print buffers the output, while echo does not
E. None of the above
Answer: B
Q123. Some databases support the LIMIT clause. ft is a method to ensure that
A. only certain rows are deleted in DELETE queries.
B. only a defined subset of rows are read in SELECT queries.
C. only certain users can access the database.
Answer: B
Q124. How can a PHP extension be loaded? (Choose 2)
A. ini_set("extension", "extension.so");
B. dl("extension.so");
C. extension_load("extension.so");
D. extension=extension.so inside php.ini
Answer: BD
Q125. What is the output of the following code?
try {
class MyException extends Exception {};
try {
throw new MyException;
}
catch (Exception $e) {
echo "1:";
throw $e;
}c
atch (MyException $e) {
echo "2:";
throw $e;
}}
catch (Exception $e) {
echo get_class($e);
}
A. A parser error, try cannot be followd by multiple catch
B. 1:
C. 2:
D. 1:Exception
E. 1:MyException
F. 2:MyException
G. MyException
Answer: E
Q126. 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)
A. strip_tags()
B. htmlentities()
C. htmltidy()
D. htmlspecialchars()
E. showhtml()
Answer: BD
Q127. How many elements does the array $pieces contain after the following piece of code has been executed?
$pieces = explode("/", "///");
A. 0
B. 3
C. 4
D. 5
Answer: C
Q128. What is the file locking mode that should be used when writing to a file?
A. LOCK_UN
B. LOCK_SH
C. LOCK_EX
D. LOCK_NB
Answer: C
Q129. What is the function of backtick (`) characters in PHP?
A. Same as single-quotes, used to enclose strings.
B. Escape operators.
C. No special meaning.
D. Execute the enclosed string as a command.
E. Error control operators.
Answer: D
Q130. What DOMElement method should be used to check for availability of a non-namespaced attribute?
A. getAttributeNS()
B. getAttribute()
C. hasAttribute()
D. hasAttributeNS()
Answer: C
Q131. PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...
A. implements Traversable
B. is an instance of ArrayObject
C. implements ArrayAccess
D. None of the above
Answer: D
Q132. Which of the following is correct? (Choose 2)
1) A class can extend more than one class.
2) A class can implement more than one class.
3) A class can extend more than one interface.
4) A class can implement more than one interface.
5) An interface can extend more than one interface.
6) An interface can implement more than one interface.
A. 1)
B. 2)
C. 3)
D. 4)
E. 5)
F. 6)
Answer: DE
Q133. When a browser requests an image identified by an img tag, it never sends a Cookie header.
A. TRUE
B. FALSE
Answer: B
Q134. What function is used to retrieve all available information about a symbolic link?
A. symlink()
B. stat()
C. fstat()
D. lstat()
E. readlink()
Answer: D
Q135. 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 properly 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