Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is a language definition: = { is a three - digit string that represents a grad - level UMB course number } L grad

Here is a language definition:
=
{
is a three-digit string that represents a grad-level UMB course number
}
L
grad
={ww is a three-digit string that represents a grad-level UMB course number}
You may assume that strings in the language are drawn from alphabet
{
0
,
2
,
4
,
6
}
{0,2,4,6}.
Come up with 3 strings in the language.
Come up with 3 strings not in the language.
For this problem, for parts 1 and 2, you are allowed to post examples to Piazza for clarification if you are unsure.
Prove that the language is a regular language.
Important: Before attempting the proof, make sure to understand what this problem is asking. This means you must know the precise definitions of the terms used in this problem before you can begin solving this question, e.g., make sure you know the precise formal definition of: string, language, regular language, etc. Further, you need to know how to read the set (builder) notation above and what it means for something to be in and not in a set.
Your proof must be in the form of a Statements and Justifications table, as presented in class.
If your answer includes designing a DFA, you may submit a state diagram instead of a formal description of the machine.
To "prove" that a DFA recognizes a language, you may use as justification a table showing three strings that are both accepted by the DFA and in the language, and three strings that the DFA rejects and are also not in the language, as shown in lecture. The strings should ideally "test" as many different transition paths through the DFA as possible. (This should also tell you whether the strings you came up with in parts 1 and 2 are "good" examples or not.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

What about leadership lessons from particularly good or bad bosses?

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago