What is a compiler?
1
A compiler does a conversion line by line as the program is run
2
A compiler converts the whole of a high-level program code into machine code in one step
3
A compiler is a general-purpose language providing very efficient execution
4
None of these