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
Model answer
What a good answer should say
- Represented by a regular expression and accepted by an FSM
Explanation
Why this works
Both descriptions are included in the specification requirement for regular languages.
Common mistake
No common mistake is linked to this question yet.
