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
Joaquin
3 days ago
Agreed, C) initializes the counter.
upvoted 0 times
...
Dolores
8 days ago
I think it's C) i = 1.
upvoted 0 times
...
Chauncey
14 days ago
C) is definitely the right choice!
upvoted 0 times
...
Chana
19 days ago
True, it's all about starting the loop correctly.
upvoted 0 times
...
Lou
24 days ago
D) Var 1 is just declaring, not initializing.
upvoted 0 times
...
Chauncey
29 days ago
Exactly! Initialization is crucial.
upvoted 0 times
...
Novella
1 month ago
A) just increments it, not initializes.
upvoted 0 times
...
Chana
1 month ago
But what about A) i ++?
upvoted 0 times
...
Chauncey
1 month ago
Yeah, that sets the starting point.
upvoted 0 times
...
Novella
2 months ago
I think it's C) i = 1.
upvoted 0 times
...
Clay
2 months ago
D is just a declaration, not an initializer!
upvoted 0 times
...
Kate
2 months ago
Wait, is it really that simple?
upvoted 0 times
...
Talia
2 months ago
I thought it might be A at first, but C makes more sense.
upvoted 0 times
...
Jarod
2 months ago
Totally agree, it's definitely C!
upvoted 0 times
...
Ciara
3 months ago
C) i = 1 initializes the counter.
upvoted 0 times
...
Lavonne
3 months 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
4 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
4 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
5 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