Karteikarten
OOP - Programming Paradigms
Karten in diesem Stapel (31)
- 1What is a Programming Paradigm?A fundamental style in computing
- 2Procedural Programming What was it traditionally used for?Structuring Computer Programs
- 3Paradigms What are the 4 paradigms?- Procedural
- Functional
- Logical
- Object Oriented - 4Procedural Programming What is top-down programming?Start with the full problem and break it down into manageable chunks
- 5Procedural Programming Common languages?- Pascal
- C - 6Procedural Programming Concentration is focused on the _____ rather than the _____problem rather than the data
- 7Procedural Programming If data is changed by one of the procedures then this may...have a knock on effect for the rest of the program
- 8Procedural Programming In the large scale, programs may be difficult to _____maintain
- 9Procedural Programming Give an example of a Kernel that still employs procedural ProgrammingLinux
- 10Functional Programming How does this treat computation?The evaluation of mathematical functions
- 11Functional Programming It emphasises the definition of _____ while ignoring _____ whereas procedural programming emphasises the execution of _____ commandsIt emphasises the definition of FUNCTIONS while ignoring STATE whereas procedural programming emphasises the execution of SEQUENTIAL commands
- 12Logical Programming Based on the mathematical ideas of _____ and _____ inference.relations and logical inference
- 13Logical Programming Basically, it is a database of _____ and _____ _____ which describe the relationships that hold for the given applicationBasically, it is a database of FACTS and LOGICAL RELATIONSHIPS which describe the relationships that hold for the given application
- 14OOP Closely models...the way humans think about and deal with the real world
- 15OOP Software systems are viewed as a community of _____ that cooperate with each other by passing _____Software systems are viewed as a community of OBJECTS that cooperate with each other by passing MESSAGES
- 16OOP The goal is to build software _____, _____, and _____quickly, correctly, and economically
- 17OOP Objects (or classes) are _____ software componentsreusable
- 18OOP What can be represented as attributes?Nouns
- 19OOP Why bother? (3)1) Reusable
2) Increased Productivity
3) Easier to understand, correct and modify - 20OOP Reuse can lead to more _____ and _____ systemsreliable and effective
- 21OOP What is a method call?Sending messages to an object
- 22OOP When are the attributes considered?Design Time
- 23OOP What is an instance variable?Attributes declared in a class but outside a method
- 24OOP Encapsulation What is it?Classes ENCAPSULATE attributes and methods
- 25OOP Encapsulation Objects communicate with one another bug normally don't allow each other to know how each other is _____implemented
- 26OOP Encapsulation Implementation Details are _____hidden
- 27OOP Inheritance What is it?A subclass inherits the characteristics of an existing class
- 28OOP Inheritance The subclass can _____ the inherited characteristics and add news onescustomize
- 29OOP Wrap Up What are the most common paradigms?- Procedural
- OO - 30OOP Increases _____, _____, more reliable _____reuse, efficiency, and more reliable programs
- 31Key Concepts 1) C_____ 2) O_____ 3) E_____ 4) M_____ 5) I_____ V_____ 6) I_____Key Concepts
1) Classes
2) Objects
3) Encapsulation
4) Methods
5) Instance Variables
6) Inheritence
Informationen
- Beschreibung
- Masters Programming I Karteikarten am OOP - Programming Paradigms, erstellt von nhunsdale02 am 05/06/2014.
- Erstellt von
- nhunsdale02
- Aufrufe
- 39
- Bewertung