Pass4Test est un site à offrir particulièrement la Q&A Zend-Technologies 200-500, vous pouvez non seulement aprrendre plus de connaissances professionnelles, et encore obtenir le Passport de Certification Zend-Technologies 200-500, et trouver un meilleur travail plus tard. Les documentations offertes par Pass4Test sont tout étudiés par les experts de Pass4Test en profitant leurs connaissances et expériences, ces Q&As sont impresionnées par une bonne qualité. Il ne faut que choisir Pass4Test, vous pouvez non seulement passer le test Zend-Technologies 200-500 et même se renforcer vos connaissances professionnelles IT.
Vous avez aussi la possibilité à réussir le test Zend-Technologies 200-500. Pass4Test offre la service de la mise à jour gratuite pendant un an. Si vous échouez le test, votre argent sera tout rendu. Maintenant, vous pouvez télécharger la partie gratuite prendre examinser la qualité des produits de Pass4Test.
Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As
Dans cette société bien intense, c'est avantage si quelque'un a une technique particulère, donc c'est pourquoi beaucoup de gens ont envie de dépnenser les efforts et le temps à préparer le test Zend-Technologies 200-500, mais ils ne peuvaient pas réussir finalement. C'est juste parce que ils ont pas bien choisi une bonne formation. L'outil de formation lancé par les experts de Pass4Test vous permet à passer le test Zend-Technologies 200-500 coûtant un peu d'argent.
Quand vous hésitez même à choisir Pass4Test, le démo gratuit dans le site Pass4Test est disponible pour vous à essayer avant d'acheter. Nos démos vous feront confiant à choisir Pass4Test. Pass4Test est votre meilleur choix à passer l'examen de Certification Zend-Technologies 200-500, et aussi une meilleure assurance du succès du test 200-500. Vous choisissez Pass4Test, vous choisissez le succès.
C'est un bon choix si vous prendre l'outil de formation de Pass4Test. Vous pouvez télécharger tout d'abord le démo gratuit pour prendre un essai. Vous aurez plus confiances sur Pass4Test après l'essai de notre démo. Si malheureusement, vous ne passe pas le test, votre argent sera tout rendu.
200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html
NO.1 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 examen certification 200-500 200-500 certification 200-500
NO.2 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
certification Zend-Technologies 200-500 certification 200-500
NO.3 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 certification 200-500
NO.4 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
certification Zend-Technologies 200-500 examen 200-500 200-500 200-500 examen
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
certification Zend-Technologies 200-500 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 certification 200-500 200-500 examen
NO.7 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 200-500 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
Zend-Technologies 200-500 certification 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 200-500
NO.10 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 200-500 200-500 200-500 examen
NO.11 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 200-500 certification 200-500
NO.12 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
certification Zend-Technologies 200-500 200-500 examen
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 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 200-500 examen certification 200-500
NO.15 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 examen 200-500 200-500 200-500
NO.16 Transactions can be used to: (Choose 2)
A. Recover from errors in case of a power outage or a failure in the SQL connection
B. Ensure that the data is properly formatted
C. Ensure that either all statements are performed properly, or that none of them are.
D. Recover from user errors
Answer: AC
Zend-Technologies 200-500 certification 200-500 200-500 examen certification 200-500 200-500
NO.17 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
NO.18 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 certification 200-500 certification 200-500
NO.19 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 certification 200-500 certification 200-500
NO.20 How many elements does the $matches array contain after the following function call is performed?
preg_match('/
没有评论:
发表评论