github

Made bySaurav Hathi

CSE - Practice Test -58

Q1:

Inherited attribute is a natural choice in

Tags:
Section:
Compiler Design
Options:
Q2:

Inherited attribute is a natural choice in

Tags:
Section:
Compiler Design
Options:
Q3:

Type checking is normally done during

Tags:
Section:
Compiler Design
Options:
Q4:

In Two pass assembler the object code generation is done during the

Tags:
Section:
Compiler Design
Options:
Q5:

In Two pass assembler the object code generation is done during the

Tags:
Section:
Compiler Design
Options:
Q6:

Function of the syntax phase is to

Tags:
Section:
Compiler Design
Options:
Q7:

The process manager has to keep track of

Tags:
Section:
Compiler Design
Options:
Q8:

Assembly code data base is associated with

Tags:
Section:
Compiler Design
Options:
Q9:

In a single pass assembler, most of the forward references can be avoided by putting the restriction

Tags:
Section:
Compiler Design
Options:
Q10:

The method which merges the bodies of two loops is

Tags:
Section:
Compiler Design
Options:
Q11:

Inherited attribute is a natural choice in

Tags:
Section:
Compiler Design
Options:
Q12:

Consider the grammar with the following translation rules and E as the start symbol.

A → A1 #B {A.value = A1.value * B.value}

| B {A.value = B.value}

B → B1 & F {B.value = B1.value + C.value}

|C {B.value= C.value }

C → num {C.value = num.value}.

Compute E.value for the root of the parse tree for the expression:2 # 3 & 5 # 6 &4.

Tags:
Section:
Compiler Design
Options:
Q13:

Shift reduce parsers are

Tags:
Section:
Compiler Design
Options:
Q14:

Which of the following actions an operator precedence parser may take to recover from an error?

Tags:
Section:
Compiler Design
Options:
Q15:

DAG representation of a basic block allows

Tags:
Section:
Compiler Design
Options: