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

Flashcards

SLR 5 - Application Generation

Declan Gallagher English 21 cards

Cards in this deck (21)

  1. 1Utility SoftwareSystem Programs which perform specific tasks in a computer system
  2. 2Examples of Utility SoftwareAnti-Virus
    Defragmentation
    Compression
    File Managers
    Firewalls
    Backup Software
  3. 3Closed Source SoftwarePaid software which is distributed and owned by a company
    Often have proprietary file types as well
  4. 4Closed Source: Advantages and Disadvantages+ Free updates
    + Consumers can trust the application
    +Often well thought out
    - Paid
    - Cannot be edited
    - Closed source file types can only be used for specific applications
  5. 5Open SourceFree software which has the source code freely available to distribute and modify
  6. 6Open Source: Advantages and Disadvantages+Often Free
    + Can be edited by anyone
    +Shareable
    +Open File Types
    -Anyone can change it
    -Lack of quality consistency
    -Poorly implemented features
  7. 7TranslatorsPrograms which converts source code into machine code
  8. 8Source CodeCode which the programmers originally created for an application
    -Easier for programmers to use
    -High Level Language
    -CPU cannot understand code in this form
  9. 9Machine CodeA simplified language which the CPU can understand and carry out
  10. 10AssemblersConvert low level assembly language directly into machine code
    Assembly -> Assembler -> Machine Code
  11. 11InterpretersConverts high level languages directly into machine code
    -Useful for debugging
    -Needs access to the source code every time to run
    -Executes slowly (one line at a time)
  12. 12Stages of Compilation1. Lexical Analysis
    2. Syntax Analysis
    3. Code Generation
    4. Code Optimisation
  13. 13Lexical Analysis-All comments and whitespace are removed
    -Remaining code is turned into tokens
    -A symbol table is created
    (Includes information about variables, data types etc.)
  14. 14Syntax Analysis-Syntax of the code is checked against the rules of the language
    -Abstract syntax tree is created
    - If the code breaks the syntax an error is created
  15. 15Code GenerationSyntax tree is converted into object code
  16. 16Code Optimisation-Optimised to run as fast as possible
    -Redundant code is removed
  17. 17LibrariesPrecompiled and pretested collections of code which can be imported/referenced and used within codes
  18. 18LinkersLinks library code which has been used within the application
  19. 19Static Linking- All of the code is stored in one place
    - The used library code is complied into the same file as the rest of the code
    - Takes up more space as code is injected every time the library is used
    -Simplest way of linking
  20. 20Dynamic LinkingLibrary code is stored in a separately compiled file (.dll)
    The main code then links to the separate library file
    More space efficient as library code only needs to be compiled once
  21. 21LoadersLoads programs into the memory so it can be executed by the processor

Information

Description
Flashcards on SLR 5 - Application Generation, created by Declan Gallagher on 13/01/2020.
Views
8
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?