What is meant by a computable problem?
a problem that can be solved using an algorithm, must be solvabel is finite, reasonable period of time and will usually have imputs, outputs and calculations
What are 3 limiting factors to computable problems?
time
computer memory
processing power
What are 2 factors which may be considered during the problem definition phase?
What is the name given to the process where problems are continually broken down until each subproblem can be represented as a subroutine?
problem decomposition
What are 3 purposes of problem decomposition?
How does divide and conquer technique work? (3 steps)
What are 3 applications of divide and conquer?
merge sort
quick sort
binary search
What type of programming construct do many problems using divide and conquer use?
recursion
What type of abstraction is used to group together sections of problems based on their functionality?
abstraction by generalisation
What are 3 problem solving techniques?
pipelining
abstraction
divide and conquer
backtracking
visualitation
data mining
heuristics
How does the backtracking algorithm work? (2 steps)
by methodically visiting each path and building a solution based on the paths to be correct
if a path is found to be invalid at any point, it backtracks to the previous stage and visits an alternate path
When might heuristics be used in problem solving?
when the standard way to solve the problem is unreasonably time-consuming or resource-intensive (intractable)
What are 3 advantages of using performance modelling?
safe
relatively inexpensive
less time-consuming
What is pipelining? (2 things)
a process where tasks are developed in parallel
in pipelining, the output of one process becomes the input of another, resembling a production line