.. raw:: html

   <script>ODSA.SETTINGS.MODULE_SECTIONS = ['exercise-1', 'exercise-2', 'exercise-3', 'exercise-4', 'exercise-5', 'exercise-6'];</script>

.. _RegLangEx:


.. raw:: html

   <script>ODSA.SETTINGS.DISP_MOD_COMP = true;ODSA.SETTINGS.MODULE_NAME = "RegLangEx";ODSA.SETTINGS.MODULE_LONG_NAME = "Regular Language Exercises";ODSA.SETTINGS.MODULE_CHAPTER = "modules"; ODSA.SETTINGS.BUILD_DATE = "2022-11-29 16:52:11"; ODSA.SETTINGS.BUILD_CMAP = false;JSAV_OPTIONS['lang']='en';JSAV_EXERCISE_OPTIONS['code']='java';</script>


.. |--| unicode:: U+2013   .. en dash
.. |---| unicode:: U+2014  .. em dash, trimming surrounding whitespace
   :trim:


.. This file is part of the OpenDSA eTextbook project. See
.. http://opendsa.org for more details.
.. Copyright (c) 2012-2020 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.

.. avmetadata::
   :author: Mostafa Mohammed
   :requires:
   :satisfies:
   :topic:

Regular Language Exercises
==========================

Exercise 1
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegExbbaeven.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Expression construction: bba in even position


Exercise 2
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegExnoaa.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Expression construction: no aa


Exercise 3
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegExonebbb.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Expression construction: one bbb


Exercise 4
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegGramNFA1.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Grammar: right-linear grammar for NFA


Exercise 5
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegGrambbbaaaa.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Grammar: left-linear grammar for bbbsaaaas


Exercise 6
----------

.. avembed:: AV/OpenFLAP/exercises/FLAssignments/Regular/RegGramaby3.html pe
   :module: RegLangEx
   :points: 5.0
   :required: True
   :threshold: 1.0
   :exer_opts: JXOP-debug=true&amp;JOP-lang=en&amp;JXOP-code=java
   :long_name: Regular Grammar: regular grammar for a divisible by 3

