2.5 Programming Languages and Integrated Development environments Flashcards
High-level programming language characteristics
Used by humans
Same code works for many machines
Programmer can easily store data
Code is easy to read
Must be translated before a computer can understand it
Less memory efficient and slower
Low-level programming language characteristic
Written for one type of machine
Need to understand components
Code is difficult to read
No need for translation
More memory efficient and faster
2 types of translator
Compiler
Interpreter
What do compilers do
Translate high-level code into machine code
What do interpreters do
Take high-level instructions and use machine code-subroutes to carry out each line
Compiler vs interpreter properties
Comp Int
Translates all at once Translates by line
Used once Used every time to run
Returns a list of errors Stops at first error
Quicker Slower
What is IDE
A software that provides features to help a programmer code.
Tools in an IDE
Code editor
Error diagnostics
Run-time environment
Translator
Line number tracker