Professional Documents
Culture Documents
Each page of your solutions must carry your name and your student number.
Scan your assignment, and submit it as a single pdf file through the LMS. The printers around
campus can be used to scan your assignment pages, and they can send a pdf of the scans to your
student email. There are also smart phone apps that you can use to scan your assignment. Submis-
sions that are not single pdf files will not be marked. By submitting your work electronically, you
are affirming that it is all your own work, and you will be asked to confirm this as you submit it.
Your assignment will be marked by your Monday practice class demonstrator. If you need an
extension, you must arrange it with your Monday demonstrator before the due time. The
names and emails of the demonstrators for each practice class are listed on the LMS.
Questions
All questions on Assignment 3 are based on the material covered in Weeks 5 and 6. See the bottom
of the last page for a breakdown of the marks for this assignment.
(b) Find the order of each element of U9 in the group (U9 ; ⊗9 ). Give the details of your calculations.
You may find it convenient to give your final answer in table form.
(d) Write down all subgroups of (U9 ; ⊗9 ), and explain why there are no subgroups other than these.
You may use any of the results from Chapter 6 in your explanation.
(d) Find the smallest non-negative integer r such that ρ133 = ρr , and hence calculate ρ133 .
(e) Determine the order of the cyclic subgroup hρi of G. Justify your answer.
0 1 1 1
(b) Hence, write down the partition induced by the 0
suffix equivalence relation.
Q 5. Consider the regular grammar G with terminal symbols {0, 1}, non-terminal symbols {σ, A, B},
starting symbol σ, and production rules
σ → 1σ 0A 1B ε, A → 0B, B → ε.
(a) Convert the grammar G to an NFA over {0, 1}. (Just give the transition diagram.)
(b) Let N be the NFA from (a). Give an accepting computation (in N ) of the string 11100.
(c) Give the derivation of the string 11100 in G corresponding to the computation in (b).
(f) Optional Question (2 Bonus Marks). Convert N to a DFA and simplify the resulting
machine. (You may find it convenient to re-label the states at certain stages.) Hence, show
that M is indeed equivalent to N , and write down a regular expression for the language, L(G),
generated by G.
The following question is a proof question. It will be worth 3% of your final mark, so you
are strongly advised to attempt it.