Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  GATE Computer Science Engineering(CSE) 2025 Mock Test Series  >  Test: Compiler Design - 2 - Computer Science Engineering (CSE) MCQ

Test: Compiler Design - 2 - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Test: Compiler Design - 2

Test: Compiler Design - 2 for Computer Science Engineering (CSE) 2024 is part of GATE Computer Science Engineering(CSE) 2025 Mock Test Series preparation. The Test: Compiler Design - 2 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Compiler Design - 2 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Compiler Design - 2 below.
Solutions of Test: Compiler Design - 2 questions in English are available as part of our GATE Computer Science Engineering(CSE) 2025 Mock Test Series for Computer Science Engineering (CSE) & Test: Compiler Design - 2 solutions in Hindi for GATE Computer Science Engineering(CSE) 2025 Mock Test Series course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Compiler Design - 2 | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study GATE Computer Science Engineering(CSE) 2025 Mock Test Series for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Compiler Design - 2 - Question 1

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

Detailed Solution for Test: Compiler Design - 2 - Question 1

No Logical errors can’t be detected.

Test: Compiler Design - 2 - Question 2

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

Detailed Solution for Test: Compiler Design - 2 - Question 2

The Canadian Cross is a technique for building cross compilers for other machines. Given three machines X, Y, and Z, one uses machine X (e.g. running Windows XP on an IA-32 processor) to build a cross compiler that runs on machine Y (e.g. running Mac OS X on an x86-64 processor) to create executables for machine Z.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Compiler Design - 2 - Question 3

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

Detailed Solution for Test: Compiler Design - 2 - Question 3

Intermediate code generator receives input from its predecessor phase, semantic analyzer, in the form of an annotated syntax tree.

Test: Compiler Design - 2 - Question 4

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

Detailed Solution for Test: Compiler Design - 2 - Question 4

Gives tokens as output

Test: Compiler Design - 2 - Question 5

Which of the following is a stage of compiler design?

Detailed Solution for Test: Compiler Design - 2 - Question 5

The phases of a compiler are:
1. Lexical analysis
2. Syntax analysis
3. Semantic analysis
4. Intermediate code generator
5. Code optimizer
6. Code generator

Test: Compiler Design - 2 - Question 6

Which of the following error can a compiler check?

Detailed Solution for Test: Compiler Design - 2 - Question 6

Logic flaws can never be checked by a compiler.

Test: Compiler Design - 2 - Question 7

Who is responsible for the creation of the symbol table?

Detailed Solution for Test: Compiler Design - 2 - Question 7

The compiler generates a symbol table, which contains a list of lexemes or tokens.

Test: Compiler Design - 2 - Question 8

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

Detailed Solution for Test: Compiler Design - 2 - Question 8

A loader that combines the functionality of a relocation loader with the ability to combine a number of independently compiled program segments.

Test: Compiler Design - 2 - Question 9

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

Detailed Solution for Test: Compiler Design - 2 - Question 9

It is the Second Phase of the Compiler after Lexical Analyzer. It is also called Hierarchical Analysis or Parsing.

Test: Compiler Design - 2 - Question 10

Which of the following error can Compiler diagnose?

Detailed Solution for Test: Compiler Design - 2 - Question 10

Only syntactical errors can be detected by the compiler.

55 docs|215 tests
Information about Test: Compiler Design - 2 Page
In this test you can find the Exam questions for Test: Compiler Design - 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Compiler Design - 2, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)