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

STA1610 Assignment 2 Solutions 2022 [Unique No.: 650587] COS3701 Assignment 4 2022

Rating
-
Sold
-
Pages
17
Grade
A+
Uploaded on
23-01-2024
Written in
2023/2024

STA1610 Assignment 2 Solutions 2022 [Unique No.: 650587] COS3701 Assignment 4 2022 Unique No.: 830436 Due Date: 29 September 2022 In this document you will find 1.The complete suggested solutions to COS3701 Assignment 4 2022 2.As a bonus you will have access to download the COS3701 prescribed textbook(Introduction to computer theory 2nd edition Daniel I.A. Cohen) completely free of charge by clicking the google drive link on the last page of this document. Please note: This should only be used as a guide for your own assignment. Question 1 Chapter 23 – Problem 1(i), p. 562 Σ = {a, b}. EVEN-EVEN is defined on page 236 of Cohen: EVEN-EVEN = all strings x with an even number of as and an even number of bs. Note that TL101 refers to ODDPALINDROME but the language we are actually interested in is EVEN-EVEN. A TM that accepts this language is illustrated in Figure 1. This TM has essentially four states State 1 This represents the case where an odd number of as and an even number of bs have been read (OE). State 2 This represents the case where an even number of as and an odd number of bs have been read (EO). State 3 This represents the case where an even number of as and an even number of bs have been read (EE). State 4 This represents the case where an odd number of as and an odd number of bs have been read (OO). Consider the string aa. In this case the TM moves to state 1 after reading the first a (OE) and then to state 3 after reading the second a (EE). The TM will then go the halt state and even number of as (2) and an even number of bs (0) have been read. Consider a more complicated string abaabbba. In this case the word is in EVEN-EVEN so the TM should reach the halt state. What happens is: Read a go to state 1 – here we have 1 a and 0 bs so we have OE Read b go to state 4 – OO Read a go to state 2 – EO Read a go to state 4 – OO Read b go to state 1 – OE Read b go to state 4 – OO Read b go to state 1 – OE Read a go to state 3 –EE Read ∆ go to state halt The TM will reject any word that is not in EVEN-EVEN.

Show more Read less
Institution
COS3701
Course
COS3701










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

Written for

Institution
COS3701
Course
COS3701

Document information

Uploaded on
January 23, 2024
Number of pages
17
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
EXCELLENTSCORES1 Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
17
Member since
2 year
Number of followers
8
Documents
1967
Last sold
5 days ago
EXCELLENTSCORES

"Hi, I’m Austin, a Mediccal student with a passion for making learning easier. I’ve created high-quality study materials to help students like you save time and ace your exams. My notes are comprehensive, easy to follow, and packed with everything you need to succeed. Let’s conquer those grades together!" My store has plenty of materials in NURSING, ECONOMICS, MATHEMATICS, BIOLOGY, AND HISTORY MATERIALS BEST TUTORING, HOMEWORK HELP, EXAMS, TESTS, AND STUDY GUIDE MATERIALS WITH GUARANTEED A+ I am a dedicated medical practitioner with diverse knowledge in Nursing and Mathematics. I also have additional knowledge in mathematics-based courses (finance and economics).

Read more Read less
4.0

2 reviews

5
0
4
2
3
0
2
0
1
0

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