1. What is the function of a translator in programming?
To optimise the source code for better performance
To compile programs into higher-level languages
To convert high-level language into machine
To interpret human languages for the CPU
2. Can a programming language be both compiled and interpreted?
It depends on the CPU type
Only scripting languages can be both
No, languages are either compiled or interpreted
Yes, all languages can be both