Unit 1 Flashcards

1
Q

What is a data structure?

A

A collection of data organised in a particular way.

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

What is a computational problem?

A

A problem that is expressed sufficiently precisely that it is possible to attempt to build an algorithm to solve it.

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

Is an algorithm a finite or an infinite process?

A

Finite - it is guaranteed to finish at some point.

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

What makes a problem computable?

A

If an algorithm can be found which solves the problem.

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

What is a key property of an algorithm?

A

It consists of a step-by-step list of instructions.

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

Does an algorithm need to solve every instance of a problem?

A

Yes. If an algorithm does not solve every instance of a problem, then it is not an applicable solution to the problem.

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

What is a computable problem?

A

A problem that is expressed sufficiently precisely that it is possible to build an algorithm to solve every instance of the problem in a finite number of steps.

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

What is an abstract data type?

A

A logical description of the data used to solve a problem (a data structure) - by the operations that may be performed on it and by the pre- and post-conditions of those operations.

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

How is an abstract data type implemented?

A

Using a data structure which provides a physical description of the data being used.

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

What is a decision problem?

A

A problem where the answer is either yes or no.

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

What word describes a decision problem that is computable?

A

Decidable.

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

What is an effective procedure?

A

An algorithm which solves a decision problem in a finite number of steps.

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

What word describes a decision problem that is not computable?

A

Undecidable.

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

What is computational thinking?

A

The ability to analyse a problem with the techniques and skills that computer science puts at our disposal.

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

What skill does being able to formulate a problem as a computational problem demonstrate?

A

Computational thinking.

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

What skill does being able to construct a computational solution, or explain why there is no computational solution, demonstrate?

A

Computational thinking.

17
Q

A mathematical model automates an …?

A

Automaton.

18
Q

An automaton tells us more about a …?

A

Physical-world phenomenon.

19
Q

A physical-world phenomenon creates an abstraction of a …?

A

Mathematical model.

20
Q

Name the two types of abstraction.

A

Abstraction as modelling and abstraction as encapsulation.

21
Q

A part of reality is represented by a …?

A

Model.

22
Q

A model ignores details of …?

A

A part of reality.

23
Q

An interface hides detail from …?

A

The implementation.

24
Q

An implementation depends on …?

A

The interface.

25
Q

What is meant by encapsulation?

A

Hiding details of an implementation from users.