github

Made bySaurav Hathi

CSE - Practice Test -56

Q1:

A programmer, by mistakes writes a program to multiply two numbers instead of dividing them, how can this error be detected

Tags:
Section:
Compiler Design
Options:
Q2:

The lexical analyzer takes_________as input and produces a stream of_______as output.

Tags:
Section:
Compiler Design
Options:
Q3:

The output of lexical analyzer is

Tags:
Section:
Compiler Design
Options:
Q4:

(2FAOC) 16 is equivalent to _____

Tags:
Section:
Compiler Design
Options:
Q5:

Which of the following is not a weighted code?

Tags:
Section:
Compiler Design
Options:
Q6:

Which of the following type of software should be used if you need to create, edit and print document?

Tags:
Section:
Compiler Design
Options:
Q7:

Which loader function is accomplished by loader?

Tags:
Section:
Compiler Design
Options:
Q8:

A grammar for a programming language is a formal description of

Tags:
Section:
Compiler Design
Options:
Q9:

A compiler can check?

Tags:
Section:
Compiler Design
Options:
Q10:

Given the following statements:

(i) Recursive enumerable sets are closed under complementation.

(ii) Recursive sets are closed under complements.

Which is/are the correct statements?

Tags:
Section:
Compiler Design
Options:
Q11:

The language accepted by a Push down Automata:

Tags:
Section:
Compiler Design
Options:
Q12:

Grammars that can be translated to DFAs:

Tags:
Section:
Compiler Design
Options:
Q13:

Automaton accepting the regular expression of any number of a ‘ s is ________.

Tags:
Section:
Compiler Design
Options:
Q14:

Recursively enumerable languages are not closed under:

Tags:
Section:
Compiler Design
Options:
Q15:

Consider the grammar given below E? E+E | E*E | E-E | E/E | E^E | (E) | id Assume that + and ^ have the same but least precedence, * and / have the next higher precedence but the same precedence and finally ^ has the highest precedence. Assume + and ^ associate to the left like * and / and that ^ associates to the right. Choose the correct for the ordered pairs (^,^) , (-,-) , (+,+) , (*,*) in the operator precedence table constructed for the grammar

Tags:
Section:
Compiler Design
Options: