github

Made bySaurav Hathi

CSE - Practice Test -57

Q1:

The idea of cache memory is based ______

Tags:
Section:
Compiler Design
Options:
Q2:

A compiler can check?

Tags:
Section:
Compiler Design
Options:
Q3:

A parser with the valid prefix property is advantageous because it

Tags:
Section:
Compiler Design
Options:
Q4:

Given the following expression grammar:

E → E * F | F+E | F

F → F-F | id

Which of the following is true?

Tags:
Section:
Compiler Design
Options:
Q5:

YACC builds up

Tags:
Section:
Compiler Design
Options:
Q6:

Grammar that produce more than one Parse tree for same sentence is:

Tags:
Section:
Compiler Design
Options:
Q7:

Which of the following grammar rules violate the requirements of an operator grammar?

(i) P → QR

(ii) P → QsR

(iii) P → ε

(iv) P → QtRr

Tags:
Section:
Compiler Design
Options:
Q8:

Which of the following statements is false?

Tags:
Section:
Compiler Design
Options:
Q9:

The RE gives none or many instances of an x or y is

Tags:
Section:
Compiler Design
Options:
Q10:

Parsing is also known as

Tags:
Section:
Compiler Design
Options:
Q11:

For operator precedence parsing, which one is true?

Tags:
Section:
Compiler Design
Options:
Q12:

The symbol table implementation is based on the property of locality of reference is

Tags:
Section:
Compiler Design
Options:
Q13:

The number of tokens in the following C statement is

printf("i = %d, &i = %x", i, &i);

Tags:
Section:
Compiler Design
Options:
Q14:

The output of a lexical analyzer is

Tags:
Section:
Compiler Design
Options:
Q15:

A system program that combines separately compiled modules of a program into a form suitable for execution is

Tags:
Section:
Compiler Design
Options: