1. Consider the following finite state automaton, over the alphabet {0,1}: 0 91 92 93 (a) In what stage or stages of a c

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1. Consider the following finite state automaton, over the alphabet {0,1}: 0 91 92 93 (a) In what stage or stages of a c

Post by answerhappygod »

1 Consider The Following Finite State Automaton Over The Alphabet 0 1 0 91 92 93 A In What Stage Or Stages Of A C 1
1 Consider The Following Finite State Automaton Over The Alphabet 0 1 0 91 92 93 A In What Stage Or Stages Of A C 1 (51.99 KiB) Viewed 30 times
1. Consider the following finite state automaton, over the alphabet {0,1}: 0 91 92 93 (a) In what stage or stages of a compiler are finite automata primarily used? (2 marks) (b) The states of the automaton are named ql, q2 and 3. Write down the accepting state or states of the automaton. (2 marks) (c) The automaton accepts the word 11 and rejects the word 01. Does the automaton accept or reject the following words? Which state or states does the automaton finish in after reading each word? (i) 10101 (ii) 1010011000 (iii) € (6 marks) (d) Describe in English the language (set of words) accepted by the automaton. (2 marks) (e) What does it mean for a finite state automaton to be deterministic? (2 marks) (1) Is the finite state automaton above deterministic? Briefly explain your answer. (2 marks) (g) Given that every nondeterministic automaton can be converted into a deterministic automaton, why are nondeterministic automata sometimes used by humans or compilers)? Give two reasons. (4 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply