Assignment-1 - Theory of Automata and Formal Languages
Assignment-1 - Theory of Automata and Formal Languages
Department of Computing
Assignment 1
Announcement Date: March 8, 2025 Due Date: March 15, 2025 (11:59 pm)
5. Regular expression for all strings over {a, b} where every occurrence of "a" is
immediately followed by at least one "b".
1. Explain the significance of finite automata in computational theory. Discuss its
practical applications in modern computing.
2. Discuss the role of finite automata in lexical analysis in programming languages.
How does it contribute to the design of compilers?
3. Compare and contrast deterministic finite automata (DFA) and nondeterministic
finite automata (NFA). Provide a theoretical discussion on why NFAs and DFAs
are equivalent in expressive power.
4. Identify and explain the fundamental limitations of finite automata in recognizing
certain languages. Provide examples of problems that cannot be solved using
finite automata alone.
5. Regular expressions and finite automata are two equivalent representations of
regular languages. Discuss the conversion process between regular expressions
and finite automata, explaining why they are considered equivalent.
6. Consider a modern search engine like Google. Explain how finite automata and
regular expressions might be used in search query optimization and text
processing.
Submission Guidelines:
● The assignment should be completed in groups of two, with only one submission
per group required on the LMS. (Ensure all group members' names are included
in the submission document). Submission Folder Name must be entitled with
all group members' names followed with Section name.
● Submit a single PDF document of the assignment.