php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs402 theory of automata final 1st assignment solution fall 2010
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
This solution can help you out just download it. have fun.

Objectives
Objective of this assignment is to make students able to understand the following concepts,
Recursive Definition of a language
Regular Expression
Finite Automata

Recursive Definition:
Question No.1
a. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings starting with a or
b
a. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings ending with aa.
b. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings NOT ending
with a.
c. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings NOT ending
with bb.
d. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings having aa at any
place.
e. Give recursive definition of language defined over alphabet Σ = {a, b}, having all strings NOT having aa
at any place.
_______________________________

Regular Expressions:
Question No.2

Give Regular Expression for each of the following language defined over alphabet Σ = {a, b}
b. Language having all strings STARTING with a or b
c. Language having all strings NOT having ab
d. Language having all strings NOT having bb
e. Language having all strings HAVING aa
f. Language having all strings HAVING bba
g. Language having all strings NOT having two consecutive a’s
h. Language having all strings NOT having even no of a’s and b’s
________________________________________

Finite Automaton:
Question No.3
Give Finite Automata for each of the following language defined over alphabet Σ = {a, b}
a. Language having all strings STARTING with a or b
b. Language having all strings NOT having ab
c. Language having all strings NOT having bb
d. Language having all strings HAVING aa
e. Language having all strings HAVING bba
f. Language having all strings NOT having two consecutive a’s
g. Language having all strings NOT having even no of a’s and b’s

_____________________________________

RE to FA and FA to RE conversion:
Question No.4

Convert FA’s of the following two languages you have already made in Question No.3 to RE’s using procedure
given in Kleene’s theorem and verify RE with your given RE in question 2.
a. Language having all strings HAVING aa
b. Language having all strings NOT having two consecutive a’s
___________________________

Important Note:
While attempting any question always remember the following points:
o Where OR is used in the description of a language it means that expressions on both sides of ‘OR’ are
parts of the language.
o Where NOT is used in description of the language it means that language includes all strings except
described in the ‘NOT’ condition, for example language NOT starting with a, means all strings not having
a in the start (you have to evaluate yourself what kinds of strings are these).

Solution can be found on the attachment file.


[URL="http://www.vustudents.net/forum/topics/cs402-assignment01-solution?groupUrl=cs402theoryofautomata&xg_source=activity&id=3783342%3ATopic%3A291850&groupId=3783342%3AGroup%3A59504&page=4#comments#ixzz14lhAa3oC"]
[/URL]


Attached Files
.pdf   CS40201SOL.pdf (Size: 99 KB / Downloads: 893)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,367 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,954 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,981 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,224 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,292 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 2,022 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,713 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,852 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,751 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,851 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support