Compiler Design Multiple Choice Questions
Compiler Design Multiple Choice Questions 1) Users write the programs in which language? Low-level Language High-Level Language Decimal-Format Middle-Level Language Answer: b. High-Level Language Explanation: Users write the program in a high-level language because it is easier to use, understand and remember. 2) Which computer program accepts the high-level language and converts it into assembly language? Interpreter Linker Assembler Compiler Answer: d. Compiler Explanation: Compiler is a computer program that accepts the code written in a high-level language and converts that code into the assembly language. 3) Does the compiler program translate the whole source code in one step? No Depends on the Compiler Don't Know Yes Answer: d. Yes Explanation: The compiler is that program which translates the whole high-level code into the machine code at once. 4) Which of the following file is an output of the assembler? Program file Object file Data File Task File Answer: b. Object File E...