Problem Solving & Programming Flashcards

1
Q

List the Steps in the Problem-Solving Process

A
  1. Define the Problem
  2. Propose and evaluate solutions
  3. Determine the best solution
  4. Develop the algorithm
  5. Represent the algorithm
  6. Test and validate the solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Divide-and-conquer

A

a problem-solving strategy that divides complex problems into smaller more easily solvable tasks.

https://www.youtube.com/watch?v=wVPCT1VjySA

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

What are IPO Charts/Diagrams and what are they used for

A

IPO stands for Input/Process/Output

Used to better understand the problem by specifying the components of the problem.

A table showing the
1. the list of desired outputs

  1. the list of inputs needed to obtain the desired outputs
  2. the instructions the computer must follow to transform the inputs into the desired outputs

https://youtu.be/FJV3mj0wz-M?si=RRfuFHvcF8fr5Qap

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

Define the problem

A

Activity: Breaking the problem down into 3 main components

Tool: IPO Chart used to provide a visual representation of the components of the problem

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

Propose and evaluate solutions

A

Activity: brainstorming to
identify alternative solutions to the problem
Evaluate each proposed solution

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

Determine the best solution

A

Determine which solution is the best based on the evaluation of the solutions from the previous step

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

Develop the algorithm

A

Formulate the solution into a set of instructions for the computer to follow

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

Represent the algorithm

A

Rewrite the algorithm either diagrammatically as a flowchart or as a set of numbered step by step instructions

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

Test and validate the solution

A

Tool: Trace table and data set with expected results

Activity: manually step through the algorithm using a set of predetermined data to ensure that the algorithm produces correct results

https://youtu.be/x1FbZImHfVM?si=a_5SzsMzZKHj7Mtf

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