GoConqr has a new look! Let us know what you think.

Flashcards

Programming paradigms

James Norman OCR A level Computer Science A level English 8 cards

Cards in this deck (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

Information

Description
A level OCR A level Computer Science (Topic 3 - Software Development) Flashcards on Programming paradigms, created by James Norman on 27/01/2020.
Created by
James Norman
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?