Zend 200-710 - Zend Certified Engineer Exam

Question #6 (Topic: Topic 1)
You want to parse a URL into its single parts. Which function do you choose?
A. parse_url() B. url_parse(0 C. get_url_parts() D. geturlparts()
Answer: A
Question #7 (Topic: Topic 1)
What is the output of the following code?
[Zend-200-710-1.0/xmlfile-5_1.png]
A. This is text B. $text C. $text1 D. $text2
Answer: B
Question #8 (Topic: Topic 1)
What function can be used to retrieve an array of current options for a stream context?
A. stream_get_options() B. stream_context_get_default() C. stream_context_get_options() D. The ‘options’ element of the stream_get_meta_data() return value
Answer: C
Question #9 (Topic: Topic 1)
Given the following array:
[Zend-200-710-1.0/xmlfile-6_1.png]
Which function will remove the value 28 from $a?
A. array_shift() B. array_pop() C. array_pull() D. array_unshift()
Answer: A
Question #10 (Topic: Topic 1)
When would you use classes and when would you use namespaces?
A. Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions B. Use classes for performance-sensitive code, and namespaces when readability matters more C. Use namespaces for performance-sensitive code, and classes when readability matters more D. Always use them; namespaces as always superior to classes
Answer: A
Download Exam
Page: 2 / 18
Total 87 questions