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 1D0-735 Exam - Topic 1 Question 96 Discussion

Considering the following code:Var 1 ;For (I = 1; I < 10; I ++)What part of the code fragment initializes the counter variable?
C) i = 1;
A) i ++
B) i < 10;
D) Var 1;

CIW 1D0-735 Exam - Topic 1 Question 96 Discussion

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

Considering the following code:

Var 1 ;

For (I = 1; I < 10; I ++)

What part of the code fragment initializes the counter variable?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Novella
4 days ago
I think it's C) i = 1.
upvoted 0 times
...
Clay
9 days ago
D is just a declaration, not an initializer!
upvoted 0 times
...
Kate
14 days ago
Wait, is it really that simple?
upvoted 0 times
...
Talia
19 days ago
I thought it might be A at first, but C makes more sense.
upvoted 0 times
...
Jarod
25 days ago
Totally agree, it's definitely C!
upvoted 0 times
...
Ciara
30 days ago
C) i = 1 initializes the counter.
upvoted 0 times
...
Lavonne
1 month ago
I keep mixing up the parts of the loop. I want to say option C is right, but I’m not completely confident. I should double-check my notes!
upvoted 0 times
...
Kaitlyn
3 months ago
I practiced a similar question before, and I think it was about the loop structure. I feel like option B might be important for the loop condition, not initialization.
upvoted 0 times
...
Fairy
3 months ago
I'm not entirely sure, but I remember something about initialization being the first assignment. So, maybe it's also related to option D?
upvoted 0 times
...
Dana
3 months ago
I think the counter variable is initialized in option C, where it says i = 1. That seems to be the starting point.
upvoted 0 times
...

Save Cancel