《Zend认证考试题库.pdf》由会员分享,可在线阅读,更多相关《Zend认证考试题库.pdf(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、Zend PHP 5.3 CertificationQUESTION NO:1Youd Iiketo use the class MyDBConnection thats defined in theMyGreatFrarneworkGreafDatabaseAbstractionLayer namespace,but youwant tominimize*asmuch as possible*the length of the class name you have to type.What wouldyoudo?A.Import the MyGreatFramework namespace
2、B.Import theMyGreatFrarneworkGreafDatabaseAbstractionLayer namespaceC.AliasMyGreatFrarneworkGreafDatabaseAbstractionLayerMyDBConnection toashorter nameD.Al i as My G reat F rarnewo rkG reaf Database Abstractio n Layerto a shorter nameAnswer:BExplanation:This removes the need to prefix the class with
3、 the namespace name.You can referto the class simply as MyDBConnection.QUESTION NO:2 CORRECT TEXTWhich PHP function sets a cookie whose value does notget URL encoded whensending it to thebrowser?Answer:setrawcookie()QUESTION NO:3What will be the result of the following operation?Zend 200-530:Practic
4、e ExamPass Any Exam.Any Time.-www.P 2A.Option AB.Option BC.Option CD.Option DE.Option EAnswer:CExplanation:QUESTION NO:4You want to extract the pieces of a date string,which looks like this:2005-11-02.Which of thefollowing pieces of code will property assign$year,$month and$day with theirrespective
5、values?A.Option AB.Option BC.Option CD.Option DAnswer:AExplanation:QUESTION NO:5 CORRECT TEXTWhat is the output of the following code?Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 3Answer:2Answer:2QUESTION NO:6What is the ideal method of copying data between two opened files?A.Option AB.Op
6、tion BC.Option CD.Option DE.Option EAnswer:CExplanation:QUESTION NO:5 CORRECT TEXTWhat is the output of the following code?Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 3Answer:2Answer:2QUESTION NO:6What is the ideal method of copying data between two opened files?A.Option AB.Option BC.Opt
7、ion CD.Option DE.Option EAnswer:CExplanation:QUESTION NO:5 CORRECT TEXTWhat is the output of the following code?Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 3Answer:2Answer:2QUESTION NO:6What is the ideal method of copying data between two opened files?A.Option AB.Option BC.Option CD.Opti
8、on DE.Option EAnswer:CExplanation:QUESTION NO:5 CORRECT TEXTWhat is the output of the following code?Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 3Answer:2Answer:2QUESTION NO:6What is the ideal method of copying data between two opened files?A.Option AB.Option BC.Option CD.Option DE.Optio
9、n EAnswer:CExplanation:Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 4QUESTION NO:7 CORRECT TEXTWhat is the name of the key in$_FILESname that contains the number of bytesof the uploadedfile?Answer:sizeQUESTION NO:8Which of the following rules must every correct XML document adhere to?(Cho
10、ose2)A.It has to be well-formed.B.Ithas to be valid.C.It has to be associated to a DTD.D.It may only contain UTF-8 encoded characters.Answer:A,BExplanation:QUESTION NO:9Assuming UTF-8 encoding,what is the value of$count?A.falseB.4C.6D.7Answer:BExplanation:QUESTION NO:10Zend 200-530:Practice ExamPass
11、 Any Exam.Any Time.-www.P 5Which of the following code snippets writes the content of the source.txt totarget.txt?A.Option AB.Option BC.Option CD.Option DE.Option EAnswer:D,EExplanation:QUESTION NO:11What is the output of the following code?A.0B.1C.2D.3Answer:DExplanation:Zend 200-530:Practice ExamPass Any Exam.Any Time.-www.P 6QUESTION NO:12What tags can always be used to begin a PHP script?(Choose 2)A.Option AB.Option BC.Option CD.Option DE.Option EAnswer:A,EExplanation: