1.2.2 Applications Generation Flashcards
(16 cards)
Applications Software
() Performs one specific task
() Requires systems software to be able to run
Examples: Word processing, spreadsheets, web browsers
Systems software
() Manages computer resources
() Ensures consistently high performance
Examples: Utility programs, operating system, device drivers
Officially recognised application packages:
Word Processor
Database software
Presentation software
Email software
Graphics manipulation
Web browser
Utilities
() Maintains high-performing operating system
() Each utility has a specific function
Utility examples
Compression
Disk Defragmentation
Automatic Updating
Automatic Backup
Open source vs Closed source defintions
Open source:
() Can be used without a licesnce
() Distributed with source code
Closed source:
() User must hold correct liscense
() Users cannot access source code
Closed source vs open source eval
Open:
+ Improved on by community effort
+ No restriction for users
- Inadequate support (No user manuals)
- Lower security
Compiler
() Translate all at once
+ Can be run without translator
- Initial process is longer
Interpreter
() Translate and execute line by line
() Produce error if a line contains an error
+ Useful for testing
- Slower
Assembler
Assemlby code:
() Translate assembly code into machine code
Translators
Convert source code into object code
Stages of compilation:
Lexical Analysis:
() Keywordws and identifiers are replaced with tokens
() Information about tokens is stored in token table
() Whitespace and comments removed
Syntax:
() Errors are flagged
() Tokens are analysed against rules of programming
() AST produced
Code generation:
() Create OBJECT CODE using AST
Optimisation:
() Redundant parts are removed
() Aims to reduce execution time
Linkers:
Software that links moduales and libraries included in the code
Static vs Dynamic linking
Static:
() Code is coped directly into file
() Combined at compile time
Dynamic:
() Addresses of modules are added to the file
() Combined at run time
Loaders
Programs provided by operating system
Fetches the module from the given memory location
Library Adv
() Error-free
() Save time and effort
() Can be reused