Flashcards
Computer science theory cards
Flashcards do conjunto (15)
- 1Characteristics of High level code- Similar to a Natural human language by using easy to understand functions
- Perform hard tasks with simple instructions - 2Characteristics of Low level code- Do not resemble naturals languages
-Made up of bit patterns patterns which
can be executed directly by the computer - 3Compilers-Converts high-level code into machine code for execution
-Entire program is converted - 4Lexical Analysis- Comments and unneeded spaces are removed
- Keywords and identifiers are replaced by 'tokens' - 5Symbol table constructionA symbol table is created which holds the addresses of variables, labels and subroutines
- 6Syntax analysisTokens are checked to see if the Grammar is correct for the program
if syntax errors are found, error messages are produced - 7Semantic analysisVariables are checked to ensure that they are the correct data type
Variables are check to ensure they have been properly used - 8Code GenerationMachine code is generated
- 9Code OptimisationIt is employed to make code more efficient and less resource using intensive
- 10Syntax ErrorsCome around when there is invalid code
Identified by the Compiler which tells you where it is - 11Logic ErrorsHardest to fix
No programming mistakes have been made... The program just doesn't do what you want it to do. - 12Runtime ErrorThere is no invalid code so the program compiles without any errors.
The error comes when the code tries to run - 13Linking ErrorsHappens when you have linked an external library or function, and that function
- 14Rounding ErrorsAt various points in the program.. numbers are rounded which decreases accuracy making the result, sometimes, be off
- 15Truncation ErrorsComputers have finite numbers of bits allocated to each variable
Sometimes a value needs to be stored that does not fit within the required number of bits.
Some of the value gets “chopped off”, or truncated.
Informações
- Descrição
- Year 10 Computing FlashCards sobre Computer science theory cards, criado por Big Will Mablonga em 29-03-2019.
- Criado por
- Big Will Mablonga
- Visualizações
- 0
- Avaliação