L1={All strings that having prefix containing first 3 letters of your name separated by + or -, such that if there exits a vowel then there is + in between the letters and if there exists two consonants then there is - sign between them e.g. for the name ASM the string accepted will be A+S-M ] L2 =[ ending with last three letters of your name ] Note : My name is sufyan Make a suitable machine for the language L1∩L2'

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

L1={All strings that having prefix containing first 3 letters of your name separated by + or -, such that if there exits a vowel then there is + in between the letters and if there exists two consonants then there is - sign between them e.g. for the name ASM the string accepted will be A+S-M ]

L2 =[ ending with last three letters of your name ]

Note : My name is sufyan

Make a suitable machine for the language L1∩L2'

Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT