Preview

Automata Theory

Powerful Essays
Open Document
Open Document
3512 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Automata Theory
Finite Automata

Finite Automata
• Two types – both describe what are called regular languages
– Deterministic (DFA) – There is a fixed number of states and we can only be in one state at a time – Nondeterministic (NFA) –There is a fixed number of states but we can be in multiple states at one time

• While NFA’s are more expressive than DFA’s, we will see that adding nondeterminism does not let us define any language that cannot be defined by a DFA. • One way to think of this is we might write a program using a NFA, but then when it is “compiled” we turn the NFA into an equivalent DFA.

1

Informal Example
• Customer shopping at a store with an electronic transaction with the bank
– The customer may pay the e-money or cancel the emoney at any time. – The store may ship goods and redeem the electronic money with the bank. – The bank may transfer any redeemed money to a different party, say the store.

• Can model this problem with three automata

Bank Automata
Actions in bold are initiated by the entity. Otherwise, the actions are initiated by someone else and received by the specified automata
Start pay

a

b ship redeem ship redeem

d e 2

transfer

f ship Store
Cancel

c

transfer

g

Pay

Cancel

1

Redeem

3

Transfer

4

Start

Start

Customer

Bank

2

Ignoring Actions
• The automata only describes actions of interest
– To be more precise, with a DFA (deterministic finite automaton) we should specify arcs for all possible inputs. – E.g., what should the customer automaton do if it receives a “redeem”? – What should the bank do if it is in state 2 and receives a “redeem”?

• The typical behavior if we receive an unspecified action is for the automaton to die.
– The automaton enters no state at all, and further action by the automaton would be ignored. – The best method though is to specify a state for all behaviors, as indicated as follows for the bank automaton.

Complete Bank

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Dq3 Explain how an automated matching process works with the processing and payment of accounts payable. What controls need to be implemented in the automated matching process to ensure that only authorized payments are made for goods and services actually received, and that payments are made at the authorized prices?…

    • 865 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    ops335 lab 2 firewall

    • 695 Words
    • 4 Pages

    a. If the user enters a null string, the program should beep and redisplay the needed value…

    • 695 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Cis 207 Week 2/3 Quiz

    • 383 Words
    • 2 Pages

    * C. Follows the instructions as they appear in the program, whether they are right or wrong…

    • 383 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2. List the sequential, descriptive steps required in a typical ATM transaction (your choice), such as drawing out cash or transferring funds from one account to another. Be sure to include those steps executed by local ATM system itself as well as those done by information systems housed within the Bank’s centralized data center. Use this table to organize your responses.…

    • 459 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Bank Of America

    • 505 Words
    • 3 Pages

    2. List the sequential steps required in a typical ATM transaction, such as drawing out cash or transferring funds from one account to another, and briefly explain why each of these steps is necessary. Use a table to organize your response and do not overlook steps in the process that are performed either by the ATM system or by information systems housed within the Bank’s centralized data center.…

    • 505 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nhs Admissions Essay

    • 410 Words
    • 2 Pages

    7. Halt when ordered by taking one more step with the left foot after the executory command is called and then bringing the right foot back to form at the position of attention.…

    • 410 Words
    • 2 Pages
    Good Essays
  • Good Essays
    • 717 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    A Teller would accept and process a customers’ savings deposit slip in the service blueprint below:…

    • 741 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    w2 bis221 memo

    • 486 Words
    • 3 Pages

    Information technology advances in order to keep up with the demands of the modern world. One such way, is the availability to access money from automated tellers and point of sale terminals. “Congress implemented the Electronic Funds Transfer Act in 1978 to establish the basic rights, liabilities and responsibilities of consumers who use electronic funds services and financial institutions who offer those services.” (FDIC, 2006). This law protects an individual consumer’s privacy by ensuring the financial institution protects the digital data it is storing and that it does not disseminate that information to the wrong individual. The financial institution must ensure it receives and authentic information from the consumer and accurately transfer the information into the computer system. “The ETA also identifies error resolution and limits liability for any unauthorized transactions “(FDIC, 2006).…

    • 486 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Gail Anderson-Dargatz’s masterpiece, The Cure for Death by Lightning, recounts the story of Beth Weeks, a fifteen-year-old living on a farm near a reserve. Throughout the story, Beth has to endure different kinds of ill-treatment as well as an invisible predator who seems to be following her. Through her struggle, the author reveals that a character, despite being abused, and having to live in difficult conditions can evolve into a mature and responsible young woman. Beth’s encounters, as well as her choices throughout the novel, help her overcome her difficult situation and put a stop to the abuse she’s going through.…

    • 823 Words
    • 4 Pages
    Better Essays
  • Better Essays

    This is why EC (electronic commerce) has become regular practice in daily life. EC is the process of buying, selling, transferring, or exchanging products, services, and information through electronic means like the internet and electronic networks. Doing business electronically and using mediums like E-tailing or electronic retailing is which is “the practice of selling goods and services over an electronic medium like the Internet (ECommerce.info, 2010).” Enables today’s businesses to save time and money in conducting business electronically on a global scale.…

    • 1174 Words
    • 5 Pages
    Better Essays
  • Good Essays

    April: Determinism is a belief in the inevitability of causation. Everything that happens is the only possible thing that could happen (Baumeister,2009).…

    • 816 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    3. The third step is the when the receiver has to interpret/decode the sender 's message.…

    • 1467 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    My Agent's Power

    • 734 Words
    • 3 Pages

    a. Conduct any business with any banking or financial institution with respect to any of my accounts, including, but not limited to, making deposits and withdrawals,…

    • 734 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Cacho Hermanos Inc.

    • 696 Words
    • 3 Pages

    Having a common owner makes the sister companies complacent in paying CHI. The top management should order strict payment to CHI from other subsidiaries in order to maintain a healthy cash flow within CHI. A corresponding penalty, put in place as part of its company rules, could make observance of this rule effective.…

    • 696 Words
    • 3 Pages
    Satisfactory Essays