Week 3 Chapter 5 Flashcards

1
Q

Q: What is a computational problem?

A

A: A problem that requires a computer to solve using a logical approach, with a solution readable by both humans and computers.

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

Q: What are the types of computational problems?

A

Decision Problem: Yes or No solution.
Search Problem: Result is a string.
Counting Problem: Involves the number of solutions.
Optimization Problem: Seeks the optimal solution

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

Q: What is the difference between computational thinking and programming?

A

Programming: Tells the computer what to do.
Computational Thinking: Focuses on how to express the problem to the computer and how to solve it.

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

Q: What is the first cornerstone of computational thinking?

A

A: Decomposition: Break the problem into smaller, manageable parts.

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

Q: What is the second cornerstone of computational thinking?

A

A: Pattern Recognition: Identify patterns or similarities in smaller parts.

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

Q: What is the third cornerstone of computational thinking?

A

A: Abstraction: Focus on key elements and remove unnecessary details.

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

Q: What is the fourth cornerstone of computational thinking?

A

A: Algorithmic Thinking: Develop a clear step-by-step method to solve the problem.

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

Q: How do the cornerstones of computational thinking help solve problems?

A

A: They guide the process by breaking down problems, recognizing patterns, focusing on essentials, and creating structured solutions.

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