PHP Zend Certification Exam Questions and Answers, Exams of Nursing

A series of questions and answers related to php zend certification. It covers topics such as bitwise operators, value equality, array operators, logical operators, execution operators, variable typing, namespaces, and xml processing. The questions are designed to test knowledge of php syntax, functionality, and best practices, making it a useful resource for students and developers preparing for php certification exams. It also includes questions on datetime extension and simplexml.

Typology: Exams

2024/2025

Available from 05/25/2025

PREJONATO
PREJONATO 🇺🇸

4.3

(7)

9K documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CHN Ch. 1 actual solution
PHP Zend Certification questions
bank
Integral numbers are internally converted into what? - answer -bits
What is the symbol for the bitwise AND? - answer -&
What is the symbol for the bitwise OR? - answer -|
What is the symbol for the bitwise XOR? - answer -^
What is the criteria for the bitwise AND? - answer -Matching "1" in both
operands.
What is the criteria for the bitwise OR? - answer -At least one "1" in an operand
What is the criteria for the bitwise XOR? - answer -True only if operands are
different
What is the symbol to NEGATE BITS? - answer -~
What symbol is used to shift bits? - answer -<< or >>
<?= is short for what? - answer -<?php echo
Value equality operator (PHP handles data type conversion) "123" === 123 -
answer -==
Value inequality operator (PHP handles data type conversion) "123" != 124 -
answer -!=
Value/type equality operator (Compares values with a type check) 123 === 123
- answer -===
Value/type inequality operator (Compares values with a type check) "123" !==
123 - answer -!==
Array UNION operator - answer -+
pf3
pf4
pf5

Partial preview of the text

Download PHP Zend Certification Exam Questions and Answers and more Exams Nursing in PDF only on Docsity!

PHP Zend Certification questions

bank

Integral numbers are internally converted into what? - answer -bits What is the symbol for the bitwise AND? - answer -& What is the symbol for the bitwise OR? - answer -| What is the symbol for the bitwise XOR? - answer -^ What is the criteria for the bitwise AND? - answer -Matching "1" in both operands. What is the criteria for the bitwise OR? - answer -At least one "1" in an operand What is the criteria for the bitwise XOR? - answer -True only if operands are different What is the symbol to NEGATE BITS? - answer -~ What symbol is used to shift bits? - answer -<< or >>

  • answer -=== Value/type inequality operator (Compares values with a type check) "123" !== 123 - answer -!== Array UNION operator - answer -+
  • Array EQUAL operator - answer -== Array IDENTICAL operator - answer -=== Array NOT EQUAL operator - answer -!= Array NOT EQUAL operator - answer -<> Array NOT IDENTICAL operator - answer -!== Logical operator: $a and $b - answer -BOTH $a AND $b TRUE Logical operator: $a or $b - answer -EITHER $a OR $b TRUE Logical operator: $a xor $b - answer -EITHER $a,$b TRUE; NOT BOTH Logical operator:! $a - answer -$a NOT TRUE Logical operator: $a && $b - answer -BOTH $aAND $bTRUE Logical operator: $a || $b - answer -EITHER $a OR $b TRUE Logical operator: $a ^ $b - answer -EITHER $a,$b TRUE; NOT BOTH EXECUTION OPERATORS USE _______________ TO EXECUTE THE CONTENTS ENCLOSED BY THEM AS A SHELL COMMAND, EQUIVALENT TO shell_exec() - answer -`` Variables are case sensitive (true or false) - answer -true Variables are not case sensitive (true or false) - answer -false Variables can be assigned by value or by reference (true or false) - answer -true Variables can only be assigned by value (true or false) - answer -false Variables can only be assigned by reference (true or false) - answer -false The ______ symbol creates a reference, or alias, and causes both the original variable and alias to point to the same memory value. - answer -& VARIABLE TYPING IS SET AUTOMATICALLY BY THE PHP PARSER AND CALLED - answer -TYPE JUGGLING/COERCION INITIALIZING VARIABLES EMPTY IS A GOOD PRACTICE (true or false) - answer -true

    • CREATE SUB-NAMESPACES TO SUB-DIVIDE A LIBRARY

    FACTORS AFFECTING PERFORMANCE (TWO MAJOR AREAS) - answer -• REDUCED MEMORY USAGE

    • RUN-TIME DELAYS Function world() is defined in the namespace 'myapp\utils\hello'. Your code is in namespace 'myapp'. What is the correct way to import the hello namespace so you can use the world() function? - answer -use myapp\utils\hello Which PHP functions may be used to find out which PHP extensions are available in the system? (Choose 2) - answer -C: get_loaded_extensions() D: phpinfo() What is the name of the error level constant that is used to designate PHP code that will not work in future versions? - answer -E_DEPRECATED Your PHP script is repeatedly parsing 50KB of data returned from a remote web service into browser-readable HTML. Users complain that the script takes a long time to run. Which of the following measures usually leads to the best results? (Choose 2) - answer -C: Cache the data returned by the web service locally D: Upgrade to the latest version of PHP What is the output of the following code? $a = 1; ++$a; $a *= $a echo $a--; - answer -

    When PHP is running on a command line, what super-global will contain the command line arguments specified? - answer -$_SERVER What is the output of the following code?

    - answer -1,1,1,1,1,1,1,1,1,1, What will the following code produce? echo $doc->saveXML(); - answer - What is the name of the method that allows xpath expressions in SimpleXML?

    • answer -xpath What is the XSL extension in PHP doing? - answer -Applying XML transformations What is the output of the following code?
    Leila George
    '; $xmlElement = new SimpleXMLElement($xml); $teens = $xmlElement->xpath('*/child[@age>9]'); print $teens[1]; - answer -Dido