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
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

COS3701 Assignment 2 (COMPLETE ANSWERS) 2024 (365071) - DUE 27 June 2024

Document preview thumbnail
Preview 2 out of 10 pages

COS3701 Assignment 2 (COMPLETE ANSWERS) 2024 (365071) - DUE 27 June 2024 ;100 % TRUSTED workings, explanations and solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)........... ASSIGNMENT 02 UNIQUE ASSIGNMENT NUMBER: 365071 STUDY MATERIAL: Cohen, chapters 16 - 18 Question 1 [15] Build a DPDA to show that the language L = {(ba)na(ab)n-2 | n 2} is deterministic context free. Question 2 [15] Prove that the language L = {banb 2na n+1 | n 0} over the alphabet ∑ = {a, b} is non-context free. Use the pumping lemma with length. Question 3 [10] Let L1 be the grammar generating (aa)*. Let L2 be the grammar generating (a+b)*ba(a+b)*. First provide the grammars generating L1 and L2 respectively. Then apply the applicable theorem of Chapter 17 to determine L1L2. Question 4 [10] Decide whether the grammar given below generates any words. S → XY X → SY Y → SX X → a Y → b @ Unisa 2024

Content preview

COS3701
ASSIGNMENT 2 2024

, lOMoARcPSD|21997160




ASSIGNMENT 2 2024




Theoretical Computer Science III

COS3701

School of Computing


Assignment 02




BAR CODE

Connected book
 image
Mario Coppo, Elena Lodi Theoretical Computer Science
Publisher: 2005 ISBN: 9783540291060 Edition: Unknown

Document information

Uploaded on
April 22, 2024
Number of pages
10
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$2.71

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

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.
LIBRARYpro
3.8
(1504)
Sold
10767
Followers
4904
Items
5056
Last sold
5 days ago

Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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