Paper 2 Flashcards

(17 cards)

1
Q

Describe a depth-first search

A
  • goes to left node when it can
  • if there is no left child it goes to the right child
  • when there are no child nodes the algorithm visits it and backtracks to the parent node
  • uses a stack
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe a breadth first search

A
  • visits all nodes connected directly to start node
  • visits all nodes directly connected to each of those nodes
  • uses a queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a computable problem?

A

A problem that can be solved using an algorithm within a finite, realistic amount of time

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

What are the limits to algorithms ?

A
  • processing power
  • processing speed
  • memory size
  • time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a tractable problem?

A

A problem that can be solved in polynomial time or better (n^2)

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

What is the purpose of abstraction and decomposition?

A

To simplify the complexity of a problem

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

Define enumeration

A

Designing an algorithm that performs an exhaustive search and attempts all possible solution until the correct one is found

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

Define a theoretical approach

A

Problems that can be easily represented using mathematical equations

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

Define simulation

A

designing a model of a real system in attempt to understand its behaviour

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

define automation

A

building problem-solving models and putting them into action

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

define performance modelling

A

process of approximating how well models perform using mathematics

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

Describe he benefits of performance modelling

A
  • inexpensive
  • safe
  • less time consuming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

define pipelining

A

splitting a large task into manageable chunks and overlapping these small processes to speed up the overall process

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

define visualisation

A

Creating a mental image of what a program will do or how it will work

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

what is the benefit of visualisation

A

helps identify trends that were not otherwise obvious

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

define data mining

A

analysing vast amounts of data gathered from a variety of sources to discover new information and trends

17
Q

define heuristics

A

an approach to solving problems that allow us to make use of our experience to find a solution that can be considered good enough