Please enable JavaScript.
Coggle requires JavaScript to display documents.
Translators etc (High-level code (One instruction represents many low…
Translators etc
High-level code
-
-
Code resembles speech, and can thus easily be read, understood and modified
-
No direct control over CPU, so programs will be less memory efficient, and slower
Complier
-
-
-
Compliation takes a while, but execution later is very fast
-
Low-level code
Only works for one type of system architecture, and thus the programmer must have adequate knowledge of the internal structure, and memory structure
Very difficult to read, understand and modify - mistakes can be made, and not found easily
-
Has direct control over the CPU, and is thus more efficient
Validation/Testing
-
Errors
-
Logic - the code can be run, but the output/action is unexpected
More difficult to diagnose - the code will still be translated, so they must be found through usage and testing (the output won't make sense)
Test data
Normal - the data should be accepted, and would reflect a user's typical input
-
-
Subroutines
-
-
Scope
Local - these are variables which are declared within a structure (e.g. a subroutine, and are invisible outside
Limited memory usage (efficient), and are unaffected/don't affect anything outside
-
-