Application Generation Flashcards
(37 cards)
applications definition
a program that can be run on a computer, allowing the user to carry out specific tasks
assembler definition
a translator in low level language, which converts assembly language into machine code
closed source definition
proprietary software sold with a license and restrictions on usage and how many users can use it
code generation definition
the third and final stage of compilation, where an equivalent machine code program is produced
compilation definition
the process of analysing high level language source code and converting it into machine code
compliers definition
a translator that converts high level language to machine code
interpreters definition
a translator which checks a source program for syntax errors line by line, translates it to machine code and executes the line
lexical analysis definition
the first stage of compilation, where extra spaces and comments are removed from source code and it is searched for simple errors.
keywords, constants and variables are replaced by tokens
variable names are loaded into the symbol table
libraries definition
a collection of programs which are already compiled and can be loaded into a program and run whenever required
linkers definition
a program which places the appropriate machine addresses in the call and returns instructions of a compiled program so all the other required object code files and modules are linked together
loaders definition
a program that loads the executable object program and its associated libraries into memory before it is run
open source definition
software whose source code is freely available to view, redistribute or modify
optimisation definition
during code generation, the object code is made as efficient as possible by removing redundancies to produce code that gives the same result
syntax analysis definition
the second stage of compilation, where statements, expression and tokens are checked for syntax errors using syntax diagrams
translator definition
a program which converts code from one computer language to another
utilities definition
system software with a specific purpose usually related to maintenance such as optimising the performance of the computer, diagnosing issues, backing up files, setting up firewalls etc.
what is the difference between applications and systems software
applications software is utilised directly by the end-user whereas systems software ensures the high performance of the computer
give 3 examples of utilities
- compression
- disk defragmentation
- antivirus
- automatic backup
- automatic updating
give one advantage of using closed source code
- thorough, regular and well-tested updates
- expert support and user manuals from company
- high levels of security as it is developed in a professional, controlled environment
state two features of open source code
- does not require a license to be used
- distributed with the source code
- can be modified and sold on
give two advantages of using compiled code over interpreted code
- faster to execute
- does not require compiler to run
give two advantages of using interpreted code over compiled code
- is platform independent
- runs instantly without time waiting for compilation
- useful for debugging
what is assembly language
a low-level language that has almost a one-to-one relationships with machine code
it is platform specific
what are the stages of compilation
lexical analysis
syntax analysis
code generation
optimisation