Compiler Design [GATE (Graduate Aptitude Test in Engineering) Computer Science]: Questions 1 - 5 of 50

Access detailed explanations (illustrated with images and videos) to 2122 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 1

Compiler Design

Question

MCQ▾

Which of the following is not a lexical analyzer or lexical generator?

Choices

Choice (4)Response

a.

Lexx +

b.

Quex

c.

JavaCC

d.

None of the above

Question 2

Question

MCQ▾

Which of following menu types is also called a drop down menu?

Choices

Choice (4)Response

a.

Pull-down

b.

Pop -up

c.

Fly-out

d.

Cascading

Question 3

Question

MCQ▾

Data (Information) is stored computer as -

Choices

Choice (4)Response

a.

Directories

b.

Floppies

c.

Matter

d.

Files

Question 4

Compiler Design

Appeared in Year: 2015 (UGC-NET)

Question

MCQ▾

Which of the following statements is false? (December)

Choices

Choice (4)Response

a.

Bottom-up parsers are in the LR family, where L stands for left-to-right scan and R stands for rightmost derivation

b.

Top-down parsers are LL parsers where first L stands for left-to-right scan and second L stands for a leftmost derivation.

c.

The class of context-free languages is closed under reversal. That is, if L is any context-free language, then the language } is context free.

d.

(000) ⚹ is a regular expression that matches only strings containing an odd number of zeroes, including the empty string.

Question 5

Compiler Design

Appeared in Year: 2015 (UGC-NET)

Question

MCQ▾

The language of all non-null strings of a՚s can be defined by a context free grammar as follow:

S ⇾ a S S a a

The word a3 can be generated by ________ different trees. (December)

Choices

Choice (4)Response

a.

Five

b.

Three

c.

Two

d.

Four

Developed by: