adplus-dvertising
frame-decoration

Question

Regular expression {0,1} is equivalent to

a.

0 U 1

b.

0 / 1

c.

0 + 1

d.

All of the mentioned

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. Consider following regular expression

i) (a/b)*
ii) (a*/b*)*
iii) ((ϵ/a)b*)*

Which of the following statements is correct

Q. What kind of expressions do we used for pattern matching?

Q. Which of the following do Regexps do not find their use in?

Q. Which of the following languages have built in regexps support?

Q. The following is/are an approach to process a regexp:

Q. Are the given two patterns equivalent?
(1) gray|grey

(2) gr(a|e)y

Q. Which of the following are not quantifiers?

Q. Which of the following cannot be used to decide whether and how a given regexp matches a string:

Q. Conversion of a regular expression into its corresponding NFA :

Q. Which among the following is not a UNIX command for regular expressions?

Q. What is the significance of $ used in regular expression in UNIX?

Q. Generate the regular expression to match blank lines

Q. For the given syntax of sed, which among the following is not a correct option?
General syntax of sed: /pattern/action