Home > MCQs > IT & Programming > Compiler Design MCQs

Compiler Design MCQ

Quizack’s Compiler Design MCQs test covers a wide range of topics. Ultimately, Quizack has made every working professional and student able to prepare instantly for the upcoming assessment. Compiler Design multiple choice questions have been chosen from best reference books, online tests, and worldwide practical techniques. More importantly, Quizack is going to feed this exceptional knowledge via integrated online testing tools. 

 

Compiler Design Quick Quiz

Question 1 of 10
  • Which of the following is NOT a valid Common Lisp symbol name?

    Answer & Explanation

    Correct Answer: #?#

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following options is NOT a technique used in "peephole optimization" of the generated code in a compiler?

    Answer & Explanation

    Correct Answer: Optimization of the generated code by performing branching analysis algorithms which take target machine characteristics into account

    Note: This Question is unanswered, help us to find answer for this one

  • What does it mean if when an algorithm "A", belongs to the O(n) algorithms:

    Answer & Explanation

    Correct Answer: None of the above

    Note: This Question is unanswered, help us to find answer for this one

  • What is amortized analysis is used for?

    Answer & Explanation

    Correct Answer: To find out the average algorithm performance in worst case

    Note: This Question is unanswered, help us to find answer for this one

  • Is it possible to prove the theoretical stability (that is, prove that a collection algorithm will work as expected) of a garbage collector used in conjunction with C language?

    Answer & Explanation

    Correct Answer: It is not possible to prove the theoretical stability of any garbage collector type.

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following is NOT a characteristic of a greedy algorithm?

    Answer & Explanation

    Correct Answer: A greedy algorithm always gives an optimal problem solution.

    Note: This Question is unanswered, help us to find answer for this one

  • When does a memory leak happen?

    Answer & Explanation

    Correct Answer: It happens when memory is still marked as used even after the object has been deleted.

    Note: This Question is unanswered, help us to find answer for this one

  • What is a generated code optimization method which is NOT suitable for use in a compiler?

    Answer & Explanation

    Correct Answer: Code branching prediction

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following sorting algorithms has average speed estimation defined as : O(n)?

    Answer & Explanation

    Correct Answer: All of the above

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following is NOT a Common Lisp equality test predicate?

    Answer & Explanation

    Correct Answer: e

    Note: This Question is unanswered, help us to find answer for this one

  • Compiler Design Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.