Question

Could someone help me make a DFA to recognize the following text input: Problem planner: "PlanName"...

Could someone help me make a DFA to recognize the following text input:

Problem

planner: "PlanName" [
year: year{
month: month (
day: day <
Description: "here the description";
image: "path";
>
)
}]


Example:

planner: "CalendarSystems" [
Year: 2019 {
Month: 08 (
day: 04 <
Description: "I need to do a DFA, please :(";
image: "" C: \\ stagelist.txt "";
>
)
}
]

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The following image is the transition diagram for the DFA required in the question.

Note:

  • For clarity the dead state is removed.
  • From any state all undefined moves are directed to dead or trap state.
  • For clarity and visibility symbols are replaced with word as follows
symb_colon :
symb_quote "
A-Z or a-z Any English character
symb_opening_sq_bracket [
symb_break Line break
symb_opening_brace {
symb_opeing_parenthesis (
0-9 (1-9 etc) Numbers in these range
symb_opening_tri_bracket <
punctuation symbols used in punctuation such as full stop or exclamation mark
symb_closing_tri_bracket >
symb_closing_brace }
symb_closing_parenthesis )
symb_closing_sq_bracket ]

A-Z or a-z symb opening-sq_bracket symb colon symb_quote q8 A-Z or a-z sym quote q10 a12 q16 18 q20 g 2 923 0-9 Symb colon D-

Add a comment
Know the answer?
Add Answer to:
Could someone help me make a DFA to recognize the following text input: Problem planner: "PlanName"...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT