Statements A and B refer to two different types of program translator.
| Program Code P | Program Code Q | Program Code R |
|---|---|---|
width = 5 | MOV R1, #5 | 0101 0001 0000 0101 |
height = 10 | MOV R2, #10 | 0101 0010 0000 1010 |
area = width * height | MUL R3, R1, R2 | 0110 0011 0001 0010 |
Statement A: This type of translator scans the entire high-level source code (such as Program Code P) in one go and translates it into a standalone machine-code executable file, which can then be executed directly by the CPU.
Statement B: This type of translator is used to convert the low-level assembly code in Program Code Q to the binary machine code in Program Code R.
Identify the program translator referred to in:
Statement A
Statement B