200-530 Exam Questions
408 real 200-530 exam questions with expert-verified answers and explanations. Page 6 of 9.
- Question #398
Consider the following PHP script: <?php $a = array( 1 => 'php', 'Hypertext', 'Preprocessor', 'widely used' => array( 'general' => 'purpose', 'scripting' => 'language', 'that' => '...
- Question #399
Which of the following statements describes the use of a GROUP BY clause?
- Question #400
Which of the following PCRE expressions is used to match any white space character?
- Question #401
John works as a Website Developer for PHPWEB Inc. He is using a Windows operating system and is also working on PHP engine 5.0. He develops the following script: <?php echo date("M...
- Question #402
Which of the following PHP functions can be used to alter the amount of time PHP waits for a stream before timing out during reading or writing?
- Question #405
You want to enable compression in the PHP code output. Which of the following ways should you prefer most?
- Question #406
Fred works as a Web developer in Fastech Inc. He writes the following script: 1. <?php 2. $s = 2; 3. switch ($s) { 4. case 1: 5. print("Fred"); 6. break; 7. case 2: 8. print("Fast"...
- Question #407
Consider a string in the following format: a*bcd/a.d You want to perform regular expression in this string; however, you are unable to do this since the string contains special cha...
- Question #408
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $string1 = "ab"; $string2 = "cd"; $string1 =$string1.$string2; $string3 =...
- Question #409
Which of the following file functions can be used to indicate the current position of the file read/write pointer?
- Question #410
Maria creates an application using PHP script. The application contains certain classes. The class design requires that a particular member variable must be directly accessible to...
- Question #411
Consider the following XML file: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <title> SimpleXML Example</title> </hea...
- Question #412
Angela works as a Database Administrator for AznoTech Inc. She writes the following query: SELECT Dept_Name, Emp_Name FROM Departments d1, Employees e1 WHERE d1.Dept_No = e1.Dept_N...
- Question #413
Which of the following functions in SimpleXML can be used to return an iterator containing a list of all subnodes of the current node?
- Question #415
Consider the following PHP script: <html> <head> <title> Zend 200-530 Exam This is a test script. </title> </head> <body> <?php echo (int) ((0.1 + 0.7) * 10); ?> </body> </html> Wh...
- Question #416
Consider the PHP program (which includes a file specified by request): <?php $color = 'blue'; if (isset( $_GET['COLOR'] ) ) $color = $_GET['COLOR']; require( $color . '.php' ); ?>...
- Question #417
Which of the following file permissions is set by the tempnam() function for the newly created temp file? Zend 200-530 Exam
- Question #418
What will be the output of the following code snippet? <?php echo 'hello ' . 1 + 2 . '34'; ? >
- Question #419
You work as a Database Administrator for Dolliver Inc. The company uses an Oracle database. The database contains two tables, named Employees and Departments. You want to retrieve...
- Question #420
Consider the following PHP code snippet: <?php class Object { function Object( $entity ) { $entity->name="John"; } } class Entity { var $name = "Maria"; } $entity = new Entity(); $...
- Question #421
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</...
- Question #422
Which of the following functions can you use to move data? Each correct answer represents a complete solution. Choose all that apply.
- Question #423
What will be the output of the following code snippet? <?php $string = '133445abcdef'; $mask = '12345'; echo strspn ($string, $mask); ?>
- Question #425
You work as a Web Developer for Remote Inc. What will be the output when you try to run the script below? <?php $b = false; if($b = true) print("true"); else print("false"); ?>
- Question #426
Zend 200-530 Exam Which of the following variables are saved in the session while using the HTTP authentication? Each correct answer represents a complete solution. Choose all that...
- Question #427
What will be the output of the following code? <?php function a(&$a = 19) { $a .= 1; } $b = 6; a($b); echo $b++; ?>
- Question #428
You run the following code: <?php $array = array("a1"=>x,"a2"=>e,"a3"=>z); ksort( $array ); foreach ( $array as $keys => $values ) { print "$keys = $values "; } ?> What will be the...
- Question #429
Zend 200-530 Exam Consider the following code: <?php function modvalue() { $a=20; $b=4; $c=$a%$b; print($c); } ?> What will be the value of variable c?
- Question #430
You allow PHP to dynamically choose whether to propagate the session identifier via cookies or the URL, depending on the user's preferences. Which of the following PHP.ini directiv...
- Question #431
You run the following PHP script: <?php $a = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $a; ?> What will be the output of the script?
- Question #433
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $x=1; $x=$x >> 32; echo $x * pow (2,4); ?> </body> </html> What will be th...
- Question #435
Which of the following options shows the correct format of fetching class variables using the $this variable? Zend 200-530 Exam
- Question #437
Which of the following statements is true about deleting a client's cookie?
- Question #438
Symonds works as a Database Administrator for Blue Well Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the t...
- Question #439
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.
- Question #440
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 accomp...
- Question #441
Which of the following statements correctly explains the use of instanceof and type hinting? Each correct answer represents a complete solution. Choose three.
- Question #442
You have been given a code snippet as follows: $somearray = array("hi", "this is a string", "this is a code"); You want to iterate this array and modify the value of each of its el...
- Question #443
Consider the following script: <?php echo strtotime("january 1, 1901"); ?> What will be the output of the above PHP script if the older versions of glibc are present in the operati...
- Question #445
Which of the following directives can be used to improve the security while using the shared hosting environment? Each correct answer represents a complete solution. Choose all tha...
- Question #446
Zend 200-530 Exam Which of the following functions sets up start and end element handlers?
- Question #447
You want to save client's session values in a database. Which of the following actions will you take to accomplish the task?
- Question #449
Which of the following functions can be used to compare two strings using a case-insensitive binary algorithm?
- Question #450
Consider the following code: <?php $a; for($a=0;$a<100;$a++) Zend 200-530 Exam { if($a==50) { continue; } print(a); } ?> What will be the output of the program?
- Question #451
Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code: <?php $x =25; while($x<10) { $x--; } print ($x); ?> What will be the output when Mar...
- Question #453
Consider the following script: <?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1995)); ?> Zend 200-530 Exam What will be the output of the above script?
- Question #454
What will be the output of the following code snippet? <?php $my_array = array(1 => 'a', 2 => 'b'); print_r($my_aray); ?> Each correct answer represents a complete solution. Choose...
- Question #456
Which of the following methods is called to directly echo or print() an object?
- Question #457
Which of the following is an associative array of items uploaded by the current PHP script via the HTTP POST method?
- Question #458
You run the following PHP script: <?php class Test { function __call( $var1, $var2 ) { $check = " '$var1' called<br />\n"; $check = print_r( $var2, true ); return $check; } } $item...