Which of the following strings would match the regular expression : p+ [3 –…

PYQ UGC NET 2016

Which of the following strings would match the regular expression : p+ [3 – 5]∗ [xyz] ?

I. p443y             II. p6y

III. 3xyz              IV. p35z

V. p353535x      VI. ppp5

  1. A.

    I, III and VI only

  2. B.

    IV, V and VI only

  3. C.

    II, IV and V only

  4. D.

    I, IV and V only

Attempted by 70 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…