1.

Regular expression a/b denotes which of the following set?(a) {a}(b) {€,a,b}(c) {a,b}(d) {ab}The question was asked by my college professor while I was bunking the class.Asked question is from Transformation from NFA to DFA topic in chapter Finite Automata and Regular Expression of Compiler

Answer»

The CORRECT answer is (C) {a,b}

The explanation: EITHER a is the output or b HENCE it’s {a, b}.



Discussion

No Comment Found

Related InterviewSolutions