Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Zend Discussions
Exam 200-710 Topic 8 Question 86 Discussion
Zend Exam 200-710 Topic 8 Question 86 Discussion
Actual exam question for Zend's 200-710 exam
Question #: 86
Topic #: 8
[All 200-710 Questions]
What is the output of the following code?
echo "1" + 2 * "0x02";
A
1
B
3
C
5
D
20
E
7
Show Suggested Answer
Hide Answer
Suggested Answer:
A
by
Rodolfo
at
Mar 04, 2025, 06:37 AM
Limited Time Offer
25%
Off
Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Charlie
1 months ago
Is this a test of my mental arithmetic skills or something? I'm just gonna guess... option A. Why not, right?
upvoted
0
times
Barrett
7 days ago
User1: Nope, the correct answer is option E because of the way the code is evaluated.
upvoted
0
times
...
Kristofer
9 days ago
User2: Really? I thought it was option B.
upvoted
0
times
...
Eleonora
1 months ago
User1: It's not option A, it's actually option E.
upvoted
0
times
...
...
Amira
2 months ago
Aha! I know this one. The answer is C, 5. Piece of cake!
upvoted
0
times
Stevie
5 days ago
It's actually D) 20. You need to remember the order of operations.
upvoted
0
times
...
Owen
8 days ago
Really? I thought it was C) 5.
upvoted
0
times
...
Colette
13 days ago
No, the correct answer is E) 7.
upvoted
0
times
...
...
Angella
2 months ago
Whoa, wait a minute. Is this some kind of trick question? I'm gonna go with option E, just to be safe.
upvoted
0
times
...
Susana
2 months ago
A classic PHP gotcha! I'm going with option D. 20 all the way, baby!
upvoted
0
times
Jestine
1 months ago
Oh, I see. So the answer is E) 7. Thanks for the explanation!
upvoted
0
times
...
Blair
2 months ago
It's actually 7. PHP converts the string '0x02' to its hexadecimal value before multiplying.
upvoted
0
times
...
...
Chaya
2 months ago
Hmm, this is a tricky one. Let me think... Okay, I'm going with option B. It's gotta be 3, right?
upvoted
0
times
Thad
1 months ago
User 4: Me too, option B seems right.
upvoted
0
times
...
Lenna
1 months ago
User 3: I'm not sure, but I'll go with 3 as well.
upvoted
0
times
...
Regenia
1 months ago
User 2: Yeah, that makes sense.
upvoted
0
times
...
Dorothea
2 months ago
User 1: I think it's 3 too.
upvoted
0
times
...
...
Ty
2 months ago
I'm not sure, but I think the correct answer is C) 5 because 2 * 2 is 4 and adding 1 gives 5.
upvoted
0
times
...
Pearlie
2 months ago
I believe it's E) 7 because 2 * 0x02 is 4 in hexadecimal.
upvoted
0
times
...
Von
2 months ago
I think the answer is B) 3.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
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
Charlie
1 months agoBarrett
7 days agoKristofer
9 days agoEleonora
1 months agoAmira
2 months agoStevie
5 days agoOwen
8 days agoColette
13 days agoAngella
2 months agoSusana
2 months agoJestine
1 months agoBlair
2 months agoChaya
2 months agoThad
1 months agoLenna
1 months agoRegenia
1 months agoDorothea
2 months agoTy
2 months agoPearlie
2 months agoVon
2 months ago