Skip to content
Related Articles

Related Articles

UGC-NET | UGC-NET CS 2017 Dec 2 | Question 33

View Discussion
Improve Article
Save Article
  • Last Updated : 14 Mar, 2018

Which of the following regular expressions, each describing a language of binary numbers (MSB to LSB) that represents non-negative decimal values, does not include even values ?
(A) 0*1+0*1*
(B) 0*1*0+1*
(C) 0*1*0*1+
(D) 0+1*0*1*

Answer: (C)

Explanation: Regular expression for binary numbers that represents non negative odd numbers:
It’s LSB must be 1.
So (C) option is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!