Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is Automata and Formal Languages. I don't know how to solve these problem. Notice that a PDA could have a move that does not

This is Automata and Formal Languages. I don't know how to solve these problem.

image text in transcribed

Notice that a PDA could have a move that does not read from the input (only performs stack operation and state transition). Therefore, it is possible for the PDA to run forever on some given input. Prove that there is an algorithm that answers whether, for a given PDA, there is an input word on which the PDA has an infinite execution. Let be a finite set of colors, and G be a directed graph on which each arc is labeled with a color in E. An w-walk is an infinite path VOCOVICV2. on G such that, for each i, G has an arc from v; to Vi+1 with color ci. In particular, we say the walk starts from vo. The walk is fair if there are infinitely many prefixes of the walk on which the number of red arcs, the number of green arcs and the number of blue arcs are all the same. Prove that there is an algorithm to decide whether the graph G has a fair walk starting from a given node vo. In finite automata, there is no concept about time; or we can think in this way: each move takes one unit time. But in reality (e.g., in designing an embedded system), timing is an explicit requirement which can be expressed through timers. Timers can be used to control moves of the automata. Investigate your ways of adding timers to the definition of finite automata (hence your extended finite automata are able to describe a simple class of real-time systems). Notice that a PDA could have a move that does not read from the input (only performs stack operation and state transition). Therefore, it is possible for the PDA to run forever on some given input. Prove that there is an algorithm that answers whether, for a given PDA, there is an input word on which the PDA has an infinite execution. Let be a finite set of colors, and G be a directed graph on which each arc is labeled with a color in E. An w-walk is an infinite path VOCOVICV2. on G such that, for each i, G has an arc from v; to Vi+1 with color ci. In particular, we say the walk starts from vo. The walk is fair if there are infinitely many prefixes of the walk on which the number of red arcs, the number of green arcs and the number of blue arcs are all the same. Prove that there is an algorithm to decide whether the graph G has a fair walk starting from a given node vo. In finite automata, there is no concept about time; or we can think in this way: each move takes one unit time. But in reality (e.g., in designing an embedded system), timing is an explicit requirement which can be expressed through timers. Timers can be used to control moves of the automata. Investigate your ways of adding timers to the definition of finite automata (hence your extended finite automata are able to describe a simple class of real-time systems)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

Select suitable tools to analyze service problems.

Answered: 1 week ago