CompTIA ITF+ FC0-U61 Practice Question
Which statement BEST describes the concept of a function within programming?
It is a collection of data, similar to a small database, used for information retrieval and storage.
It is only used for performing arithmetic operations and returning the results.
It is a visual component of a program's interface, responsible solely for rendering images to the screen.
It is primarily a sequence of statements grouped together to perform a task and can be called upon as needed.