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

Access detailed explanations (illustrated with images and videos) to 2290 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. 3 Year Validity- Access Unlimited Times on Unlimited Devices.

View Sample Explanation or View Features.

Rs. 600.00 -OR-

How to register? Already Subscribed?

Question 1

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

Edit

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

Edit

Question 3

Question MCQ▾

Data (Information) is stored computer as -

Choices

Choice (4)Response

a.

Directories

b.

Floppies

c.

Matter

d.

Files

Edit

Question 4

Appeared in Year: 2015

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.

Edit

Question 5

Appeared in Year: 2015

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

Edit