Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

CS402 Fall 2011 First Assignment

Rate this item
(0 votes)
Question No.1 Basic Concepts [Sets, Letters, Valid Alphabet, Languages, Strings and Words]

a. Which of the following are strings generated from alphabet Σ = {a, b}

CS402 Fall 2011 2nd Assignment Solution

Rate this item
(5 votes)

Question No.1

  1. Draw the Transition graph (TG) for language of words in which the “b” occur only in even clumps and that end in four or more a’s.
  2. Draw the Transition graph (TG) for language of words starting with three a’s or three b’s and ending with bb or aa
  3. Draw the Transition graph (TG) for language of words having aab or bba anywhere in it
  4. Draw the Transition Graph (TG) for language of words EVEN-EVEN,
  5. Draw the Generalized Transition graph (GTG) for below given regular expression:

a*+ (ab+a)*(b+ Λ)+a*