Aug 10 Seatwork (Midterm exam review) - PowerPoint PPT Presentation

1 / 3
About This Presentation
Title:

Aug 10 Seatwork (Midterm exam review)

Description:

Construct a DFA that accepts the same language ... T zTz | U. U Uw | Note: how many w's, x's, y's and z's are in the string of the language? ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 4
Provided by: curryA
Category:

less

Transcript and Presenter's Notes

Title: Aug 10 Seatwork (Midterm exam review)


1
Aug 10 Seatwork(Midterm exam review)
  • CS 130

2
From Languages to Models
  • Consider the language L consisting of all strings
    over the alphabet l, o, p of words that do not
    contain double os.
  • The following are not in the L loop, looooo
    ooooplo, pool
  • The following are in L plop, polo, ppl,
    poppollopl
  • Construct a DFA that accepts L
  • Provide a regular expression that describes L
  • Devise a grammar that generates L

3
From Models to Languages
  • Provide a characterization of the language
    described by the regular expression( (012) 0
    2 )
  • Construct a DFA that accepts the same language
  • Provide a characterization of the language
    generated by the grammarS ? xTy yTxT ? zTz
    UU ? Uw ?
  • Note how many ws, xs, ys and zs are in the
    string of the language?
Write a Comment
User Comments (0)
About PowerShow.com