Problem Solving Flashcards

1
Q

What is a problem

A

A problem is a discrepancy between what is required and what exists.

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

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

Steps in Problem Solving

A
  1. Define the problem
  2. Propose and analyse solutions
  3. Determine the most efficient solution
  4. Develop and represent the algorithm
  5. Test and validate the solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Defining diagram

A

a table used to show what a algorithm should look like

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

Define a variable

A

a named storage location whose contents can be change

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

Define a constant

A

a data item with name and value that remains the same during the execution of a program

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

Literal

A

A literal is a value written exactly as it is meant to be interpreted

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