You are on page 1of 2

CSC 420–Theory of Computation

Tutorial - 1

Student Name: ……………………………………………. Student Index: ……………..


Section No.: ……………………….. Date: ……...………………..
Time: 30 minutes Total Marks: 10

Answer all questions


Answer the questions below for the sets:
C = { aab, baa},
D = {bb, aab},
E = {ɛ},
F= ∅.
Except for parts (c) and (h), write out any sets with the elements in lexicographic order.
For any infinite sets, list only the first 8 elements in lexicographic order, but be sure to
also indicate that the set is infinite by including 3 dots after listing the first 8 elements.
For any set S, we define
𝑠𝑠 ∗ = 𝑠𝑠 0 𝑠𝑠1 𝑠𝑠 2 · · · ,
𝑠𝑠 + = 𝑠𝑠1 𝑠𝑠 2 𝑠𝑠 3 · · ·,
(a) What is D U C ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(b) What is C U F ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(c) What is C X D ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(d) What is C ∩ D ? (0.5 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(e) What is D ○ C ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
1
(f) What is C ○ E ? (0.5 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(g) What is D3 ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(h) What is P(C), the power set of C ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(i) What is D − C ? (0.5 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(j) What is C+ ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(k) What is F ∗ ? (0.5 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………
(l) Is E ⊆ C ? (1 mark)
………………………………………………………………………………………………
………………………………………………………………………………………………

Good Luck
2

You might also like