Multiple choice technology programming languages

A function is:

  1. An entity that receives inputs and outputs

  2. A way of storing values

  3. A sequence of characters enclosed by quotes

  4. A kind of computer

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A function, in programming and mathematics, is fundamentally an entity that receives input values and produces output values based on a defined relationship or transformation. This definition applies across programming paradigms - functions map inputs to outputs. Options B, C, and D describe variables, strings, and hardware respectively, which are not functions.