Compilers Test Online Exam Quiz

Compilers Test GK Quiz. Question and Answers related to Compilers Test. MCQ (Multiple Choice Questions with answers about Compilers Test

The set of all strings over ? = {a,b} in which all strings having bbbb as substring is?

Options

A : (a+b)* bbbb (a+b)*

B : (a+b)* bb (a+b)*bb

C : bbb(a+b)*

D : bb (a+b)*

View Answer

Which of the following regular expression denotes zero or more instances of an a or b?

Options

A : a/b

B : (a/b)*

C : (ab)*

D : a*Ib

View Answer

The set of all strings over ? = {a,b} in which strings consisting a’s and b’s and ending with in bb is?

Options

A : ab

B : a*bbb

C : (a+b)* bb

D : All of the mentioned

View Answer

The set of all strings over ? ={a,b} in which a single a is followed by any number of b’s a single b followed by any number of a’s is?

Options

A : ab* + ba*

B : ab*ba*

C : a*b + b*a

D : None of the mentioned

View Answer

The string (a)|((b)*(c)) is equivalent to ______________

Options

A : Empty

B : abcabc

C : b*c|a

D : None of the mentioned

View Answer

Which of the following identity is true?

Options

A : ? + RR* = R* = ? + R*R

B : (R1R2)*R1 = R1 (R2R1)*

C : R*R* = R*

D : All of the mentioned

View Answer

If L1 and L2 are regular languages is/are also regular language(s).

Options

A : L1 + L2

B : L1L2

C : L1

D : All of the mentioned

View Answer

If P, Q, R are three regular expressions and if P does not contain a then the equation R = R + RP has a unique solution given by?

Options

A : R = QP*

B : R = P*Q

C : R = RP

D : None of the mentioned

View Answer

Regular expressions are used to represent which language?

Options

A : Recursive language

B : Context free language

C : Regular language

D : All of the mentioned

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Compilers Symbol Table Organization 1

Compilers Syntax Analyser 1

Compilers Syntax Analyser 2

Compilers Syntax Directed Definitions Translations 1

Compilers Syntax Directed Definitions Translations 2

Compilers Three Address Statements 1

Compilers Three Address Statements 2

Compilers Top Down Parsing 1

Compilers Top Down Parsing 2

Compilers Transformation From Nfa Dfa 1