Programming languages and Integrated Development Environments Flashcards
What’s an example of a high and low level language?
High - python
Low - Assembly
What is the purpose of low level languages?
When a program needs to be executed quickly or when programmers need a code that directly interacts with the hardware
What is low level languages instructions to machine code?
Don’t resemble natural human language
One instruction translates to one machine code
What is the purpose of high level language?
Leads to less mistakes and more powerful and complex commands
What is high level languages instructions to machine code?
Commands like english
One instruction translates to many instructions
What type of processor can high level languages run on?
Can be run on different types of processors
What type of processor can low level languages run on?
Only one specific type of processor
What is the data structure for a high level language?
Doesn’t directly work with memory
What is the data structure for a low level language?
Works with memory directly
What is the ease for coding in high level language?
Easy to write and understand
What is the ease for coding in low level language?
Difficult to write and understand
What is the memory efficiency of high level languages?
Less memory efficient
What is the memory efficiency of low level languages?
More memory efficient
What is the speed of execution for a high level language?
Slower as it can’t be directly accessed by the CPU
What is the speed of execution for a low level language?
Faster