2.2.2 computational methods flashcards
what is meant by a computable problem?
a problem that can be solved using an algorithm
give 3 limiting factors to computable problems
processing power, processor speed, computer memory, time
state 2 factors which may be considered during the problem definition phase
strengths and weaknesses of current solution
what is the name given to the process in which problems are continually broken down until each subproblem can be represented as a subroutine?
problem decomposition
state 2 purposes of problem decomposition
develop sections in parallel, faster project delivery
describe how the divide and conquer technique works
the problem size is halved with every iteration. each individual subproblem is then solved recursively. the solutions to the subproblems are then recombined to form the final solution to the problem
give 2 applications of divide and conquer
merge sort, binary search, quick sort
which programming construct do many problems solved using divide and conquer use?
recursion
what is representational abstraction?
a computational technique in which excessive details are removed to simplify a problem
what type of abstraction is used to group together sections of the problem based on their functionality
abstractions by generalisation
state 2 problem solving techniques
back tracking, data mining, abstraction, divide and conquer
describe how backtracking works?
The backtracking algorithm works by methodically visiting each path and building a solution based on the paths found 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.
what might heuristics be used in problem solving?
when the standard way to solve the problem is unreasonably time consuming or resource-intensive
state 2 advantages of using performance modelling
safe, less time consuming
what is pipelining?
A process in which tasks are developed in parallel. The output of one process in pipelining becomes the input of another, resembling a production line