Learn and practice Aptitude questions and answers with explanation for interview, competitive exam (Pariksha Corner )

Thursday, January 23, 2020

The regular expression [ a\b ) { a\b ) denotes the set

The regular expression [ a\b ) { a\b ) denotes the set
A{ a, b }
B{ a, b, ba, bb}
C{ a, b, ab, aa}
D{ aa, ab, ba, bb }

Answer: { aa, ab, ba, bb }

Explanation:

There are two sets {a,b},{a,b}
Keep First variable constant then there is two possibility
{aa}{ab}
Keep Second variable constant then there is two possibility
{ba}{bb}
So there is Total Four Possibility {aa,ab,ba,bb}

Akilesh Kharvi
answered Dec 8 '2016 at 20:10

All Comments

Post your answers here:

Post

Post your comments here:

Post

Categories