Counter automata:
The counter automaton comprises of an fsm M augmented by the register (or counter) C which can hold a single integer of random size. C is initialized to zero. M can decrement and increment the counter and then test it for 0. Therefore, M’s memory is un-bounded, and arguments of the type ‘FAs can’t count’, as formalized in pumping lemma. In principle, any amount of data can be coded to a single integer. For illustration, a sequence of 3 integers a, b and c can encoded reversibly by the single integer 2a 3b 5c (Goedel numbering). Therefore, a CA consists of all the storage capacity one might require. Its computational power is restricted by the access operations limited to increment, decrement and test for 0. Due to such, counter automata ‘can’t do much more than count’.
As an illustration, each of the given counter automata accepts the language of all the strings over A = {a, b} with an equivalent number of a’s and b’s:
The transition is activated by a pair (that is, input symbol, state of counter) and triggers an action on counter.
Testable states of counter are ‘=0’ and ‘≠0’, and the counter actions are decrement ‘dec’ and increment ‘inc’.
Rather than reading an input symbol, M can as well act based on the counter state alone that we represent as ‘reading the null string ε’. M might ignore the state of counter, which we represent by ‘-’ = ‘don’t care’. Finally, M might select to execute no action on the counter C, that we denote by ‘-’ = ‘don’t act’.
Example: Parenthesis expressions. The polish or parenthesis-free notation is for arithmetic expressions.
i) Let consider the language L1 of accurate parenthesis expressions over the alphabet A = {(, )}. Illustrations of correct expressions: (( ) ), ( ) ( ), ( ( ) ) ( ), and the null string ε. Either: exhibit a counter automaton M1 which accepts the language L1 , or exhibit that no such counter automaton exists.
ii) Let consider the language L2 of accurate parenthesis expressions over alphabet A = {(, ), [, ]}, including two pairs of parentheses. Illustrations of accurate expressions: ([ ]), ( ) [ ] ( ), ( ( ) [] ) ( ), and the null string ε. Illustration of a wrong expression: ( [ ) ]. Either: Show a counter automaton M2 which accepts the language L2, or argue that no such counter automaton is exists.
iii) Polish or parenthesis-free notation for an arithmetic expressions come in two versions: suffix and prefix notation.
Let consider operands designated by the single letter, say x, y or z, and four binary operators +, -, *, /. In the prefix notation, the operator is written before its 2 operands, and in suffix notation after x + y becomes +xy or xy+.
Design a counter automaton P which recognizes accurate prefix expressions and a counter automaton S which recognizes accurate suffix expressions.
Latest technology based Theory of Computation Online Tutoring Assistance
Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Theory of Computation help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Theory of Computation, project ideas and tutorials. We provide email based Theory of Computation help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Theory of Computation. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Theory of Computation Homework help and assignment help services. They use their experience, as they have solved thousands of the Theory of Computation assignments, which may help you to solve your complex issues of Theory of Computation. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.
www.tutorsglobe.com offers Design Fundamentals homework help, assignment help, case study, writing homework help, online tutoring assistance by computer science tutors.
Want to secure high grades at pocket-friendly prices? Avail Parasitology and Immunology Assignment Help by PhD experts and score A++
tutorsglobe.com criticism of adam smiths definition assignment help-homework help by online adam smiths definition tutors
Theory and lecture notes of Pros and cons of concurrency all along with the key concepts of pros and cons of concurrency, lock management. Tutorsglobe offers homework help, assignment help and tutor’s assistance on pros and cons of concurrency.
The electromagnetic spectrum tutorial all along with the key concepts of Range of the spectrum, Interaction of electromagnetic Radiation with Matter, Types of radiation, Nature of Light and Quantum Theory
tutorsglobe.com oxidation of fatty acids assignment help-homework help by online lipid metabolism tutors
Vacuum cleaners generally come with a range of accessories for several of uses. The worth of it is to finding out what accessories are presented for our cleaning needs.
Distribution of Natural gases tutorial all along with the key concepts of Petroleum Industry, Oil Tanker, World Natural Gas distribution and production, World Natural Gas consumption and trade
TutorsGlobe.com The Chemical Industry-An Overview Assignment Help-Homework Help by Online Access Chemistry Tutors
Natural Dyes-Dyeing Processes tutorial all along with the key concepts of Definition of Natural Dyes and Mordant, Types of Natural Dyes, Natural Dyes Obtained from Plants, Natural Dyes Obtained from Animals, Categories of Natural Dyes, Natural dyeing, Mordants for Natural Dyeing
Other properties of group 14 tutorial all along with the key concepts of Chemical Properties of group 14, Carbides, Halides, Fluorocarbons, Hydrides, Oxides and Complex Formation
tutorsglobe.com proportional taxes assignment help-homework help by online types of tax tutors
www.tutorsglobe.com offers free fiscal policy tutorial and role of government, answering questions to economics, assignment help and homework help.
Theory and lecture notes of Building Up Aggregate Demand all along with the key concepts of Building Up Aggregate Demand, Income-Expenditure Diagram, Consumption Function, Autonomous Spending. Tutorsglobe offers homework help, assignment help and tutor’s assistance on Building Up Aggregate Demand.
if a tv receiver does not work properly, means no raster and sound, this type of fault in termed as dead fault.
1954710
Questions Asked
3689
Tutors
1447214
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!