Assignment No. 01 |
Total Marks: 20
Due Date: 30/04/2013 |
|
Objective:
To learn and understand basic concepts of Context free grammar, regular expression, deterministic and nondeterministic finite automata in building a Lexical analyzer. Lectures Covered: 1-8 Please read the following instructions carefully before submitting assignment:
For any query about the assignment, contact at cs606@vu.edu.pk
|
||
BEST OF LUCK |
||
Question No 1: Marks 20
Given the regular expression
a) Construct an equivalent NFA using the Thompson’s Constructions algorithm. (10 marks)
b) Convert the NFA (constructed in part a) to a DFA. (10 marks)
|