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

Arista Exam ACE-P-ALE1.04 Topic 1 Question 75 Discussion

Actual exam question for Arista's ACE-P-ALE1.04 exam
Question #: 75
Topic #: 1
[All ACE-P-ALE1.04 Questions]

Which loop type is the recommended way to iterate over a set of filenames?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Leila
7 days ago
An until loop? Really? That's just weird for this use case. Definitely going with the for loop.
upvoted 0 times
...
Bok
8 days ago
I prefer using a while loop because it gives me more control over the iteration process.
upvoted 0 times
...
Olene
9 days ago
A while loop could work, but it just feels so clunky compared to the elegance of a for loop. That's my pick.
upvoted 0 times
...
Daniel
9 days ago
I agree with Rolande, a for loop is the best choice for iterating over filenames.
upvoted 0 times
...
Maile
10 days ago
I'm pretty sure the for loop is the way to go for iterating over filenames. It's the classic loop for this type of task.
upvoted 0 times
...
Rolande
14 days ago
I think the recommended way is a for loop.
upvoted 0 times
...

Save Cancel