4.2 Fundamentals of data structures Flashcards

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

What does Abstraction mean

A

Removing unnecessary details, from a problem making a comlex problem simpler

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

What is Representational Abstraction

A

A scenario arrived by removing unnecessary details

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

What is Abstraction by Genralisation

A

When you group things in terms of a set of common characteristics, describing a “kind of” relationship which arrives at a hierarchy where going up you genralise and as you go down you specialise

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

What is Information Hiding

A

The process of hiding all of the details of an object that do not contribute to its essential characteristics

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

How is information hidiing used practically

A

Most systems hide their complexity behind an interface as it provides abstraction of what lies behind, like in an OS which uses a GUI that allows the user to interact with the computer system without any knowledge of its work around

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

What is the advantage of Information hiding and Interfaces

A

1 - Interfaces using information hiding allows the machine to be changed or upgraded without the need to modify the interface

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

What is Procedural Abstraction

A

The result sof abstracting away the actual values used in a computation to create a procedure

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

What is Functional Abstraction

A

Abstraction with disreagard to the computational method which creates a function which only necessitates the number, order and type of inputs to get the results

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

What is the key distinction between Functional and Procedural Programming

A

In functional the particular computational method is hidden

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