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

Karteikarten

OCR A-Level Computer Science from 2015 - Chapter 8 (Applications Generation)

Tyrone Muriithi Computer Science A-Level Englisch 4,7Durchschnittliche Bewertung 4,7 von 5 (3 Bewertungen) 21 Karten

Karten in diesem Stapel (21)

  1. 1What is a translatorA program that converts source code into machine code
  2. 2What is a mnemonicA memory device; something that makes difficult things easier to remember
  3. 3What is an assemblerA program that converts assembly language into object
  4. 4What is an interpreterA program that converts high-level language into machine code and runs it line by line
  5. 5Advantage of an interpreterUseful for debugging a program ca start running straight away and will stop at a line if it finds an error
  6. 6Disadvantage of a interpreterAn interpreted program runs slowly. Every time the program is run, the user has to wait for translation of each line as well as the execution
  7. 7What is a compilerA program that takes a program written in a high-level language and converts it to object code
  8. 8Advantages of a compiled program-Much faster than an interpreted program
    -Reduces risk of plagiarism because compiled code is not human-readable
  9. 9What are the 4 stages of compilation1)Lexical Analysis
    2)Syntax Analysis
    3)Code Generation
    4)Optimisation
  10. 10What is involved within the first stage of compilation-All comments and whitespace are removed from the program
    -High-level code is turned into a series of tokens
  11. 11What is a reserved wordA word that has a special meaning in the programming language and as such cannot be used as a variable name.
    Examples in many languages include if, else, while and for
  12. 12What is involved in the second stage of compilationThe compiler checks that the code that has been written uses a valid syntax
    This stage will also produce an abstract syntax tree from the tokens that will represent the program
  13. 13What is involved in the third stage of compilationThe compiler converts the abstract syntax tree into object code
  14. 14What is involved in the fourth stage of compilationThis stage involves improving the code to make it run as quickly as possible or with using as little memory as possible
  15. 15How is the code changed in the fourth stage of compilationIf the optimiser finds lines of code which have no effect on the program, they are removed
    It can also replace instructions or groups of instructions with better alternatives
  16. 16What is a libraryA collection of precompiled routines that a program can use
  17. 17Examples of librariesOpenGL, OpenSSL and Havok
  18. 18What is a linkerA program that combines library code with the compiled code to produce a final single executable program
  19. 19What is Static LinkingAll the library code needed is put directly into the program when it is compiled. This means that the final program can be large in size
  20. 20What is Dynamic learningWhen compiled versions of the library are stored and the operating system links a program to them when it is run
  21. 21What is a loaderA part of the operating system that is responsible for loading a program into memory

Informationen

Beschreibung
OCR A-Level Computer Science from 2015 - Chapter 8 (Applications Generation)
Erstellt von
Tyrone Muriithi
Aufrufe
312
Bewertung
Durchschnittliche Bewertung 4,7 von 5 (3 Bewertungen)

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck