quiz Compiler Design MCQ Practice

corporate_fare Computing and Information Technology
school B.Sc. Computer Science
25 Questions
0 Completed
0 Correct
0 of 25 completed
visibility You're studying as a guest — progress isn't saved. Sign in to track progress
help Question 1
radio_button_unchecked

What is a compiler?

help Question 2
radio_button_unchecked

Which of the following is a stage of compiler design?

help Question 3
radio_button_unchecked

What is the use of a symbol table in compiler design?

help Question 4
radio_button_unchecked

Which of the following error can a compiler check?

help Question 5
radio_button_unchecked

A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?

help Question 6
radio_button_unchecked

Who is responsible for the creation of the symbol table?

help Question 7
radio_button_unchecked

Which of the following is known as a compiler for a high-level language that runs on one machine and produces code for a different machine?

help Question 8
radio_button_unchecked

Which of the following is a system program that integrates a program’s individually compiled modules into a form that can be executed?

help Question 9
radio_button_unchecked

Which of the following is a definition of compiler?

help Question 10
radio_button_unchecked

Which of the following phase of the compiler is Syntax Analysis?

help Question 11
radio_button_unchecked

Which of the following concept of FSA is used in the compiler?

help Question 12
radio_button_unchecked

Which of the following is a part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories?

help Question 13
radio_button_unchecked

Let L1 = {w ∈ {0,1}∗ | w has at least as many occurrences

help Question 14
radio_button_unchecked

What is CFG?

help Question 15
radio_button_unchecked

Which of the following is a correct statement?

help Question 16
radio_button_unchecked

Which of the following is correct regarding an optimizer Compiler?

help Question 17
radio_button_unchecked

Which of the following error can Compiler diagnose?

help Question 18
radio_button_unchecked

In which of the following phase of the compiler is Lexical Analyser?

help Question 19
radio_button_unchecked

Which of the following does an address code involve?

help Question 20
radio_button_unchecked

An object module for a group of programs that were compiled separately is handed to a linker. Which of the following about an object module isn’t true?

help Question 21
radio_button_unchecked

Characters are grouped into tokens in which of the following phase of the compiler design?

help Question 22
radio_button_unchecked

Why Generation of intermediate code based on an abstract machine model is useful in compilers?

help Question 23
radio_button_unchecked

Why System program such as compiler are designed?

help Question 24
radio_button_unchecked

Which of the following technique is used for building cross compilers for other machines?

help Question 25
radio_button_unchecked

Which of the following can detect an error if a programmer by mistake writes multiplication instead of division?