Computers: Unit 20 : Programming Languages Flashcards
- What is an instruction set?
The list of all possible comments a particular CPU knows how to carry out.
- What is machine code?
The binary code representing each of the instructions in the instruction set.
- What is translator?
A program that converts source code into machine code.
- What is a source code?
The text of program that the program writes.
- What is an assembler?
Translate the mnemonics of assembly language program into machine language instructions for the microprocessor to carry out.
- What is assembly language?
a low level language written using when a mnemonics.
- What are the two types of programming languages?
- low-level programming language
- high-level programming language
- What is a low-level programming language?
A programming language is closely related to CPU’s machine code.
What is a high level language?
- high level language is the use of human language (standard english) to write a programming code that is executed by the computer
- What is mnemonic?
A short simple acronym that represents each of the instructions in a CPU instruction set.
- What is emulator?
Hardware or software that allows one type of computer system to behave like another.
- What is reboot?
To start a device again.
12.5 what is object code?
- the translated source code. often this will be machine code, but might also be an intermediate code, which has to be further translated and executed one line at a time.
- What are the 3 reasons for writing programs in assembly language is challenging?
- Very limited range of instructions is available.
- You have to mange all your data.(no strings, integer, etc) you have to decide how to represent your data.
- Debugging is difficult. Any bugs may make the machine crash.
How is assembly language used nowadays?
embedded systems
- real-time systems
- operating system development, (where control over the hardware is necessary.)