Control as a state machine engine, Database Management System

Assignment Help:

Control as a State Machine Engine

First let us define the state machine: "the state machine is a machine which is an object but not an application object. It is a part of language substrate to support syntax of application object". The normal approach to implement control is to have a few ways of explicitly representing and executing state machines. For illustration, a general "state machine engine" class can provide capability to execute a state machine represented by table of transitions and actions provided by application. As you know, each object consists of its own independent state variable and can call on the state engine to determine next state and action.

This approach helps quickly progress from analysis model to a skeleton prototype of system by defining classes from object model, state machines from dynamic model and creating "stubs" of action routines. A stub can be termed as "the minimal definition of a subroutine or function without any internal code". So, if every stub-print out own name, this technique permits you to execute skeleton application to verify which the basic flow of control is correct or not.

State machine mechanisms can be created easily using the object oriented language. 

 


Related Discussions:- Control as a state machine engine

What are metrics for choosing the best algorithm, What are metrics for choo...

What are metrics for choosing the best algorithm? Matrices for choosing the best algorithms are as below: Computational complexity Ease of understand ability and im

Define the one-way associations, One-way Associations When an associat...

One-way Associations When an association is traversed only in the one direction, then it is implemented as a pointer i.e.an attribute which contains an object reference. If mu

Determine the Disadvantages of file based systems, Determine the Disadvanta...

Determine the Disadvantages of file based systems Some of the disadvantages of file based systems are like this: Data redundancy and inconsistency: the dissimilar applic

Keys, #questiontypes of keys examples..

#questiontypes of keys examples..

Boyce-codd normal form (bcnf), Boyce-Codd Normal Form (BCNF) The relati...

Boyce-Codd Normal Form (BCNF) The relation NEWSTUDENT (Enrolmentno, Sno, Sname, Cname, Cno,) has every attributes participating in candidate keys as all the attributes are assu

FIELDS, 4. Describe three ways to handle missing field values

4. Describe three ways to handle missing field values

What is meant by buffer blocks and disk buffer, What is meant by buffer blo...

What is meant by buffer blocks and disk buffer   The blocks residing temporarily in main memory are referred to as buffer blocks. The area of memory where blocks reside t

multiple-mode locks, Multiple-mode locks : It offers two locks: exclusive ...

Multiple-mode locks : It offers two locks: exclusive locks and shared locks. But why do we require these two locks? There are a lot of transactions in the database system that neve

What is a checkpoint, What is a checkpoint? List the operations to be perfo...

What is a checkpoint? List the operations to be performed by the system when a checkpoint is to be taken. What does the recovery system do if there is a crash? There is large n

Explain physical and logical independence, Define Physical and Logical inde...

Define Physical and Logical independence  Ans: Physical data independence: The ability to modify physical level without causing application program to be rewritten. Logic

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd