显示标签为“Zend-Technologies”的博文。显示所有博文
显示标签为“Zend-Technologies”的博文。显示所有博文

2014年2月9日星期日

Zend-Technologies ZF-100-500 examen pratique questions et réponses

Pass4Test est un site particulier à offrir les guides de formation à propos de test certificat IT. La version plus nouvelle de Q&A Zend-Technologies ZF-100-500 peut répondre sûrement une grande demande des candidats. Comme tout le monde le connait, le certificat Zend-Technologies ZF-100-500 est un point important pendant l'interview dans les grandes entreprises IT. Ça peut expliquer un pourquoi ce test est si populaire. En même temps, Pass4Test est connu par tout le monde. Choisir le Pass4Test, choisir le succès. Votre argent sera tout rendu si malheureusement vous ne passe pas le test Zend-Technologies ZF-100-500.

Dans n'importe quelle industrie, tout le monde espère une meilleure occasion de se promouvoir, surtout dans l'industrie de IT. Les professionnelles dans l'industrie IT ont envie d'une plus grande space de se développer. Le Certificat Zend-Technologies ZF-100-500 peut réaliser ce rêve. Et Pass4Test peut vous aider à réussir le test Zend-Technologies ZF-100-500.

Si vous êtes intéressé par l'outil formation Zend-Technologies ZF-100-500 étudié par Pass4Test, vous pouvez télécharger tout d'abord le démo. Le service de la mise à jour gratuite pendant un an est aussi offert pour vous.

Vous pouvez télécharger le démo gratuit pour prendre un essai. Vous aurez plus confiance sur Pass4Test. N'hésitez plus à choisir la Q&A Zend-Technologies ZF-100-500 comme votre guide d'étude.

Choisir le Pass4Test vous permet non seulement à réussir le test Zend-Technologies ZF-100-500, mais encore à enjouir le service en ligne 24h et la mise à jour gratuite pendant un an. Nous allons lancer au premier temps la Q&A Zend-Technologies ZF-100-500 plus nouvelle. Si vous ne passez pas le test, votre argent sera tout rendu.

Code d'Examen: ZF-100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification)
Questions et réponses: 200 Q&As

Il faut une bonne préparation et aussi une série de connaissances professionnelles complètes pour réussir le test Zend-Technologies ZF-100-500. La ressourece providée par Pass4Test peut juste s'accorder votre demande.

Pass4Test est un site professionnel qui répondre les demandes de beaucoup clients. Les candidats qui ont déjà passer leurs premiers test Certification IT ont devenus les suivis de Pass4Test. Grâce à la bonne qualité des documentations, Pass4Test peut aider tous candidats à réussir le test Zend-Technologies ZF-100-500.

ZF-100-500 Démo gratuit à télécharger: http://www.pass4test.fr/ZF-100-500.html

NO.1 Fill in the blank with the appropriate PHP function.
The_____________ function is used to replace the current session id with the new session id, and to
keep information of the current session.
A. session_regenerate_id()
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500   certification ZF-100-500

NO.2 Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle database.
The database contains a table named Employees. Following is the structure of the table:
EmpID NUMBER (5) PRIMARY KEY
EmpName VARCHAR2 (35) NOT NULL
Salary NUMBER (9, 2) NOT NULL
Commission NUMBER (4, 2)
ManagerName VARCHAR2 (25)
ManagerID NUMBER (5)
Celina wants to display the names of employees and their managers, using a self join. Which of the
following SQL statements will she use to accomplish this?
Each correct answer represents a complete solution. Choose two.
A. SELECT e.EmpName, m.ManagerName
FROM Employees e, Employeesm
WHERE e.EmpID = m.ManagerID;
B. SELECT e.EmpName, m.ManagerName
FROM Employees e INNER JOIN Employeesm
ON e.EmpID = m.ManagerID;
C. SELECT e.EmpName, m.ManagerName
FROM Employees e LEFT OUTER JOIN Employees m
ON e.EmpID = m.ManagerID;
D. SELECT e.EmpName, m.ManagerName
FROM Employees e SELF JOIN Employeesm
ON e.EmpID = m.ManagerID;
Answer: A,B

certification Zend-Technologies   certification ZF-100-500   certification ZF-100-500   ZF-100-500   ZF-100-500 examen

NO.3 Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
A. setBodyHTML()
Answer: A

Zend-Technologies   ZF-100-500 examen   ZF-100-500

NO.4 Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory()
B. Zend_Memory->NewMemoryManager()
C. Zend_Memory->factory()
D. Zend_Memory::NewMemoryManager()
Answer: A

certification Zend-Technologies   ZF-100-500   ZF-100-500 examen

NO.5 You want to retrieve all the data from any given table. You also want to ensure that no duplicate values
are displayed. Which of the following SQL statements will you use to accomplish the task?
A. SELECT...TOP
B. SELECT...WHERE
C. SELECT...DISTINCT
D. SELECT...ALL
Answer: C

Zend-Technologies examen   ZF-100-500   ZF-100-500   ZF-100-500 examen   ZF-100-500

NO.6 You have given the following XML data in the tasks.XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<tasklist>
<note>
<tasks>Validate data</tasks>
<details>String Validation</details>
</note>
<note>
<tasks>Secure data</tasks>
<details>Encryption</details>
</note>
</tasklist>
Now, you run the following PHP script:
<?php
$objDOM = new DOMDocument();
$objDOM->load("tasks.xml");
$note = $objDOM->getElementsByTagName("note");
foreach( $note as $value )
{
$tasks = $value->getElementsByTagName("tasks");
$task = $tasks->item(0)->nodeValue;
$details = $value->getElementsByTagName("details");
$detail = $details->item(0)->nodeValue;
echo "$task :: $detail <br>";
}
?>
What should be displayed when this script is executed?
A. The contents of the whole XML document
B. The XML of every tasks and details nodes
C. The contents of every tasks and details nodes
D. The XML of whole XML document
Answer: C

Zend-Technologies   certification ZF-100-500   ZF-100-500

NO.7 You have a table created as follows:
create table foo (c1 int, c2 char(30), c3 int, c4 char(10))
If column c1 is unique, which of the following indexes would optimize the statement given below?
Select distinct (c1), c3 from foo where c1=10
A. create unique index foox on foo (c1) include (c3)
B. create index foox on foo (c1)
C. create index foox on foo (c1,c3)
D. create unique index foox on foo (c1,c3)
Answer: A

certification Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500 examen   ZF-100-500

NO.8 You run the following PHP script:
<?php
$name = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string($_POST["password"]);
?>
What is the use of the mysql_real_escape_string() function in the above script.
Each correct answer represents a complete solution. Choose all that apply.
A. It can be used as a countermeasure against a SQL injection attack.
B. It escapes all special characters from strings $_POST["name"] and $_POST["password"] except ' and
".
C. It escapes all special characters from strings $_POST["name"] and $_POST["password"].
D. It can be used to mitigate a cross site scripting attack.
Answer: A,C

Zend-Technologies examen   ZF-100-500   ZF-100-500 examen   ZF-100-500   certification ZF-100-500

NO.9 Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?
A. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'protocol_used' = 'tls')); ?>
B. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'connectTo' = 'tls')); ?>
C. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'ssl' = 'tls')); ?>
D. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'protocol_used' = 'ssl/tls')); ?>
Answer: C

Zend-Technologies examen   ZF-100-500 examen   ZF-100-500   ZF-100-500   certification ZF-100-500   ZF-100-500

NO.10 Which of the following clauses is used to specify a column or an array of columns by which to sort?
A. Order By
B. WHERE
C. FROM
D. LIMIT
Answer: A

Zend-Technologies examen   ZF-100-500   ZF-100-500   certification ZF-100-500

NO.11 $index->addDocument($Search_Doc);
A. $Search_Index = Zend_Search_Lucene::create_Index('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
B. $Search_Index = Zend_Search_Lucene::open_Index('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
C. $Search_Index = Zend_Search_Lucene::create('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
D. $Search_Index = Zend_Search_Lucene::open('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
Answer: C

Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500   ZF-100-500
11.Which of the following methods in Zend_Controller_Action can be used for resetting the state when
multiple controllers use the same helper in the chained actions?
A. preDispatch()
B. setActionController()
C. postDispatch()
D. init()
Answer: D

Zend-Technologies   ZF-100-500   ZF-100-500

NO.12 Which of the following are the configuration files that are used in Zend_Config?
A. Zend_Config_Server
B. Zend_Config_Xml
C. Zend_Config_Db
D. Zend_Config_Ini
Answer: B,D

Zend-Technologies   certification ZF-100-500   certification ZF-100-500   ZF-100-500   ZF-100-500

NO.13 John works as a professional Ethical Hacker. He has been assigned a project to test the security of
www.we-are-secure.com. On the We-are-secure login page, he enters ='or''=' as a username and
successfully logs in to the user page of the Web site. The We-are-secure login page is vulnerable to a
__________.
A. Land attack
B. Replay attack
C. Dictionary attack
D. SQL injection attack
Answer: D

certification Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500

NO.14 Which of the following methods are used by Zend_Controller_Action_Helper_Abstract?
Each correct answer represents a complete solution. Choose all that apply.
A. init()
B. preDispatch()
C. setActionController()
D. getResponseId()
Answer: A,B,C

Zend-Technologies   certification ZF-100-500   certification ZF-100-500   ZF-100-500

NO.15 Which of the following functions can be used as a countermeasure to a Shell Injection attack?
Each correct answer represents a complete solution. Choose all that apply.
A. mysql_real_escape_string()
B. escapeshellcmd()
C. regenerateid()
D. escapeshellarg()
Answer: B,D

Zend-Technologies   ZF-100-500 examen   ZF-100-500   ZF-100-500 examen

NO.16 Which of the following methods will you use to retain the identity across requests according to the PHP
session configuration?
A. isValid()
B. getIdentity()
C. Zend_Auth::authenticate()
D. getCode()
Answer: C

Zend-Technologies   ZF-100-500   ZF-100-500

NO.17 Consider the following code segment:
1. <?php
2. require_once 'Zend/Mail.php';
3. ?????????????????????????
4. $mail->setBodyText('This is the test email.');
5. $mail->setFrom('somebody@example.com', 'Sender');
6. $mail->addTo('somebody_else@example.com', 'Recipient');
7. $mail->setSubject('TestSubject');
8. $mail->send();
9. ?>
Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?
A. $mail = new Zend_Mail();
B. $mail => initialize_Zend_Mail();
C. $mail -> Zend_Mail();
D. $mail => Zend_Mail();
Answer: A

Zend-Technologies examen   ZF-100-500   certification ZF-100-500   ZF-100-500   ZF-100-500   ZF-100-500

NO.18 Fill in the blank with the appropriate method name.
The__________ method is used to retrieve headers when the storage has been opened.
A. getHeader()
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500

NO.19 Which of the following is an example of a database connection that needs to be created once at the
beginning of a script and then used throughout its code?
A. Model-view-controller
B. Factory pattern
C. ActiveRecord
D. Singleton
Answer: D

Zend-Technologies examen   ZF-100-500   ZF-100-500 examen   ZF-100-500 examen

NO.20 Which of the following are the valid methods of the Zend_Date class?
Each correct answer represents a complete solution. Choose all that apply.
A. set()
B. add()
C. check()
D. get()
E. sub()
Answer: A,B,D,E

certification Zend-Technologies   certification ZF-100-500   ZF-100-500   ZF-100-500   ZF-100-500

NO.21 You want to set the form method in post and action to /uc/zend.php when you are using the
Zend_Form class. Which of the following code snippets will you use to accomplish the task?
A. <?php
$form->setAction('/uc/zend.php')
->setMethod('post');
B. <?php
echo "<form action=\"/uc/zend.php \" method=POST>";
C. <?php
$form->('/uc/zend.php')
->('post');
D. <?php
$form->Zend::setAction('/uc/zend.php')
->Zend::setMethod('post');
Answer: A

certification Zend-Technologies   ZF-100-500 examen   ZF-100-500   ZF-100-500   ZF-100-500

NO.22 Write the appropriate word to complete the sentence below.
___________is used for logging of multiple backends, formatting messages which are sent to the log, and
filtering those messages, which should not be logged.
A. Zend_Log
Answer: A

Zend-Technologies   ZF-100-500 examen   ZF-100-500 examen   ZF-100-500   certification ZF-100-500

NO.23 Which of the following actions may fail if you have exceeded your quota limit?
A. addTo()
B. send()
C. addBcc()
D. appendMessage()
Answer: D

Zend-Technologies   ZF-100-500 examen   certification ZF-100-500

NO.24 In which of the following situations will you use the set_exception_handler() function?
A. When you want to restore a previously defined exception handler function.
B. When the try/catch block is unable to catch an exception.
C. When you want to set a user-defined function to handle errors.
D. When you want to generate a user-level error/warning/notice message.
Answer: B

Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500

NO.25 Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
A. call()
B. getLastResponse()
C. getProxy()
D. XMLResponse
Answer: C

Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500

NO.26 Which of the following code snippets will you use to create an index in Zend_Search_Lucene?
1. <?php
2. ?????????????
3. ?????????????
4. $Search_Doc ->addField(Zend_Search_Lucene_Field::Text('url', $docUrl));
5. $Search_Doc ->addField(
6. Zend_Search_Lucene_Field::UnStored(
7. 'contents',
8. $docContent
9. )
10. );

NO.27 Which of the following functions sets up start and end element handlers?
A. xml_parse_into_struct()
B. xml_parser_create_ns()
C. xml_set_object()
D. xml_set_element_handler()
Answer: D

Zend-Technologies   ZF-100-500 examen   certification ZF-100-500   ZF-100-500   ZF-100-500 examen

NO.28 You want a formatted date for an RSS feed. Which of the following code syntaxes will you use to
accomplish the task?
A. Zend_Date::RSSFEED
B. Zend_Date::RSS
C. $RSS= new Zend_RSS_Date()
D. Zend_Date->RSS
Answer: B

certification Zend-Technologies   ZF-100-500 examen   certification ZF-100-500   ZF-100-500   ZF-100-500 examen   certification ZF-100-500

NO.29 Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?
A. $server = Zend_Xml::Zend_XmlRpc_Server()
B. $server = new Zend_Xml();
C. $server = new Zend_XmlRpc_Server();
D. $server = create_new_Zend_XmlRpc_Server()
Answer: C

Zend-Technologies examen   certification ZF-100-500   ZF-100-500   ZF-100-500 examen   ZF-100-500 examen

NO.30 Fill in the blank with the appropriate class name.
The______ class is used to load files dynamically.
A. Zend_Loader
Answer: A

certification Zend-Technologies   ZF-100-500   certification ZF-100-500   certification ZF-100-500

On doit faire un bon choix pour passer le test Zend-Technologies ZF-100-500. C'est une bonne affaire à choisir la Q&A de Pass4Test comme le guide d'étude, parce que vous allez obtenir la Certification Zend-Technologies ZF-100-500 en dépensant d'un petit invertissement. D'ailleur, la mise à jour gratuite pendant un an est aussi gratuite pour vous. C'est vraiment un bon choix.

2013年11月16日星期六

Pass4Test offre une formation sur Zend-Technologies 200-500 matériaux examen

Vous pouvez télécharger tout d'abord le démo gratuit pour prendre un essai. Vous serez confiant davantage sur Pass4Test après l'essai de démo. Vous allez réussir le test Zend-Technologies 200-500 sans aucune doute si vous choisissez le Pass4Test.

Pass4Test a une équipe se composant des experts qui font la recherche particulièrement des exercices et des Q&As pour le test certification Zend-Technologies 200-500, d'ailleurs ils peuvent vous proposer à propos de choisir l'outil de se former en ligne. Si vous avez envie d'acheter une Q&A de Pass4Test, Pass4Test vous offrira de matériaux plus détailés et plus nouveaux pour vous aider à approcher au maximum le test réel. Assurez-vous de choisir le Pass4Test, vous réussirez 100% le test Zend-Technologies 200-500.

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

Il faut une bonne préparation et aussi une série de connaissances professionnelles complètes pour réussir le test Zend-Technologies 200-500. La ressourece providée par Pass4Test peut juste s'accorder votre demande.

Les spécialiste profitant leurs expériences et connaissances font sortir les documentations particulière ciblées au test Zend-Technologies 200-500 pour répondre une grande demande des candidats. Maintenant, la Q&A plus nouvelle, la version plus proche de test Zend-Technologies 200-500 réel est lancée. C'est possible à réussir 100% avec le produit de Zend-Technologies 200-500. Si malheureusement, vous ne passez pas le test, votre argent sera tout rendu. Vous pouvez télécharger le démo gratuit en Internet pour examiner la qualité de Q&A. N'hésitez plus d'ajouter le produit au panier, Pass4Test peut vous aider à réussir le rêve.

Pass4Test est un site de vous ramener au succès. Pass4Test peut vous aider à promouvoir les connaissances essentielles pour le test Zend-Technologies 200-500 et passer le test à la première fois.

Le programme de formation Zend-Technologies 200-500 offert par Pass4Test comprend les exercices et les test simulation. Vous voyez aussi les autres sites d'offrir l'outil de formation, mais c'est pas difficile à découvrir une grand écart de la qualité entre Pass4Test et les autres fournisseurs. Celui de Pass4Test est plus complet et convenable pour la préparation dans une courte terme.

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 Which of the following data types cannot be directly manipulated by the client?
A. Cookie Data
B. Session Data
C. Remote IP Address
D. User Agent
Answer: B

Zend-Technologies examen   200-500   200-500   200-500 examen

NO.2 How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C

certification Zend-Technologies   200-500   certification 200-500

NO.3 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?
A. $_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']
B. $_POST['myImage']['x'] and $_POST['myImage']['x']
C. $_POST['myImage.x'] and $_POST['myImage.y']
D. $_POST['myImage_x'] and $_POST['myImage_y']
Answer: D

Zend-Technologies   certification 200-500   200-500   200-500 examen   200-500 examen

NO.4 Identify the security vulnerability in the following example:
1.<?php
2 echo "Welcome, {$_POST['name']}.";
3 ?>
A. SQL Injection
B. Cross-Site Scripting
C. Remote Code Injection
D. None of the above
Answer: B

Zend-Technologies   200-500   200-500 examen

NO.5 Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
A. Error: Typehints cannot be NULL
B. Error: Typehints cannot be references
C. Result is NULL
D. Result is object of type stdClass
E. Result is 42
Answer: E

certification Zend-Technologies   200-500   200-500 examen

NO.6 Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
A. Strip all occurrences of the string script.
B. Strip all occurrences of the string javascript.
C. Enable magic_quotes_gpc.
D. None of the above.
Answer: D

Zend-Technologies examen   200-500   certification 200-500   200-500 examen   200-500

NO.7 You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what
it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
A. String 1 is less than string 2.
B. The strings are considered equal.
C. String 2 is less than string 1.
D. The strings have equal length.
Answer: B

Zend-Technologies   200-500 examen   certification 200-500   200-500

NO.8 Which of the following statements is NOT true?
a) Class constants are public
b) Class constants are being inherited
c) Class constants can omit initialization (default to NULL)
d) Class constants can be initialized by consts
A. a)
B. b)
C. c)
D. d)
Answer: C

Zend-Technologies   200-500 examen   200-500   200-500   certification 200-500

NO.9 Type hinting in PHP allows the identification of the following variable types: (Choose 2)
A. String
B. Integer
C. Array
D. Any class or interface type
Answer: CD

Zend-Technologies   certification 200-500   certification 200-500   certification 200-500

NO.10 When checking whether two English words are pronounced alike, which function
should be used for the best possible result?
A. levenshtein()
B. metaphone()
C. similar_text()
D. soundex()
Answer: B

Zend-Technologies   200-500   200-500 examen   200-500

NO.11 How many elements does the $matches array contain after the following function call is performed?
preg_match('/

2013年10月20日星期日

Le dernier examen Zend-Technologies 200-500 gratuit Télécharger

Le test de Certification Zend-Technologies 200-500 devient de plus en plus chaud dans l'Industrie IT. En fait, ce test demande beaucoup de travaux pour passer. Généralement, les gens doivent travailler très dur pour réussir.

L'équipe de Pass4Test se composant des experts dans le domaine IT. Toutes les Q&As sont examinées par nos experts. Les Q&As offertes par Pass4Test sont réputées pour sa grande couverture ( presque 100%) et sa haute précision. Vous pouvez trouver pas mal de sites similaires que Pass4Test, ces sites peut-être peuvent vous offrir aussi les guides d'études ou les services en ligne, mais on doit admettre que Pass4Test peut être la tête de ces nombreux sites. La mise à jour, la grande couverture des questions, la haute précision des réponses nous permettent à augmenter le taux à réussir le test Certification Zend-Technologies 200-500. Tous les points mentionnés ci-dessus seront une assurance 100% pour votre réussite de test Certification Zend-Technologies 200-500.

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

Certification Zend-Technologies 200-500 est un des tests plus importants dans le système de Certification Zend-Technologies. Les experts de Pass4Test profitent leurs expériences et connaissances professionnelles à rechercher les guides d'étude à aider les candidats du test Zend-Technologies 200-500 à réussir le test. Les Q&As offertes par Pass4Test vous assurent 100% à passer le test. D'ailleurs, la mise à jour pendant un an est gratuite.

Le Pass4Past possède une équipe d'élite qui peut vous offrir à temps les matériaux de test Certification Zend-Technologies 200-500. En même temps, nos experts font l'accent à mettre rapidement à jour les Questions de test Certification IT. L'important est que Pass4Test a une très bonne réputation dans l'industrie IT. Bien que l'on n'ait pas beaucoup de chances à réussir le test de 200-500, Pass4Test vous assure à passer ce test par une fois grâce à nos documentations avec une bonne précision et une grande couverture.

Pass4Test est un site de vous ramener au succès. Pass4Test peut vous aider à promouvoir les connaissances essentielles pour le test Zend-Technologies 200-500 et passer le test à la première fois.

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 What is the output of the following code?
<code>
class test {
public $value = 0;
function test() {
$this->value = 1;
}
function __construct() {
$this->value = 2;
}
}
$object = new test();
echo $object->value;
A. 2
B. 1
C. 0
D. 3
E. No Output, PHP will generate an error message.
Answer: A

Zend-Technologies examen   200-500   200-500 examen   200-500   200-500

NO.2 How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C

Zend-Technologies   certification 200-500   200-500   200-500   200-500

NO.3 Which piece of code will return the ASCII value of a character?
A. (int)'t';
B. ord('t');
C. to_ascii('t');
D. chr('t');
Answer: B

Zend-Technologies   200-500 examen   200-500   200-500

NO.4 Which options do you have in PHP to set the expiry date of a session?
A. Set the session.duration directive in php.ini
B. Set session cookie expiry date locally via session_set_cookie_params()
C. Set session expiry date locally via session_cache_expire()
D. None of the above
Answer: D

certification Zend-Technologies   certification 200-500   certification 200-500   200-500 examen   200-500

NO.5 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?
A. $_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']
B. $_POST['myImage']['x'] and $_POST['myImage']['x']
C. $_POST['myImage.x'] and $_POST['myImage.y']
D. $_POST['myImage_x'] and $_POST['myImage_y']
Answer: D

Zend-Technologies examen   200-500   200-500

NO.6 Which parts of the text are matched in the following regular expression?
1 <?php
2 $text = <<<EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all('@b.n?g@', $text, $matches);
7 ?>
A. bang bong bung
B. bang bonged bung
C. big bang bong bung
D. big bang bung
Answer: C

Zend-Technologies examen   certification 200-500   certification 200-500   certification 200-500

NO.7 How many elements does the $matches array contain after the following function call is performed?
preg_match('/

2013年9月28日星期六

Dernières Zend-Technologies 200-500 de la pratique de l'examen questions et réponses téléchargement gratuit

Pass4Test est un seul site web qui peut offrir toutes les documentations de test Zend-Technologies 200-500. Ce ne sera pas un problème à réussir le test Zend-Technologies 200-500 si vous préparez le test avec notre guide d'étude.

On peut télécharger quelques parties de Q&A gratuites dans le site Pass4Test à propos de test Certification Zend-Technologies 200-500. Vous pouvez tester notre fiabilité via le démo. Choisir Pass4Test, c'est-à-dire que vous êtes proche d'un pic ensuite de l'Industrie IT.

Vous pouvez tout d'abord télécharger le démo Zend-Technologies 200-500 gratuit dans le site Pass4Test. Une fois que vous décidez à choisir le Pass4Test, Pass4Test va faire tous efforts à vous permettre de réussir le test. Si malheureusement, vous ne passez pas le test, nous allons rendre tout votre argent.

Pass4Test peut non seulement vous aider à réussir votre rêve, mais encore vous offre le service gratuit pendand un an après vendre en ligne. Q&A offerte par l'équipe de Pass4Test vous assure à passer 100% le test de Certification Zend-Technologies 200-500.

Est-ce que vous vous souciez encore pour passer le test Zend-Technologies 200-500? Pourquoi pas choisir la formation en Internet dans une société de l'informatique. Un bon choix de l'outil formation peut résoudre le problème de prendre grande quantité de connaissances demandées par le test Zend-Technologies 200-500, et vous permet de préparer mieux avant le test. Les experts de Pass4Test travaillent avec tous efforts à produire une bonne Q&A ciblée au test Zend-Technologies 200-500. La Q&A est un bon choix pour vous. Vous pouvez télécharger le démo grantuit tout d'abord en Internet.

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

La Q&A lancée par Pass4Test est bien poupulaire. Pass4Test peut non seulement vous permettre à appendre les connaissances professionnelles, et aussi les expériences importantes résumées par les spécialistes dans l'Industrie IT. Pass4Test est un bon fournisseur qui peut répondre une grande demande des candidats. Avec l'aide de Pass4Test, vous aurez la confiance pour réussir le test. Vous n'aurez pas aucune raison à refuser le Pass4Test.

Le Pass4Test est un site qui peut offrir les facilités aux candidats et aider les candidats à réaliser leurs rêve. Si vous êtes souci de votre test Certification, Pass4Test peut vous rendre heureux. La haute précision et la grande couverture de la Q&A de Pass4Test vous aidera pendant la préparation de test. Vous n'aurez aucune raison de regretter parce que Pass4Test réalisera votre rêve.

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 When a class is defined as final it:
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. Is no longer iteratable.
Answer: A

Zend-Technologies examen   certification 200-500   200-500   200-500

NO.2 Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
A. Strip all occurrences of the string script.
B. Strip all occurrences of the string javascript.
C. Enable magic_quotes_gpc.
D. None of the above.
Answer: D

certification Zend-Technologies   certification 200-500   200-500   200-500 examen   200-500

NO.3 Which of the following data types cannot be directly manipulated by the client?
A. Cookie Data
B. Session Data
C. Remote IP Address
D. User Agent
Answer: B

Zend-Technologies   200-500   200-500 examen   200-500

NO.4 You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
A. Set enable_dl to Off in the server's php.ini configuration file.
B. Add dl to the current value of disable_functions in the server's php.ini configuration file.
C. Add dl to the current value of disable_classes in the server's php.ini configuration file.
D. Write a custom function called dl(), save it under the name prepend.inc and then set the
auto_prepend_file directive to prepend.inc in php.ini.
Answer: AB

certification Zend-Technologies   200-500   200-500 examen   200-500

NO.5 What is the output of the following code?
echo 0x33, ' monkeys sit on ', 011, ' trees.';
A. 33 monkeys sit on 11 trees.
B. 51 monkeys sit on 9 trees.
C. monkeys sit on trees.
D. 0x33 monkeys sit on 011 trees.
Answer: B

Zend-Technologies   200-500   200-500   200-500 examen   200-500

NO.6 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?
A. $_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']
B. $_POST['myImage']['x'] and $_POST['myImage']['x']
C. $_POST['myImage.x'] and $_POST['myImage.y']
D. $_POST['myImage_x'] and $_POST['myImage_y']
Answer: D

Zend-Technologies examen   200-500 examen   certification 200-500   certification 200-500

NO.7 Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value
in PHP 4?
A. Class
B. String
C. Object
D. Array
Answer: C

Zend-Technologies examen   200-500   200-500   200-500   200-500   certification 200-500

NO.8 You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what
it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
A. String 1 is less than string 2.
B. The strings are considered equal.
C. String 2 is less than string 1.
D. The strings have equal length.
Answer: B

Zend-Technologies examen   200-500   200-500   certification 200-500   200-500 examen

NO.9 Given the following code, what will be the value of $a?
$a = array('a', 'b');
array_push($a, array(1, 2));
A. array('a', 'b', 1, 2)
B. array(1, 2, 'a', 'b')
C. array(array(1, 2), 'a', 'b')
D. None of the above
Answer: D

Zend-Technologies   200-500   200-500 examen   certification 200-500

NO.10 How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C

Zend-Technologies   200-500   certification 200-500   200-500   200-500 examen

NO.11 A script residing at http://example.com/phpcert/cookies.php contains the following code:
1.<?php
2 setcookie('name1', 'value1', time() + 60*60*24, '/');
3 setcookie('name1', 'value2');
4 ?>
The web browser is configured to accept all cookies. How many cookies will be set by this script?
A. 0
B. 1
C. 2
D. 3
Answer: C

Zend-Technologies   certification 200-500   certification 200-500

NO.12 What is the content of $c after the following code has executed?
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
A. 0
B. 5
C. 8
D. 4
Answer:

NO.13 Which piece of code will return the ASCII value of a character?
A. (int)'t';
B. ord('t');
C. to_ascii('t');
D. chr('t');
Answer: B

Zend-Technologies   200-500   certification 200-500   certification 200-500   certification 200-500

NO.14 Which of the following statements is NOT true?
a) Class constants are public
b) Class constants are being inherited
c) Class constants can omit initialization (default to NULL)
d) Class constants can be initialized by consts
A. a)
B. b)
C. c)
D. d)
Answer: C

certification Zend-Technologies   200-500   200-500   certification 200-500   certification 200-500

NO.15 You are creating an application that generates invoices in a variety of formats, including PDF, ODS
and HTML. Each of these formats is represented as a PHP class in your application. While some of the
operations can be performed on all of the different formats (such as saving and loading), other operations
may be specific to one or two of the formats (such as setting as read only). Which design pattern should
you use for this application?
A. Adapter
B. Factory
C. MVC
D. Singleton
Answer: B

Zend-Technologies examen   certification 200-500   certification 200-500   certification 200-500   certification 200-500

NO.16 REST is a(n) ...
A. Web service protocol similar to SOAP with a strict XML schema.
B. Principle to exchange information using XML and HTTP.
C. API to get information from social networking sites.
Answer: B

Zend-Technologies examen   200-500 examen   200-500   200-500 examen   200-500

NO.17 Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
A. Error: Typehints cannot be NULL
B. Error: Typehints cannot be references
C. Result is NULL
D. Result is object of type stdClass
E. Result is 42
Answer: E

certification Zend-Technologies   200-500   200-500

NO.18 What is the maximum size of the VARCHAR column type?
A. 255 Bytes
B. 255 Characters
C. 512 Bytes
D. 512 Characters
E. No Limit
Answer: B

Zend-Technologies   200-500   certification 200-500   200-500

NO.19 What is the output of the following script?
1 <?php
2 class a
3 {
4 public $val;
5 }
6
7 function renderVal (a $a)
8 {
9 if ($a) {
10 echo $a->val;
11 }
12 }
13
14 renderVal (null);
15 ?>
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
Answer: B

Zend-Technologies examen   200-500   200-500 examen

NO.20 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

certification Zend-Technologies   200-500 examen   200-500 examen   200-500   200-500

NO.21 How many elements does the $matches array contain after the following function call is performed?
preg_match('/

2013年8月30日星期五

Zend-Technologies 100-500 examen pratique questions et réponses

Les produits de Pass4Test sont préparés pour le test Certification Zend-Technologies 100-500, y compris les formations et les informations ciblées au test Zend-Technologies 100-500. D'ailleurs, la Q&A de Pass4Test qui est impressionnée par la grande couverture des questions et la haute précision des réponses vous permet à réussir le test avec une haute note.

Tant que vous avez besion de participer l'examen, nous pouvons toujours mettre à jour de matériaux à propos de test Certification Zend-Technologies 100-500. Le guide d'étude de Pass4Test comprend les excercices de Zend-Technologies 100-500 et la Q&A qui peut vous permetrre à réussir 100% le test Zend-Technologies 100-500. Vous pouvez faire une meilleure préparation pour le test. D'ailleurs, la mise à jour pendant un an après vendre est gratuite pour vous.

Code d'Examen: 100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification Exam)
Questions et réponses: 202 Q&As

La population de la Certification Zend-Technologies 100-500 est très claire dans l'Industrie IT. Pass4Test se contribue à vous aider à réussir le test, de plus, un an de la mise à jour gratuite pendant est gratuite pour vous. Pass4Test sera le catalyseur de la réalisation de votre rêve. Pour le succès demain, Pass4Test est votre von choix. Vous serez le prochain talent de l'Indutrie IT sous l'aide de Pass4Test.

Le Pass4Past possède une équipe d'élite qui peut vous offrir à temps les matériaux de test Certification Zend-Technologies 100-500. En même temps, nos experts font l'accent à mettre rapidement à jour les Questions de test Certification IT. L'important est que Pass4Test a une très bonne réputation dans l'industrie IT. Bien que l'on n'ait pas beaucoup de chances à réussir le test de 100-500, Pass4Test vous assure à passer ce test par une fois grâce à nos documentations avec une bonne précision et une grande couverture.

Pass4Test est un site de vous ramener au succès. Pass4Test peut vous aider à promouvoir les connaissances essentielles pour le test Zend-Technologies 100-500 et passer le test à la première fois.

Chaque expert dans l'équipe de Pass4Test ont son autorité dans cette industrie. Ils profitent ses expériences et ses connaissances professionnelles à préparer les documentations pour les candidats de test Certification IT. Les Q&As produites par Pass4Test ont une haute couverture des questions et une bonne précision des réponses qui vous permettent la réussie de test par une seule fois. D'ailleurs, un an de service gratuit en ligne après vendre est aussi disponible pour vous.

100-500 Démo gratuit à télécharger: http://www.pass4test.fr/100-500.html

NO.1 Which of the following methods in Zend_Controller_Action can be used for resetting the state
when multiple controllers use the same helper in the chained actions?
A. preDispatch()
B. setActionController()
C. postDispatch()
D. init()
Answer: D

Zend-Technologies   100-500 examen   certification 100-500   100-500

NO.2 Which of the following are the configuration files that are used in Zend_Config?
A. Zend_Config_Server
B. Zend_Config_Xml
C. Zend_Config_Db
D. Zend_Config_Ini
Answer: B,D

Zend-Technologies examen   certification 100-500   100-500   certification 100-500   100-500

NO.3 Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
Answer: setBodyHTML()

NO.4 Which of the following actions may fail if you have exceeded your quota limit?
A. addTo()
B. send()
C. addBcc()
D. appendMessage()
Answer: D

Zend-Technologies   100-500   100-500 examen   100-500

NO.5 Which of the following functions sets up start and end element handlers?
A. xml_parse_into_struct()
B. xml_parser_create_ns()
C. xml_set_object()
D. xml_set_element_handler()
Answer: D

Zend-Technologies examen   100-500   100-500 examen   100-500   100-500

NO.6 You want a formatted date for an RSS feed. Which of the following code syntaxes will you use
to accomplish the task?
A. Zend_Date::RSSFEED
B. Zend_Date::RSS
C. $RSS= new Zend_RSS_Date()
D. Zend_Date->RSS
Answer: B

Zend-Technologies examen   100-500   100-500 examen

NO.7 In which of the following situations will you use the set_exception_handler() function?
A. When you want to restore a previously defined exception handler function.
B. When the try/catch block is unable to catch an exception.
C. When you want to set a user-defined function to handle errors.
D. When you want to generate a user-level error/warning/notice message.
Answer: B

Zend-Technologies   100-500   100-500 examen   100-500

NO.8 Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle
database. The database contains a table named Employees. Following is the structure of the table:
EmpID NUMBER (5) PRIMARY KEY
EmpName VARCHAR2 (35) NOT NULL
Salary NUMBER (9, 2) NOT NULL
Commission NUMBER (4, 2)
ManagerName VARCHAR2 (25)
ManagerID NUMBER (5)
Celina wants to display the names of employees and their managers, using a self join. Which of the
following SQL statements will she use to accomplish this?
Each correct answer represents a complete solution. Choose two.
A. SELECT e.EmpName, m.ManagerName FROM Employees e, Employeesm WHERE e.EmpID =
m.ManagerID;
B. SELECT e.EmpName, m.ManagerName FROM Employees e INNER JOIN Employeesm ON e.EmpID
= m.ManagerID;
C. SELECT e.EmpName, m.ManagerName FROM Employees e LEFT OUTER JOIN Employees m ON
e.EmpID = m.ManagerID;
D. SELECT e.EmpName, m.ManagerName FROM Employees e SELF JOIN Employeesm ON e.EmpID =
m.ManagerID;
Answer: A,B

Zend-Technologies   100-500   100-500 examen   certification 100-500

NO.9 You want to set the form method in post and action to /uc/zend.php when you are using the
Zend_Form class. Which of the following code snippets will you use to accomplish the task?
A. <?php
$form->setAction('/uc/zend.php')
->setMethod('post');
B. <?php
echo "<form action=\"/uc/zend.php \" method=POST>";
C. <?php
$form->('/uc/zend.php')
->('post');
D. <?php
$form->Zend::setAction('/uc/zend.php')
->Zend::setMethod('post');
Answer: A

Zend-Technologies   100-500   100-500   certification 100-500

NO.10 Which of the following functions can be used as a countermeasure to a Shell Injection attack?
Each correct answer represents a complete solution. Choose all that apply.
A. mysql_real_escape_string()
B. escapeshellcmd()
C. regenerateid()
D. escapeshellarg()
Answer: B,D

certification Zend-Technologies   100-500 examen   certification 100-500

NO.11 Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory()
B. Zend_Memory->NewMemoryManager()
C. Zend_Memory->factory()
D. Zend_Memory::NewMemoryManager()
Answer: A

Zend-Technologies   100-500   100-500 examen

NO.12 Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?
A. $server = Zend_Xml::Zend_XmlRpc_Server()
B. $server = new Zend_Xml();
C. $server = new Zend_XmlRpc_Server();
D. $server = create_new_Zend_XmlRpc_Server()
Answer: C

Zend-Technologies examen   100-500 examen   certification 100-500   100-500 examen   100-500 examen   certification 100-500

NO.13 You want to retrieve all the data from any given table. You also want to ensure that no
duplicate values are displayed. Which of the following SQL statements will you use to accomplish
the task?
A. SELECT...TOP
B. SELECT...WHERE
C. SELECT...DISTINCT
D. SELECT...ALL
Answer: C

certification Zend-Technologies   certification 100-500   100-500   100-500

NO.14 You have a table created as follows:
create table foo (c1 int, c2 char(30), c3 int, c4 char(10)) If column c1 is unique, which of the
following indexes would optimize the statement given below?
Select distinct (c1), c3 from foo where c1=10
A. create unique index foox on foo (c1) include (c3)
B. create index foox on foo (c1)
C. create index foox on foo (c1,c3)
D. create unique index foox on foo (c1,c3)
Answer: A

Zend-Technologies examen   100-500   100-500   100-500 examen

NO.15 Which of the following methods will you use to retain the identity across requests according to
the PHP session configuration?
A. isValid()
B. getIdentity()
C. Zend_Auth::authenticate()
D. getCode()
Answer: C

Zend-Technologies   certification 100-500   100-500   certification 100-500   100-500

Si vous voulez ne se soucier plus à passer le test Zend-Technologies 100-500, donc vous devez prendre la Q&A de Pass4Test comme le guide d'étude pendant la préparation de test Zend-Technologies 100-500. C'est une bonne affaire parce que un petit invertissement peut vous rendre beaucoup. Utiliser la Q&A Zend-Technologies 100-500 offerte par Pass4Test peut vous assurer à réussir le test 100%. Pass4Test a toujours une bonne réputation dans l'Industrie IT.

2013年7月18日星期四

Meilleur Zend-Technologies 200-530 test formation guide

Beaucoup de travailleurs espèrent obtenir quelques Certificat IT pour avoir une plus grande space de s'améliorer. Certains certificats peut vous aider à réaliser ce rêve. Le test Zend-Technologies 200-530 est un certificat comme ça. Mais il est difficile à réussir. Il y a plusieurs façons pour se préparer, vous pouvez dépenser plein de temps et d'effort, ou vous pouvez choisir une bonne formation en Internet. Pass4Test est un bon fournisseur de l'outil formation de vous aider à atteindre votre but. Selons vos connaissances à propos de Pass4Test, vous allez faire un bon choix de votre formation.


Nous croyons que pas mal de candidats voient les autres site web qui offrent les ressources de Q&A Zend-Technologies 200-530. En fait, le Pass4Test est le seul site qui puisse offrir la Q&A recherchée par les experts réputés dans l'Industrie IT. Grâce à la Q&A de Pass4Test impressionée par la bonne qualité, vous pouvez réussir le test Zend-Technologies 200-530 sans aucune doute.


Code d'Examen: 200-530

Nom d'Examen: Zend-Technologies (Zend PHP 5.3 Certification)

Questions et réponses: 254 Q&As

C'est sûr que le Certificat Zend-Technologies 200-530 puisse améliorer le lendemain de votre carrière. Parce que si vous pouvez passer le test Zend-Technologies 200-530, c'est une meilleure preuve de vos connaissances professionnelles et de votre bonne capacité à être qualifié d'un bon boulot. Le Certificat Zend-Technologies 200-530 peut bien tester la professionnalité de IT.


Pas besoin de beaucoup d'argent et de temps, vous pouvez passer le test Zend-Technologies 200-530 juste avec la Q&A de Zend-Technologies 200-530 offerte par Pass4Test qui vous offre le test simulation bien proche de test réel.


L'équipe de Pass4Test rehcerche la Q&A de test certification Zend-Technologies 200-530 en visant le test Zend-Technologies 200-530. Cet outil de formation peut vous aider à se préparer bien dans une courte terme. Vous vous renforcerez les connaissances de base et même prendrez tous essences de test Certification. Pass4Test vous assure à réussir le test Zend-Technologies 200-530 sans aucune doute.


200-530 Démo gratuit à télécharger: http://www.pass4test.fr/200-530.html


NO.1 CORRECT TEXT
What is the output of the following code?
Answer: 2

NO.2 An object can be counted with count() and sizeof() if it ­ ..
A. implements ArrayAccess
B. has a public__count() method
C. was cast to an object from an array
D. None of the above
Answer: D

Zend-Technologies   200-530   200-530 examen   200-530   200-530
- It must implement the count() method (no underscores)

NO.3 Which requirements need NOT be met so that file uploads work?
A. The PHP directive file_uploads must be set to on
B. The form's method attribute must be set to "post"
C. Sate mode must be turned off so that the uploaded file an be written to the server
D. The form's enctype attribute must be set to "multipart/form-data"
Answer: C

Zend-Technologies examen   certification 200-530   certification 200-530   certification 200-530   certification 200-530

NO.4 What is the return value of the following code?
strpos("me myself and I", "m", 2)
A. 2
B. 3
C. 4
D. 0
E. 1
Answer: B

Zend-Technologies   200-530   200-530

NO.5 Which parts of the text are matched in the following regular expression?
A. bang bong bung
B. bang bonged bung
C. big bang bong bung
D. big bang bung
Answer: C

certification Zend-Technologies   200-530   200-530   certification 200-530   200-530

NO.6 CORRECT TEXT
What is the output of the following code?
Answer: 1

NO.7 Consider the following two files. When you run test.php, what would the output look like?
A. 12, 12
B. 12, 24
C. 24, 12
D. 24, 24
E. PHP Fetal error. Cannot redeclare strlen()
Answer: C

Zend-Technologies   200-530   200-530   certification 200-530

NO.8 When setting HTTP headers from PHP, how can you make sure that your application sends the same
header twice, with different values?
A. Set the second argument of the header() function to false
B. PHP does that automatically
C. One kind of header may only be sent once
D. Use the header_add() function
Answer: A

Zend-Technologies   200-530   200-530   certification 200-530   certification 200-530   200-530 examen

NO.9 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

certification Zend-Technologies   200-530   200-530   200-530   certification 200-530

NO.10 The following form is loaded in a recent browser and submitted, with the second list element selected:
<form method="post">
<select name="list">
<option>one</option>
<option>two</option>
<option>three</option>
</select>
</form>
In the server-side PHP code to deal with the form data, what is the value of $_POST ['list']?
A. 1
B. 2
C. two
D. null (since the <code> value attribute of the list has not been set)
Answer: C

certification Zend-Technologies   200-530 examen   200-530

NO.11 How can the line on which HTTP headers were sent inside a script be determined?
A. Using the headers_sent() function.
B. Using the output_start() function.
C. Using the ob_start() function.
D. Cannot be determined
Answer: A

Zend-Technologies   200-530   200-530 examen   200-530 examen   200-530 examen

NO.12 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

Zend-Technologies   200-530 examen   200-530   certification 200-530   200-530

NO.13 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

certification Zend-Technologies   200-530   certification 200-530   200-530

NO.14 What is the output of the following code?
A. 0
B. An integer overflow error
C. A warning, because $x1 is not set
D. A warning, because $x2 is not set
E. A floating-point overflow error
F. Nothing
Answer: D

Zend-Technologies examen   200-530   200-530   200-530

NO.15 What is the output of the following code?
A. 0
B. 1
C. 2
D. 3
Answer: D

Zend-Technologies examen   certification 200-530   200-530   200-530

NO.16 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

Zend-Technologies   200-530   certification 200-530   200-530 examen   certification 200-530   200-530
This removes the need to prefix the class with the namespace name. You can refer to the class simply as
®M y DBC onnec ti o ¡¯

NO.17 What tags can always be used to begin a PHP script? (Choose 2)
A. <?php
B. <?
C. <%
D. <%php
E. <script language="php">
Answer: A,E

certification Zend-Technologies   200-530   200-530 examen   200-530 examen

NO.18 Which of the following statements about PHP is true? (Choose 3)
A. A final class can be derived.
B. A final class may be instantiated.
C. A class with a final function may be derived.
D. Static functions can be final.
E. Properties can be final.
Answer: B,C,D

certification Zend-Technologies   200-530   200-530 examen   200-530

NO.19 Which PHP function relieves a 1st of HTTP headers that have been sent as part of the HTTP response
or are ready to be sent?
A. header()
B. headers()
C. header_list()
D. header_sent()
E. getresponseheaders0
Answer: C

Zend-Technologies   200-530   200-530 examen

NO.20 An HTML form contains this form element
<input type="file" name="myFile" />
When this form is submitted, the following PHP code gets executed:
move_uploaded_file(
$_FILES['myFile']['tmp_name'],
'uploads/' . $_FILES['myFile']['name']);
Which of the following actions must be taken before this code may go into production?
(Choose 2)
A. Check with is_uploaded_file() whether the uploaded file $_FILES['myFile']['tmp_name'] is valid
B. Sanitize the file name in $_FILES['myFile']['name'] because this value is not consistent among web
browsers
C. Check the charset encoding of the HTTP request to see whether it matches the encoding of the
uploaded file
D. Sanitize the file name in $_FILES['myFile']['name'] because this value could be forged
E. Use $HTTP_POST_FILES instead of $_FILES to maintain upwards compatibility
Answer: B,D

Zend-Technologies   200-530 examen   200-530   certification 200-530   200-530

NO.21 Assuming UTF-8 encoding, what is the value of $count?
A. false
B. 4
C. 6
D. 7
Answer: B

Zend-Technologies   certification 200-530   200-530 examen   certification 200-530   200-530 examen

NO.22 An HTML form has two buttons. After submitting the form, how could you determine with PHP which
button was clicked?
A. An HTML form may only have one button.
B. Hook up JavaScript the form to add a value to the URL depending on which button has been clicked.
C. Put the two buttons in individual form elements with different action attribute.
D. Assign name and value attributes to each button and use $_GET or $_POST to find out which button
has been clicked.
Answer: D

Zend-Technologies   200-530 examen   200-530   200-530

NO.23 What is the output of the following code?
echo '1' . (print '2') + 3;
A. 123
B. 213
C. 142
D. 214
E. Syntax error
Answer: D

certification Zend-Technologies   certification 200-530   200-530

NO.24 Which of the following is used to find all PHP files under a certain directory?
A. PHPIterator
B. RecursiveTreelterator
C. RecursiveDirectorylterator
D. SplTempFileObject
Answer: C

Zend-Technologies examen   certification 200-530   200-530 examen   200-530   200-530

NO.25 CORRECT TEXT
What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?
Answer: size

Zend-Technologies   200-530 examen   certification 200-530   200-530   200-530 examen

NO.26 A/hen comparing prepared statements and regular, application-constructed SQL statements, which of
the following is true?
A. Prepared statements are faster
B. Prepared statements are always shorter
C. Prepared statements are more secure
D. Prepared statements are easier to develop
E. None of the above
Answer: C

Zend-Technologies examen   200-530   200-530   200-530   certification 200-530

NO.27 Which of the following code snippets writes the content of the °sou r ce .t x¡± t ¡ °t arg e t . xt
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: A,D,E

Zend-Technologies examen   200-530   200-530

NO.28 CORRECT TEXT
Which DOMElement property provides a reference to the list of Element's children?
Answer: childNodes

Zend-Technologies   200-530   200-530

NO.29 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: A,B

Zend-Technologies   200-530   200-530

NO.30 CORRECT TEXT
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the
browser?
Answer: setrawcookie()

Dans cette époque glorieuse, l'industrie IT est devenue bien intense. C'est raisonnable que le test Zend-Technologies 200-530 soit un des tests plus populaires. Il y a de plus en plus de gens qui veulent participer ce test, et la réussite de test Zend-Technologies 200-530 est le rêve pour les professionnels ambitieux.