Computational Methods Flashcards

1
Q

What is meant by a computable problem

A

A problem that can be solved using an algorithm

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

Give three limiting factors to computable problems

A
  • Processing Power
  • Processor Speed
  • Computer Memory
  • Time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

State two factors which may be considered during the Problem Definition phase

A
  • Strengths and weaknesses of current solution
  • Volume
  • Type
  • Frequency
  • Nature of Input
    Outputs
    Stored Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the name given to the process in which problems are continually broken down until each subproblem can be represented as a subroutine

A

Problem decomposition

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

State two purposes of problem decomposition

A
  • Identify sections which can make use of pre-coded modules or libraries
  • Save timecoding
  • Simplify project management
  • Simplify testing and maintenance
  • Faster project delivery
  • Develop sections in parallel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe how the divide and conquer technique works

A

The problem size is halved with every iteration. Each individual subproblem is then solved recursively. The solution to the subproblems are then recombined to form the final solution to the problem.

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

Give two applications of divide and conquer

A
  • Merge sort
  • Binary search
  • Quick sort
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which programming construct do many problems solved using Divide and Conquer use

A

Recursion

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

What is representational abstraction

A

AA computational technique in which excessive details are removed to simplify a problem.

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

What type of abstraction is used to group together sections of the problem based on their functionality

A

Abstraction by generalisation

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

State two problem solving techniques

A
  • Backtracking
  • Data mining
  • Abstraction
  • Divide and conquer
  • Visualisation
  • Performance modelling
  • Pipelining
  • Visualisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe how backtracking works

A

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 alternative path.

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

When might heuristics be used in problem-solving?

A

When the standard way to solve the problem is unreasonably time-consuming or resource-intensive

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

State two advantages of using performance modelling

A
  • Safe
  • Relatively inexpensive
  • Less time-consuming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is pipelining?

A

When ones processes output is another processes input.

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

What is the name given to the technique used to identify patterns and trends in large sets of data?

A

Data mining

17
Q

What is the name given to the technique used to identify patterns and trends in large sets of data?

A

Data mining

18
Q

Evaluate how you can use data mining to inform future changes to improve a circus game. (Knowledge)

A

Data mining is a technique used to identify patterns or outliers in large sets of data

19
Q

Evaluate how you can use data mining to inform future changes to improve a circus game. (Application)

A
  • sets of data can be checked to see how long people are spending on certain things on the game to see what people are liking and disliking, this would be a great way to see what to work on next.
20
Q

Evaluate how you can use data mining to inform future changes to improve a circus game. (Evaluation)

A

As its data mining a game the data set is going to be large which is needed for datamining. Datamining allows the business to reliable information which can be used to:
- Add new features
- Advertisement focus
etc.

21
Q

what is an advantage of pipelining?

A

reduces the processor’s cycle time

22
Q

what is an drawback of pipelining?

A

Designing of the pipelined processor is complex.

23
Q

how can pipelining suite a program?

A

It can improve a programs performance by increasing its processing speed.
Pipelining splits a programs tasks into smaller sub-tasks and executes them in parallel, allowing for efficient utilization of the processing resources and overall reducing execution times.

24
Q

Explain why pipelining can improve the performance of the processor

A

The processor is more efficiently utilizised as, as one instruction is being fetched one is being decoded etc.