github

Made bySaurav Hathi

CSE - Practice Test -55

Q1:

Which of the following conversion is not possible (algorithmically)?

Tags:
Section:
Compiler Design
Options:
Q2:

If P & R are regular and also given that if PQ=R, then

Tags:
Section:
Compiler Design
Options:
Q3:

Assume the statements S1 and S2 given as:

S1: Given a context free grammar, there exists an algorithm for determining whether L (G) is infinite.

S2: There exists an algorithm to determine whether two context free grammars generate the same language.

Which of the following is true?

Tags:
Section:
Compiler Design
Options:
Q4:

An FSM with

Tags:
Section:
Compiler Design
Options:
Q5:

Number of states of FSM required to simulate behaviour of a computer with a memory capable of storing “m” words, each of length ‘n’

Tags:
Section:
Compiler Design
Options:
Q6:

Regular expression (x/y)(x/y) denotes the set

Tags:
Section:
Compiler Design
Options:
Q7:

What is the maximum number of reduce moves that can be taken by a bottom-up parser for a grammar with no epsilon- and unit-production (i.e., of type A → εand A → a) to parse a string with n tokens?

Tags:
Section:
Compiler Design
Options:
Q8:

The production Grammar is {S→aSbb,S→abb} is

Tags:
Section:
Compiler Design
Options:
Q9:

A system program that brings together separately compiled modules of a program into a form language that is suitable for execution

Tags:
Section:
Compiler Design
Options:
Q10:

__________ was developed from the beginning as a cross compiler

Tags:
Section:
Compiler Design
Options:
Q11:

A system program that brings together separately compiled modules of a program into a form language that is suitable for execution ___________.

Tags:
Section:
Compiler Design
Options:
Q12:

A compiler program written in a high level language is called _________.

Tags:
Section:
Compiler Design
Options:
Q13:

What constitutes the stages of the compilation process?

Tags:
Section:
Compiler Design
Options:
Q14:

Cross-compiler is a compiler _____________.

Tags:
Section:
Compiler Design
Options:
Q15:

A compiler for a high-level language that runs on one machine and produces code for a different machine is called

Tags:
Section:
Compiler Design
Options: