Answered step by step
Verified Expert Solution
Question
1 Approved Answer
p 2 CS 3 1 4 Spring 2 0 1 8 Final Exam Name _ _ _ _ _ _ _ _ _ _ _
p CS Spring Final Exam Name
I. Suppose unsigned real numbers in some language must have exactly one decimal
point, and the decimal point must be immediately preceded and followed by one or
more digits. Eg and are not legal unsigned real numbers, nor is but is
Write a regular expression for these unsigned real numbers. You may use the letter
d to stand for the digits through
II Consider the following Finite State Automaton FSA
A Is this a deterministic or a nondeterministic FSA? Why?
B Write a regular expression that specifies the same language that this FSA
accepts.
C For each of the following strings, if it is accepted by the FSA above circle Yes
and give a sequence of states that proves it is accepted. If not, circle No
i a Yes: states No
ii a b c Yes: states No
iii. a b a c Yes: states No
iv a b b c Yes: states No
v a b a b a b c Yes: states No
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started