Strings and Languages - PowerPoint PPT Presentation

About This Presentation
Title:

Strings and Languages

Description:

Order of performing concatenation is immaterial. Parenthesis is redundant. Other Examples ' ' and '*' on integers and matrices is associative, while '-' on ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 7
Provided by: csWr
Learn more at: http://cecs.wright.edu
Category:

less

Transcript and Presenter's Notes

Title: Strings and Languages


1
Strings and Languages
2
  • Alphabet
  • (Finite) set of atomic elements
  • String over
  • Finite sequence of elements from
  • Basis
  • Inductive step
  • Closure

3
  • Language over is a subset of .
  • Examples

4
String Concatenation
  • Signature string string string
  • Recursive Definition (cf. defn. of )

concatenation
primitive operation
5
  • String concatenation is associative.
  • Implication
  • Order of performing concatenation is immaterial.
  • Parenthesis is redundant.
  • Other Examples
  • and on integers and matrices is
    associative, while - on integers is not.
  • Is NAND and NOR on booleans associative?

6
  • Refer to the text for the proof of associativity
    of the concatenation operation.
  • Refer to the text for the definition of reverse
    of a string and its properties.
Write a Comment
User Comments (0)
About PowerShow.com