Compiler Construction MCQs for job

1. The binary of the decimal number 368 is equal to _____.

A. 10111000
B. 111100101
C. 110110000
D. 110110010
E. None of these

Answer - Click Here:
A

2. lexical analyzer produce_____.

A. Tokens
B. parser
C. Regular expression
D. Both A and B
E. None of these

Answer - Click Here:
A

3. compiler writer focus on which thing ?.

A. Data dependence
B. Fast performance
C. Correctness
D. Both A and B
E. None of these

Answer - Click Here:
C

4. Running time of any program based on_____.

A. Addressing mode
B. Order of computations
C. Both A and B
D. All of these

Answer - Click Here:
C

5. in FSA technique, _____ is used in the compiler.

A. Parser
B. Lexical analysis
C. token
D. Both A and C
E. None of these

Answer - Click Here:
B

6. _____ is used to assign local variables.

A. Queue


B. token
C. Registers
D. Stack
E. All of these

Answer - Click Here:
D

7. A latch include on _______gates.

A. NAND and NOR
B. AND
C. AND OR
D. Both A and B
E. None of these

Answer - Click Here:
A

8. ________are also called Lexemes.

A. Identifiers
B. Keywords
C. Both A and B
D. None of these

Answer - Click Here:
C

9. Compiler indicates _____errors.

A. logical errors
B. syntax
C. Grammatical
D. Both A and B
E. None of these

Answer - Click Here:
C

10. one of the best parser is ______.

A. Cononical LR
B. SLR
C. Both A and B
D. None of these

Answer - Click Here:
A

Computer Science Repeated MCQs Book Download

Add a Comment