Compiler Design MCQ Questions

Compiler Design MCQ Questions

  • Sharad Jaiswal
  • 22nd Dec, 2021

Practice here the best Compiler Design MCQ Questions for your basic knowledge of Compiler Design. This Compiler Design MCQ Test contains 20+ Compiler Design Multiple Choice Questions. You have to select the right answer to every question to check your final preparation for Compiler Design MCQ Interview or Exams.

Practice Best Compiler Design MCQ Questions

1) Regular Expression Matching Zero are:

  • A. @
  • B.#
  • C.*
  • D.&

2) Storage mapping is done by

  • A. Loader
  • B.Linker
  • C.Compiler
  • D.Operating system

3) Copy of data in cache memory is called________

  • A. Execution cache
  • B.Address cache
  • C.Data cache
  • D.Control cache

4) Instruction always starts with state

  • A. 0
  • B.1
  • C.2
  • D.3

5) Full form of PLA in CU

  • A. Programmable Logic Accumulator
  • B.Programs Load Array
  • C.Progrmmable Logic Array
  • D.all of these

6) E-mail addresses separate the user name

  • A. *
  • B.@
  • C.#
  • D.%

7) Types of loop control statements are:

  • A. For loop
  • B.While loop
  • C.Do-while loop
  • D.All of the above

8) Cache memory is located between main memory and_____

  • A. Memory
  • B.compiler
  • C.CPU
  • D.None of the above

9) The translator used by second generation languages_______

  • A. Assembler
  • B.Linker
  • C.Interpreter
  • D.Compiler

10) A Pixel is_____

  • A. Computer program that draws picture
  • B.Smallest resolvable part of a picture
  • C.Picture stored in secondary memory
  • D.None of the above

11) Microinstruction executions are:

  • A. Generate a control signal to compile
  • B.Generate a control signal
  • C.Generate a control signal to execute
  • D.All of these

12) The subroutines are determined by functioning of ________instructions:

  • A. SCAL
  • B.SXIT
  • C.CPU
  • D.Both A & B

13) Which of the following is a read only memory storage device

  • A. Hard Disk
  • B.CD-ROM
  • C.Floppy Disk
  • D.Both A & B

14) What is the meaning of a Compiler?

  • A. Boolean algebra
  • B.Digital machine to store information
  • C.Translator to convert source program into object code
  • D.Name given to the computer operator

15) The method which merges the bodies of two loops is

  • A. Constant folding
  • B.Loop unrolling
  • C.Loop jamming
  • D.None of the above

16) A optimizing compiler

  • A. Executable Program
  • B.Binary code
  • C.Algorithm
  • D.None of the above

17) Compiler translates the source code to_________

  • A. Machine code
  • B.Binary code
  • C.Algorithm
  • D.Both A & B

18) How many parts of compiler are there.

  • A. 2
  • B.4
  • C.8
  • D.16

19) What is the output of lexical analyzer?

  • A. Syntax
  • B.Context free
  • C.source code
  • D.list of tokens

20) Compiler can check

  • A. Syntax error
  • B.Run Time error
  • C.code error
  • D.None of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.