Problem Solving Flashcards
1
Q
What is a problem
A
A problem is a discrepancy between what is required and what exists.
2
Q
What is a solution
A
A solution is a procedure consisting of a set of instructions that, if followed in order, achieve the required result.
3
Q
Steps in Problem Solving
A
- Define the problem
- Propose and analyse solutions
- Determine the most efficient solution
- Develop and represent the algorithm
- Test and validate the solution
4
Q
Defining diagram
A
a table used to show what a algorithm should look like
5
Q
Define a variable
A
a named storage location whose contents can be change
6
Q
Define a constant
A
a data item with name and value that remains the same during the execution of a program
7
Q
Literal
A
A literal is a value written exactly as it is meant to be interpreted