🎴 Flashcard Mode
PowerShell Programming and Automation
Card1 / 20
Mastered0
Review0
QuestionClick to flip
What is a loop ?
AnswerClick to flip back
A
A segment of code to be run a specified amount of times
💡 Explanation:
A loop is a programming construct that repeats a block of code multiple times based on a condition or counter. It allows efficient execution of repetitive tasks without writing the same code repeatedly. Option A is incorrect as loops are not applets. Option C describes infinite loops which are a special case not the general definition.