CompTIA ITF+ FC0-U61 Practice Question
Which of the following best describes the use of a function in a programming language?
A single line in a program that the computer reads and executes immediately
A container used to store multiple values of the same type, accessing them with an index
A section of code that is executed repeatedly, either a set number of times or until a certain condition is met
A block of code designed to perform a particular task, which can be executed when the function is called