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 is a disjoint less constraint, What is a disjoint less constraint? ...

What is a disjoint less constraint? Ans: It needs that an entity belongs to no much more than one level entity set.  Disjoint less constraint needs that an entity belongs to

Relational database, Convert the following ER - diagram (Entity Relationsh...

Convert the following ER - diagram (Entity Relationship Diagram) into a relational database (the primary keys are underlined): 2160_Convert the following ER - diagram into a

State the object design for processing, State the Object Design for Process...

State the Object Design for Processing  The object design phase comes after analysis and system design phase. The object design phase includes implementation details like as i

What are referential integrity constraints, What are referential integrity ...

What are referential integrity constraints? A value that appears in single relation for a given set of attributes also appears for a particular set of attributes in another rel

Describe the statement in sql which allows to change, Describe the statemen...

Describe the statement in SQL which allows to change the definition of a table? In SQL Alter statement is used to allow the changes the definition of a table.

Write query to select student from math department, Consider the table stud...

Consider the table student and list names of students in the departments other than maths and computer. SELECT std_name FRM student WHERE dept_name NOT IN (‘Maths','Computer);

Compare the nested-loop join and block-nested loop join, Compare the Nested...

Compare the Nested-loop join and block-nested loop join Ans: Nested  loop join - It is costly as worst case cost, no. of block accesses needed is n r * b s + b r   where b

Explain instance and schemas, Explain Instance and schemas? Instances ...

Explain Instance and schemas? Instances and schemas: Databases changes over time as the information is deleted and inserted. The collection of information stored in database

Define union compatibility, Define union compatibility? Explain why INTERSE...

Define union compatibility? Explain why INTERSECTION of two relations cannot be performed if they are not union compatible? Two relations R(A1, A2,-------, An) and S(B1, B2,--

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