CompTIA
SK0-005 · Question #517
Which of the following should a server administrator use when writing a script with a function that needs to be run ten times?
The correct answer is A. Loop. A loop is a programming construct used to repeat a block of code multiple times. In this case, if a function needs to run ten times, a loop (such as a for loop or while loop) would be the appropriate
Server administration
Question
Which of the following should a server administrator use when writing a script with a function that needs to be run ten times?
Options
- ALoop
- BVariable
- CComparator
- DConditional
How the community answered
(36 responses)- A86% (31)
- B8% (3)
- C3% (1)
- D3% (1)
Explanation
A loop is a programming construct used to repeat a block of code multiple times. In this case, if a function needs to run ten times, a loop (such as a for loop or while loop) would be the appropriate
Topics
#Scripting#Loops#Automation#Programming Constructs
Community Discussion
No community discussion yet for this question.