php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS402 assignment no 1 Spring 2011 Idea solution by vuhelp on 12 April
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Question No.1
RECURSIVE DEFINITION
a. Give recursive definition of language defined over alphabet Σ = {a, b}, having all
strings STARTING WITH aa OR ENDING WITH bb
b. Give recursive definition of language defined over alphabet Σ = {a, b}, having all
strings with length MULTIPLE OF 2
c. Give recursive definition of language defined over alphabet Σ = {a, b}, having all
strings NOT ENDING with aa or bb
d. Give recursive definition of language defined over alphabet Σ = {a, b}, NOT
HAVING ab at any place.
e. Give recursive definition of ODD PALINDROME (PALINDROME WITH
ODD STRINGS ONLY) defined over alphabet Σ = {a, b}
Question No.2
REGAULAR EXPRESSIONS
Give Regular Expression for each of the following language defined over alphabet Σ =
{a, b}
a. Language having all strings STARTING AND ENDING WITH ab
b. Language of strings NOT having bb OR aa at any place
c. Language of all strings NOT HAVING aab in start
d. Language of all strings NOT HAVING aab in end
e. Language of all strings HAVING count of b’s multiple of 2 [No restriction on
count of a]
Question No.3
FINITE AUTOMATA
Give Finite Automata for each of the following language defined over alphabet Σ = {a, b}
a. Language having all strings with alternating a’s and b’s , some example strings
are ababab… or bababa…
b. Language having all strings NOT containing aa at any place
c. Language of all strings NOT STARTING with bb
d. Language of all strings STARTING WITH bba
e. Language having all strings NOT having even no of a’s and b’s
Reply
#2
Please upload the correct solution of this assignment i try my level best to solve it but no success so please help me immadiatly
Reply
#3
hmmm.... well you can discuss this with us... it will be better.
Reply
#4
plz plz plz plz plz give me Solution
haseebsarwar42@yahoo.com
Reply
#5
plz give the solutionnnn plzzzzzz
Reply
#6
your name and gender?
Reply
#7
Xpert Wrote:hmmm.... well you can discuss this with us... it will be better.

I need help please Xpert help me. I will be thankful to you.
Reply
#8
I will try to post it dear. Just wait.
Reply
#9
[size=14]full solution in attachment [/SIZE]


Step 1: a and b are in language L
Step 2: a(s)or b(s) is also in language L, Where s belongs to å*
Step 3: No strings except those constructed in above, are allowed to be in L
(b) Step 1: a and b are in Language L
Step 2: (s)b is also in language L, Where s belongs to å*
Step 3: No strings except those constructed in above, are allowed to be in L
© Step 1: a and b are in Language L
Step 2: (s)b is also in language L, Where s belongs to å*
Step 3: No strings except those constructed in above, are allowed to be in L
(d) Step 1: a and b are in Language L
Step 2: aa(s) or (s)aa(s) or (s)aa is also in language L, Where s belongs to å*
Step 3: No strings except those constructed in above, are allowed to be in L
(e) Step 1: a and b are in Language L
Step 2: b(s)ba is also in language L, Where s belongs to å*
Step 3: No strings except those constructed in above, are allowed to be in L


Attached Files
.zip   cs402+assignment+No.+1+solution.zip (Size: 82.76 KB / Downloads: 727)
Reply
#10
it is different as compare with current assignment
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,366 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,223 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,291 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 2,020 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,850 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,849 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


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