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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the divide and conquer programming approach?

A

A large problem is divided into several smaller problems that are easily solved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly