Created by Anisha Rai
over 8 years ago
|
||
Question | Answer |
What is machine code? | The only language that the CPU of a computer understands |
What are the instructions - opcodes and operands - represented by? | Strings of bits 1 and 0 digits |
Does every processor type have its own unique instruction set? | Yes |
Is it difficult for humans to learn strings of bits? | Yes |
Is writing, testing and debugging fast or slow? | Very slow |
What is used in assembly language to represent opcodes? | Mneumonics |
Why is assembly language called a low-level language? | The instructions are similar to those used in machine code There is a one-to-one relationship |
What are high-level languages similar to? | Human languages |
Why are high-level languages better to use? | Quicker to write, test and debug programs |
Why are translators used? | To translate the instructions the language used into machine code for the CPU it will be running on |
What does an assembler do? | Translates code written in assembly language into machine code |
What are the two ways of translating high-level languages into machine code? | Compiler - translates all of the high-level code into a complete machine code program, which is output as a new file and can be saved Interpreter - translates the high-level code one instruction at a time at runtime |
Want to create your own Flashcards for free with GoConqr? Learn more.