2013年11月29日星期五

L'avènement de la certification Zend-Technologies pratique d'examen 200-500 questions et réponses

Le produit de Pass4Test est réputée par une bonne qualité et fiabilité. Vous pouvez télécharger le démo grantuit pour prendre un essai, nons avons la confiance que vous seriez satisfait. Vous n'aurez plus de raison à s'hésiter en face d'un aussi bon produit. Ajoutez notre Q&A au panier, vous aurez une meilleure préparation avant le test.

Vous choisissez l'aide de Pass4Test, Pass4Test fait tous effort à vous aider à réussir le test. De plus, la mise à jour de Q&A pendant un an est gratuite pour vous. Vous n'avez plus raison à hésiter. Pass4Test est une meilleure assurance pour le succès de test Zend-Technologies 200-500. Ajoutez la Q&A au panier.

Pass4Test, où vous pouvez trouver les conseils et les documentations de test Certification Zend-Technologies 200-500, est un siteweb remarquable offrant les données à préparer le test IT. Les documentations partiels et les mis en nouveau sont offerts gratuitement dans le site de Pass4Test. D'ailleurs, nos experts profitent de leurs expériences et leurs efforts à lancer sans arrêts les Q&A plus proches au test réel. Vous allez passer votre examen plus facile.

Il y a plusieurs de façons pour réussir le test Zend-Technologies 200-500, vous pouvez travailler dur et dépenser beaucoup d'argents, ou vous pouvez travailler plus efficacement avec moins temps dépensés.

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

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

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

Zend-Technologies examen   200-500   certification 200-500   200-500 examen   200-500   certification 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 examen   200-500 examen   200-500 examen

NO.3 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   certification 200-500   200-500   200-500

NO.4 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   200-500   200-500 examen   200-500 examen

NO.5 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   200-500   200-500   200-500 examen   200-500 examen   200-500 examen

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

Zend-Technologies   certification 200-500   200-500

NO.7 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   certification 200-500   certification 200-500   certification 200-500

NO.8 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   200-500 examen

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

NO.10 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   certification 200-500   200-500 examen   200-500   certification 200-500

NO.11 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   200-500   200-500 examen   200-500 examen

NO.12 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   200-500   200-500 examen   200-500   certification 200-500

NO.13 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.14 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 examen   certification 200-500

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

certification Zend-Technologies   200-500   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

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

NO.17 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   certification 200-500

NO.18 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 examen

NO.19 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   certification 200-500   certification 200-500   certification 200-500   200-500 examen   200-500

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

没有评论:

发表评论