Welcome! Log In Create A New Profile

Advanced

Assignment 3 Question 3 ( 19 (ii) on pg 456)

Posted by iva 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
iva
Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 03, 2007 06:50PM
Anyone started with this?
i'm not 100% sure of the question. after first read, i thought, just loop continuosuly round the last character , changing it to something else each time, keeping the tape on the one character the whole time (ok of course after validating the entire tape first).

But do you think by the wording "...different each time through the loop" could mean they want you to loop through the whole string each time even though unnecessary? i did it long way round, going up and down the string each time, but seems like an awful waste of time smiling smiley or maybe i'm just reading too much into it?
iva
Re: Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 04, 2007 08:05AM
Lecturer confirmed the above, there are many ways to do this and you don't necessarily need to make the tape go up and down the string each time..but its not wrong if you do..
avatar Re: Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 07, 2007 07:43AM
For question 1, do we assume the alphabet is {a, b}?
iva
Re: Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 07, 2007 08:01AM
i dno't have my text book but it normally should state the alphabet in thequestion, i can't remmeber, although all you ahve to worry about is taking the word they want you to run through the machine, (theres an example somewhere just after they explain the TMs) and show the steps like so:

START 3
ababb --> #babb
avatar Re: Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 07, 2007 08:41AM
oops sorry its question 2. The TM for oddPalindrome.
iva
Re: Assignment 3 Question 3 ( 19 (ii) on pg 456)
June 07, 2007 09:04AM
mm ok sorry can't help i don't have the text book but i 'm pretty sure it is {a,b}
Sorry, only registered users may post in this forum.

Click here to login