Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 4 Question 77 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 77
Topic #: 4
[All 200-710 Questions]

What is the output of the following code?

echo 0x33, ' monkeys sit on ', 011, ' trees.';

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Jacklyn
2 months ago
I'm not sure, but I think the answer is B) 51 monkeys sit on 9 trees.
upvoted 0 times
...
Craig
2 months ago
I agree with Paulina, because 0x33 is equivalent to 51 in decimal and 011 is equivalent to 9.
upvoted 0 times
...
Dolores
2 months ago
Hmm, this is a tricky one. I'm leaning towards B, but I might need to phone a friend to be sure.
upvoted 0 times
...
Luke
3 months ago
C is the funniest answer, though not the right one. Where's the fun in just printing the numbers?
upvoted 0 times
Nina
2 months ago
C) monkeys sit on trees.
upvoted 0 times
...
Elly
2 months ago
B) 51 monkeys sit on 9 trees.
upvoted 0 times
...
Lajuana
2 months ago
A) 33 monkeys sit on 9 trees.
upvoted 0 times
...
...
Paulina
3 months ago
I think the output is A) 33 monkeys sit on 11 trees.
upvoted 0 times
...
Lyndia
3 months ago
D is the answer for sure. Hex and octal literals are printed as is, no conversion. I aced this type of question in my last exam!
upvoted 0 times
Ricarda
1 months ago
Nice job acing that type of question in your last exam!
upvoted 0 times
...
Azalee
1 months ago
You're correct, D is the answer. Hex and octal literals are printed as is.
upvoted 0 times
...
Fannie
2 months ago
No, it's D) 0x33 monkeys sit on 011 trees.
upvoted 0 times
...
Andree
2 months ago
I think it's A) 33 monkeys sit on 11 trees.
upvoted 0 times
...
...
Felix
3 months ago
Option B seems correct, but I'm unsure about the hex and octal conversion. I'll have to double-check my notes on that.
upvoted 0 times
Dierdre
2 months ago
I'm not sure about the hex and octal conversion either. Let's review our notes.
upvoted 0 times
...
Truman
3 months ago
I think it's A) 33 monkeys sit on 11 trees.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77