Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2020 | Question 74
  • Last Updated : 09 Sep, 2020

Which of the following classes of languages can validate an IPv4 address in dotted decimal format? It is to be ensured that the decimal values are between 0 and 255
(A) RE and higher
(B) CFG and higher
(C) CSG and higher
(D) Recursively enumerable language

Answer: (A)

Explanation: We can draw a DFA for it as given values are finite.

Option (A) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :