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

    Chapter 19 Questions

    • 385 Words
    • 2 Pages

    1. What type of check does a bank agree in advance to accept when the check is presented for payment?…

    • 385 Words
    • 2 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
  • Better Essays

    Use Cases

    • 1184 Words
    • 5 Pages

    In this use case the basic flow of events consists of the following: (1) the use case begins when bank customer inserts their bank card; (2) Use Case: Validate User is performed; (3) The ATM displays the different alternatives that are available on this unit. In this case the Bank Customer always selects “Withdraw Cash”; (4) the ATM prompts for an account; (5) the bank customer selects an account; (6) the ATM prompts for an amount: (7) the bank customer enters an amount;(8) card id, pin, amount and account is sent to Bank as a transaction. The Bank Consortium replies with a go/no go reply telling if the transaction is ok; (9) then money is dispensed; (10) the bank card is returned; (11) the receipt is printed; and finally (12) the use case ends successfully.…

    • 1184 Words
    • 5 Pages
    Better 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

    Assignment 1 Jiadai Gao

    • 596 Words
    • 2 Pages

    1. Prepare a list of internal control procedures that banks and other financial institutions have implemented, or should implement, for their ATM operations.…

    • 596 Words
    • 2 Pages
    Good 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
  • 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

    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
  • 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
  • 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