Programming languages + IDE's Flashcards
What is machine code
A low level code, represented in either binary or hex. It is the language of instructions which tell the computer what to do
What does a high level programming language mean
Languages which are close to spoken and written language of the programmer
Example of a high level programming language
Python, java, C++
Benefits of a high level programming language
- Easy for programmers to understand
- Contains words from natural language / quicker to type
What is source code
Any program written in a high level programming language
It must be translated into machine code before the computer can understand and execute it
What does a low level programming language mean
Languages that sit close to the computers instruction set
Examples of low level programming language
- Machine code
- Assembly language
What is machine code
The instructions that a processor can understand and act upon
Advantages of using machine code
- Allows programmers to do things which but not be able to be done in a high level programming language
- they can build their own complex sentences or keep programs short and simple
Disadvantages of using machine code
- Very difficult to write in, understand and debug as it consists of binary or hexadecimal
What is assembly code
Uses mnemonics, each mnemonic corresponds with a machine code instruction.
It is known as a one-to-one language
Why is assembly code better than machine code
Mnemonics are much easier to understand and debug, gives programmers a simpler way of controlling a computer
Advantages of assembly code
- Mnemonics are quicker to write than binary or hex and easier to spot mistakes
What must source code be translated into so the computer can understand it
Object code
What are the 3 types of translators
- Compliers
- Interpreters
- Assemblers