Site icon T4Tutorials.com

Compiler Construction Multiple Choices Questions

1. : Breaking of character sentences is referred to using which term?

(A) Packets


(B) Groups


(C) Tokens


(D) None of these



2. : Execution time dropped a total of ______ clock cycles.

(A) 3


(B) 7


(C) 9


(D) All of these



3. : _______ is used to convert high-level language into a low-level language.

(A) Assembler


(B) Interpreter


(C) Compiler


(D) Both A and B



4. : An important phase of structured grammar is _____.

(A) Context-free


(B) Regular


(C) Context-sensitive


(D) Both A and B



5. : One of the phases of the analysis part is _____.

(A) Linear Analysis


(B) Backtracking


(C) Ambiguity


(D) None of these



6. : The following are problems of top-down parsing:

(A) Backtracking


(B) Context-sensitive


(C) Ambiguity


(D) Both A and C



7. : What are the various types of intermediate code representation?

(A) Three address code


(B) Postfix


(C) Syntax tree


(D) All of these



8. : YACC stands for _______.

(A) Yet Another Compiler Construction


(B) Yet Another Compiler Compiler


(C) Yet Another Compiler Code


(D) None of these



9. : Important issues in parsing are ______.

(A) Specification of syntax


(B) Representation of input after parsing


(C) Both A and B


(D) None of these



10. : Some compiler construction tools are _____.

(A) Parser generators


(B) Syntax-directed translation engines


(C) Both A and B


(D) None of these



Computer Science Repeated MCQs Book Download

Exit mobile version