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

Flashcards

1.2.4 Types of programming language

Ben Rawlins Computer Science A level English 32 cards

Cards in this deck (32)

  1. 1Programming paradigm,An approach to solve problems by using programming languages
  2. 2Assembly language,use mnemonics, instructions vary for each processor, controlled so less memory consumption higher efficiency.
  3. 3Procedural paradigm,instructions are given in sequence, can be grouped into subroutines
  4. 4Object-orientated paradigm,solution is represented by objects
  5. 5Functional paradigm,the problem is built up through a collection of functions, some can call other functions
  6. 6Declarative paradigm,the characteristics of a solution are stated, rather than stating how the problem is solved
  7. 7What does machine code use to represent instructions and data,Uses binary sequences to represent instructions (opcodes) and data (operand)
  8. 8ADD,adds
  9. 9SUB,subtracts
  10. 10STA,stores the value of the accumulator to memory
  11. 11LDA,Loads value from memory to accumulator
  12. 12BRA,Branches always
  13. 13BRZ,Branches if the value is 0
  14. 14BRP,Branches if the value is positive
  15. 15INP,input
  16. 16OUT,outputs
  17. 17HLT,Ends program
  18. 18DAT,data location
  19. 19Memory addressing,Different ways of referring to locations
  20. 20Symbolic addressing,refers to memory locations using names
  21. 21Direct addressing,the address given is the locations of the data used
  22. 22Indirect addressing,the address given is the memory location that holds the location of the data
  23. 23Indexed addressing,the value given is added to the value stored in the index register to give the memory location
  24. 24Immediate addressing,the address given is the required value, not the location
  25. 25Classes,template used to define an object and specifies its attributes and methods
  26. 26Object,an instance of a class
  27. 27Attribute,Variables contained within and associated to an object
  28. 28Method,sub-routine associated with an object
  29. 29Encapsulation,Private attributes can only be amended through public methods, prevents it being directly manipulated
  30. 30Inheritance,A class that inherit the methods and attributes of a parent class
  31. 31Polymorphism,objects of different classes that have the same method can be treated the same way
  32. 32Overriding,A subclass has a method of the same name as a method in the parent class, the subclass’s method takes precedence

Information

Description
A level Computer Science Flashcards on 1.2.4 Types of programming language, created by Ben Rawlins on 09/04/2024.
Created by
Ben Rawlins
Views
2
Rating

More on Programming Language Types and Generations

Feedback

What is it about?

What do you think of the new look?

How do you like it?