RU beehive logo ITEC dept promo banner
ITEC 420
2020fall
ibarland

hw02

  1. Problem 2.3.2.
  2. Let L1 = {apple, pear} and L2 = {pie, cake, ε}. List the elements of L1L2 in lexicographic order1. This is just the book's #2.3.3 made a bit less-busy-ish.
  3. Give two (small) languages L1,L2 such that |L1L2| < |L1|·|L2|. Extra credit if you have the smallest possible |L1 ∪ L2|.
  4. 2.3.6. Do not simply restate the math; instead describe, in English, the strings in each language so that an ITEC friend could understand. None of your answers should include the word prefix.
    For convenience: Your answers may take as understood that the underlying alphabet is Σ = {a,b} — you don't need to repeat that.
  5. 2.3.8, only parts c–e.
    definition: If L is a language, then we define L* as the language whose strings are each 0-or-more concatenations of strings found in L. For example, if L = {hi,bye}, then hihibyehi is one element (of many) in L*.

This homework based on Dr. Okie's homework and (of course) the textbook.


1 Lexicographic order is like order by length, and within same-length order alphabetically.      

logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.