Podcast
Questions and Answers
Which of the following best describes a function?
Which of the following best describes a function?
- A data structure that stores multiple values
- A variable that stores a value
- A set of instructions that performs a specific task (correct)
- A mathematical equation
What is the purpose of a function?
What is the purpose of a function?
- To perform calculations (correct)
- To control program flow
- To display information on the screen
- To store data
Which of the following is NOT a characteristic of a function?
Which of the following is NOT a characteristic of a function?
- Encapsulation
- Abstraction
- Polymorphism (correct)
- Reusability