Categories: Uncategorized

Automata Forml Lang homework

1. (10 points) Let ∑ = {a, b}. Define the language L = { w | w ∈ ∑* and |w| < 4 }, by listing all the strings in this language.

2. (10 points) Prove one of the following by induction on the variable n. Obviously, only one of these can be true.

Don't use plagiarized sources. Get Your Custom Essay on
Automata Forml Lang homework
This is a Snippet Preview, get a Complete Solution Here
Order Essay

or

3. (10 points) Draw the following directed graph, G(V, E): V = { x | x ≤ 10 and x ∈ } E = { (i, 2*i) | i ≤ 5 and i ∈ } ⋃ { (i, i-1) | 3 ≤ i ≤ 9 and i ∈ }

Following the conventions in our textbook, is the set of positive natural numbers (i.e., it does not contain 0).

4. (10 points) Let and Show that || = || by giving a bijection between the two sets. Argue that your function is a bijection.

5. (10 points) Consider a social networking site with 100 members and a total of 425 connections. Assume person p has the most friends (or is tied for the most friends) in the database. Prove the tightest possible lower bound on the number of friends of p.

6. (10 points) Consider the alphabet Write the mathematical, 5-tuple definition of a DFA that accepts the language L = { w | w starts with 0 and has an even number of 1’s }.

7. (15 points) Consider the alphabet For each of the languages below, create a DFA to accept it:

a) L = { w | w contains an odd number of ’s or an odd number of ’s}

b) L = { w | w consists in which every is preceded by two ’s}

c) L = { w | w does not contain the substring }

8. (10 points) Consider the alphabet Draw an NFA to accept the language L = { w | |w| is even and w starts with an or |w| is odd and w ends with a }. Assume that 0 is an even number.

9. (15 points) Using the procedure presented in the textbook and in class, convert the following NFA into an equivalent DFA.

Phyllis Mugure

Recent Posts

Introduction to psychology | Assignments Market

ASSIGNMENT 08 S01 Introduction to Psychology I Directions: Be sure to save an electronic copy…

4 years ago

Education | Assignments Market

Include a comprehensive, thoughtful and critical analysis to the arguments and perspectives of the readings…

4 years ago

Session 2 Discussion | Assignments Market

Discussion Prompt: Plagiarism As a writer, one of the gravest errors to make is to…

4 years ago

CJL Writing Questions | Assignments Market

Question 1: Write a Hypothetical. Write a legal memorandum analyzing what happened in the following…

4 years ago

short HW all the questions below | Assignments Market

You work at Happy Joe's family restaurant and want to see if customer meal satisfaction…

4 years ago

321 solve … | Assignments Market

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

4 years ago