Question: 5. (I1 points) Consider a language L of variable names for a restricted Java programming for which variable names must satisfy all of the following
5. (I1 points) Consider a language L of variable names for a restricted Java programming for which variable names must satisfy all of the following conditions A variable name only uses Roman letters ta, b. . 0,1,2,..9. No underscore or dollar sign is allowed. A variable name must start with a Roman letter: a, b, . The length of a variable name must be no greater than 8. language, ,.. 2) or Aabie numerals A, B . , z, .. Z For this language, provide: a) a regular expression, and b) an e-NFA nt: In the interest of time, there is no need to label the states in your solution. You may define sets of symbols:l-a,b... zA.B.z. 22 0,1,2,.,9), and use 1 and 22 to define your regular expression. For the NFA one option is for you to simply derive it from your regular expression of Hi part (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
