Flashcards
U4 Flashcards
Flashcards do conjunto (35)
- 1High Level Languages-resembles natural language
-errors less likely
-commands perform complex instructions
-can't be executed by a CPU (translation)
-best for complex apps where speed is not critical - 2Low Level Languages-uses instruction set of CPU
-hard to understand/read
-hard to find errors
-efficient due to direct execution
-best for interfacing directly with hardware or when speed/memory use is critical - 3Assemblers-translates assembly to machine code
-operators and operands replaced by binary equivalents - 4Compilers-translates high level code all at once
-machine code file can only be executed by compatible computers
-no source code distribution
-fast execution - 5Interpriters-translates high level code line by line
-programs run on any computer
-easy to find runtime errors
-source code is distributed
-slower execution - 6Syntax Errors-text does not match valid syntax
- 7Runtime Errors-program tries to perform an impossible operation
- 8Logical Error-program does not run as expected
- 9Linking Error-program tries to import a function from a nonexistent file
- 10Rounding Error-a value is rounded and therefore loses accuracy
- 11Truncation Error-data must be truncated (shortened) to fit
-can result in inaccurate values or missing text - 12Stages Of Compilation OrderLexical Analysis
Symbol Table Construction
Syntax Analysis
Semantic Analysis
Code Generation
Code Optimisation - 13Lexical Analysis (SoC)-comments and unneeded spaces are removed
-keywords, constants and identifiers are replaced by tokens - 14Symbol Table Construction (SoC)-a table is created to hold addresses of variables, labels and subroutines
- 15Syntax Analysis (SoC)-tokens are checked to see is they match the expected syntax
-error messages are produced is errors are found - 16Semantic Analysis (SoC)-variables are checked to see if they're used correctly and the right data types
-operations are checked to ensure they're legal - 17Code Generation (SoC)-machine code is generated
- 18Code Optimisation (SoC)-code can be optimised to make it more efficient, faster or less resource intensive
- 19Operating Systems- software interfacing with the hardware of a computer
-provides common services for other software - 20Managing Peripherals and Printing (OS)- OS does the work of interfacing with different hardware
-print spoolers queue print jobs until the printer is available - 21Managing Backing Stores and Memory (OS)-backups of important data to external devices/the cloud
-memory is split into pages for each app - 22Managing Processes and Security (OS)-OS divides up CPU time between multiple processes, allowing multitasking
-memory paging, user authentications and permissions - 23Providing an Interface (OS)-provides a GUI and/or CLI for easy ue of the system
- 24IDEs-software assisting with developing programs
- includes features like editors and automatic formatting, line numbering and colour coding - 253 typical features of an IDE editor-automatic formatting
-automatic line numbering
-automatic colour coding - 26IDEs highlight...-routines and subroutines
-standard functions
-syntax errors - 27Loaders infoseparate code files can be organised and leaded
- 28Debuggers infosteps through code line by line
- 29Error Diagnostics infowhen errors occur, the IDE will attempt to provide support
- 30Trace info-a log of user inputs, variable changes and other events
-helps with finding logic errors - 31Break Points infoexecution pauses at specified points to help with debugging
- 32Variable Watch infoshows the contents of every variable in real time as the program runs (or during debugging)
- 33Memory Inspector infoshows exact contents of memory locations within the computer
- 34Statement Compilation infothe IDE suggests how a statement/function might be written and what variables may be passed to it
- 35Code Optimisation infothe IDE suggests changes to the code that make it more efficient
Informações
- Descrição
- GCSE Computing FlashCards sobre U4 Flashcards, criado por A Tomalin em 08-03-2022.
- Criado por
- A Tomalin · mar 2022
- Atualizado
- 10 mai 2022
- Visualizações
- 0
- Avaliação