adplus-dvertising
frame-decoration

Question

Which of the regular expressions corresponds to the given problem statement:
P(x): Express the identifiers in C Programming language

l=letters

d=digits

a.

(l+_)(d+_)*

b.

(l+d+_)*

c.

(l+_)(l+d+_)*

d.

(_+d)(l+d+_)*

Answer: (c).(l+_)(l+d+_)*

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the regular expressions corresponds to the given problem statement: P(x): Express the identifiers in C Programming language l=letters d=digits

Similar Questions

Discover Related MCQs

Q. Generate a regular expression for the given language:l
L(x): {xÎ{0,1}*| x ends with 1 nd does not contain a substring 01}

Q. The minimum number of transitions to pass to reach the final state as per the following regular expression is:
{a,b}*{baaa}

Q. Which of the following is an utility of state elimination phenomenon?

Q. If we have more than one accepting states or an accepting state with an outdegree, which of the following actions will be taken?

Q. Which of the following is not a step in elimination of states procedure?

Q. Which of the following methods is suitable for conversion of DFA to RE?

Q. State true or false:
Statement: The state removal approach identifies patterns within the graph and removes state, building up regular expressions along each transition.

Q. The behaviour of NFA can be simulated using DFA.

Q. It is suitable to use ____________ method/methods to convert a DFA to regular expression.

Q. State true or false:
Statement: For every removed state, there is a regular expression produced.

Q. Is it possible to obtain more than one regular expression from a given DFA using the state elimination method?

Q. A regular language over an alphabet a is one that can be obtained from

Q. Regular expression {0,1} is equivalent to

Q. Precedence of regular expression in decreasing order is

Q. Regular expression Φ* is equivalent to

Q. a? is equivalent to

Q. ϵL is equivalent to

Q. (a+b)* is equivalent to

Q. ΦL is equivalent to

Q. Which of the following pair of regular expression are not equivalent?