PHP Certification - Zend Certified Engineer Exam
Below is a sample question from PHP 5 certification practice test.
Let us test your PHP knowledge on Arithmetic and Bitwise Operators
What is the output of the following script?
$a = 10;
$b = 20;
$c = 4;
$d = 8;
$e = 1.0;
$f = $c + $d * 2;
$g = $f % 20;
$h = $b - $a + $c + 2;
$i = $h < < $c;
$j = $i * $e;
print $j;
Try not to run the script for the answer. Please post your answers as comments
Good Luck!!
Spread the word
del.icio.us Digg Furl Google StumbleUpon Technorati Windows Live Yahoo! Help











4 Comments on PHP Certification - Zend Certified Engineer Exam »
Mukund Ranjan @ 3:09 pm:
Thanks.. good question.. Can we continue posting, as i am preparing for ZCE..
The answer is 256.
Administrator @ 9:54 pm:
Hello Mukund,
Great, you’ve got the correct answer. I will be posting more here about ZCE, so just visit often. btw, thanks for visiting and commenting on my blog.
Abubakr @ 5:33 am:
Hey, These questions and more are found with the typical answers in the Zend PHP5 Certification study guide.
abc @ 4:11 am:
according to me answer is 0 how it is 256? please explain