Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COS3701 Assignment 02 solutions 2023

Rating
-
Sold
1
Pages
5
Grade
A+
Uploaded on
27-06-2023
Written in
2022/2023

cos3701 assignment answers 2023 , cos3701 assignment memo 2023 , cos3701 assignment solutions 2023 , cos3701 assignment memo 2023 100% pass

Institution
Course

Content preview

Disclaimer: This serves as a document to help you understand




Theoretical Computer Science III
COS3701

2023

Assignment 2

School of Computing

Disclaimer: This serves as a document to help you understand
your assignment. Do not Plagiarize




BARCODE

, Disclaimer: This serves as a document to help you understand


Question 1 [15]
Build a DPDA to show that the language L = {(ab)n(ba)naa | n > 0} is deterministic
context free.




Question 2 [15]
Prove that the language L = {anb3nan} is non-context free. Use the pumping lemma
with length.
~ According to the pumping lemma with length any word w in L with more than 2p
characters can be broken up into five parts, i.e. the word can be written as w =
uvxyz, with length(vxy) <= 2p and length(x) > 0 and length(v) + length(y) > 0 and
where all words of the form uvnxynz with n > 1 are also in the language.

Written for

Institution
Course

Document information

Uploaded on
June 27, 2023
Number of pages
5
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$5.01
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
elenaprowriter University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
105
Member since
5 year
Number of followers
71
Documents
22
Last sold
1 month ago

3.5

13 reviews

5
3
4
4
3
4
2
1
1
1

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions