Karteikarten
COMP308 - Chapter 1
Karten in diesem Stapel (2)
- 1Levels of abstraction (think continuum of natural to machine language)Levels of abstraction (think continuum of natural to machine language)
Assembly language is an abstraction of machine language
Imperative languages (FORTRAN, etc.) are abstractions of assembly (problem is that you're modelling the machine not the actual problem - think procedural vs OOP) - 2Five basic characteristics of an OOP1) Everything is an object - Any conceptual component of a problem can be manipulated
2) A program is a bunch of objects telling each other what to do by sending messages
3) Each object has its own memory made up of other objects - Objects can be created by using other objects
4) Every object has a type - Each object is an instance of a class (a class is a synonymous with a type)
5) All objects of a particular type can receive the same message
Informationen
- Beschreibung
- Karteikarten am COMP308 - Chapter 1, erstellt von Will Brooks am 16/02/2017.
- Erstellt von
- Will Brooks · Feb 2017
- Aktualisiert
- 16 Feb 2017
- Aufrufe
- 0
- Tags
- Bewertung