2.1.1 Thinking Abstractly Flashcards

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

What is representational abstraction?

A

A technique in which excessive details are removed to arrive at a representation of a problem that consists of only the key features.

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

Which form of abstraction involves grouping together similarities within a problem to identify what kind of problem it is?

A

Abstraction by generalisation

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

What is meant by data abstraction?

A

A form of abstraction in which details about how data is being stored are hidden.

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

What kind of problems make use of multiple levels of abstraction?

A

Large, complex problems.

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

How does abstraction allow non-experts to make use of a system?

A

Hides complex and irrelevant information in abstract models.

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

State two advantages of using abstraction in software development.

A

Two from:

  • Easier for programmers to focus on core elements.
  • Reduces the time needed to be spent on the project.
  • Prevents program from getting unnecessarily large.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give two applications of layers of abstraction.

A
  • Networking (TCP/IP layer)

- Programming languages

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

State two advantages of using abstraction in programming languages.

A
  • Easier to remember syntax in high-level languages as it is closer to natural language.
  • Coding becomes accessible to beginners.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does object-oriented programming use abstraction?

A

Objects are an abstraction for real-world entities.
Attributes are an abstraction for the characteristics of an object.
Methods are an abstraction for the actions a real-world object is able to perform.

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

What is the difference between abstraction and reality?

A

Abstraction is a simplified representation of reality

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