Exam-style question
Try this first
Which pair contains two valid ways of describing a regular language?.
- A.Represented by a regular expression and accepted by an FSM
- B.Written in Python and stored in a file
- C.Accepted by a compiler and written in Java
- D.Stored in memory and displayed on a screen
Answer and explanation
Concise answer
Represented by a regular expression and accepted by an FSM
Why this is correct
Both descriptions are included in the specification requirement for regular languages.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
