9.1 Algorithms And Problem Solving Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is abstraction

A

The process of simplifying a complex process by focussing on the most important parts. For example a map or model

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

What are the types of abstraction

A

Data allocation, encapsulation, modularisation, function abstraction

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

What is data Abstraction

A

The representing of complex entities or data structures into a simplified manner through classes and objects

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

What is encapsulation

A

Gathering of related operation or data into a single unit. E.g a class

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

What is function abstraction

A

The combining of instructions into a function which can be reused throughout projects, creating modularity and reuseability

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

What is modularisation

A

Breaking down a programme into smaller modules/components

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

What is decomposition

A

The breaking down of a complex problem into smaller, more manageable steps, making it easier to solve

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

What is decomposition

A

The breaking down of a complex problem into smaller, more manageable steps, making it easier to solve

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

What is one method of decomposition

A

Stepwise refinement = involves breaking down a problem into its primary problems and steps, in which then each of these steps/problems involves their own break down and steps. E.g making a cup of tea involves many steps like boiling a kettle. This method creates a binary tree looking shape

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

Why is decomposition effective

A
  • its breaks down complicated problems down into similar steps
  • makes is easier to understand the overall objectives of a problems
  • easier to incorporate into coding, each problems can be represented by modularisation e.g classes and function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an algorithm

A

A set of instructions to solve a problem that are unambiguous

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

How is an algorithm created

A

By splitting a task into individual steps, both humans and computers use algorithms, computers algorithms most be unambiguous, and precise.

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