I need help designing an automata that accepts the following words "hello" and "hello world"
The alphabet includes the english alphabet and numbers.
I just need to know how to start designing this automata.
israruval007 0 Newbie Poster
Recommended Answers
Jump to PostWhy do you need an automata ? It doesn't look like you need to check for strings matching any regular expressions. Just load the contents of the documents as string and do a find for the required strings.
Jump to Post@Agni, I don't think this is about programming, but it is about concept in computer science (something similar to formal methods and/or models).
@israruva, zeroliken has already answered your question. Did you draw a diagram of the NFA yet? Use the diagram to determine the automata.
All 5 Replies
zeroliken 79 Nearly a Posting Virtuoso
israruval007 0 Newbie Poster
zeroliken 79 Nearly a Posting Virtuoso
Agni 370 Practically a Master Poster Featured Poster
Taywin 312 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.