Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

# CIW Exam 1D0-735 Topic 11 Question 60 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 60
Topic #: 11
[All 1D0-735 Questions]

Consider the following code:

What will be displayed for the computer inventory after the Update Inventory button is clicked twice?

## Contribute your Thoughts:

This is a trick question! The answer is A) 18, because the computer is clearly just out to get us.
upvoted 0 times
Actually, I agree with the user comment, it's A) 18.
upvoted 0 times
...
No, I believe it's C) 20.
upvoted 0 times
...
I think the answer is B) 19.
upvoted 0 times
...
...
Hmm, I'm going to have to step through this code to be sure. But my guess is B) 19.
upvoted 0 times
...
I disagree, I believe the answer is C) 20 because the initial value is 10 and each click adds 2.
upvoted 0 times
...
I'm not sure about this. The increment seems a bit tricky, but I think D) 22 is the right answer.
upvoted 0 times
User3: I'm going with D) 22.
upvoted 0 times
...
User2: I believe it's C) 20.
upvoted 0 times
...
User1: I think the answer is B) 19.
upvoted 0 times
...
...
I think the answer is B) 19 because each click adds 1 to the inventory.
upvoted 0 times
...
Looks like a simple increment problem. The answer is clearly C) 20.
upvoted 0 times
Yeah, the inventory will increase by 2 each time the button is clicked.
upvoted 0 times
...
I agree, it's definitely C) 20.
upvoted 0 times
...
Yes, it's a straightforward increment. C) 20 is the correct answer.
upvoted 0 times
...
Yes, it's a simple increment, the correct answer is C) 20.
upvoted 0 times
...
I agree, the answer is C) 20.
upvoted 0 times
...
I agree, the answer is C) 20.
upvoted 0 times
...
...