Ch. 6: Functions 6.1: Focus on Software Engineering: Modular Programming Flashcards
1
Q
What is a function?
A
A function is a collection of statements that perform a specific task.
2
Q
What is the divide and conquer programming approach?
A
A large problem is divided into several smaller problems that are easily solved.
3
Q
What is the benefit of code reuse?
A
You are writing the code to perform a task once, then reusing it each time you need to perform the task.