GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Programming paradigms

James Norman OCR A level Computer Science A level Englisch 8 Karten

Karten in diesem Stapel (8)

  1. 1List of programming paradigms1. Procedural
    2. Object-oriented
    3. Declarative
    4. Functional (beyond scope of A-level)
    5. Assembly
  2. 2Procedural paradigmContains built-in data types (e.g. int, float, string, char, etc.)
    Operates in a step-by-step manner
    Takes in data at one end and outputs the result at the other
    Data and instructions are treated as separate entities
  3. 3Advantages of procedural paradigmEasy to understand
    Abstracts low-level code
    Some reusable components
  4. 4Disadvantages of procedural paradigmDifficult to reuse large chunks of code
    Not as efficient as low-level languages
    Poor at handling fuzzy conditions
  5. 5Object-Oriented programming (OOP)Uses objects representing real-world or abstract things
    Objects are defined using classes, with attributes (data) and methods (operations on the data)
    Objects are reusable and portable
  6. 6Advantages of OOPMost of the code written is reusable
    Classes can be treated as black boxes, so other developers only need to know functionality rather than exact details
    Code is portable
  7. 7Disadvantages of OOPSteep learning curve - becoming proficient in OOP languages is hard
    Not as efficient as low-level code
  8. 8Declarative programmingStatements are written to solve a problem
    Language determines how to execute the statement

Informationen

Beschreibung
A level OCR A level Computer Science (Topic 3 - Software Development) Karteikarten am Programming paradigms, erstellt von James Norman am 27/01/2020.
Erstellt von
James Norman
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck