100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS3701 ASSIGNMENT 3 2025

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
05-07-2025
Written in
2024/2025

COS3701 Assignment 3 2025; 100% TRUSTED workings with detailed Answers for A+ Grade.

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
July 5, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COS3701
ASSIGNMENT 3 2025

UNIQUE NO.
DUE DATE: 2025

, COS3701: Theoretical Computer Science III Assignment 3 – 2025

Question 1 [10 Marks]

Given:

 L₁ = (aa)*
 L₂ = (a + b)ab(a + b)


Grammar for L₁ = (aa)⁎

This language consists of any even number of a's (including ε).

Grammar G₁ = (V, Σ, R, S), where:

 V = {S}
 Σ = {a}
 R:
o S → aaS | ε

Grammar for L₂ = (a + b)ab(a + b):

This language contains strings with at least one occurrence of 'ab'.

Grammar G₂ = (V, Σ, R, S), where:

 V = {S, A, B, C}
 Σ = {a, b}
 R:
o S → aS | bS | A
o A → aB
o B → bC
o C → aC | bC | ε

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyAidPro Tutors International
Follow You need to be logged in order to follow users or courses
Sold
191
Member since
1 year
Number of followers
2
Documents
560
Last sold
1 month ago
StudyAidPro

On this page, you find all documents, package deals, and flashcards offered by seller StudyAidPro. All Modules!

4.0

22 reviews

5
11
4
5
3
2
2
3
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions