Define the term- control as state within program, Database Management System

Assignment Help:

Control as State within Program

1.  The term control exactly means to check effect of input within a program.

For illustration, in Figure, after the ATM card is inserted (as an input) the control of program is transferred to the further state (i.e. to request password state).

2.  This is traditional approach to represent control inside a program. The location of control within a program implicitly defines program state. Every state transition corresponds to an input statement. After input is read, program branches depending on an input event produce some result. Each input statement handles any input value which could be received at that time. In case of extremely nested procedural code, low-level procedures must allow inputs which may be passed to upper level procedures. After receiving the input they pass them up through many levels of procedure calls. There may be any procedure prepared to handle these lower level calls.

 


Related Discussions:- Define the term- control as state within program

Relational DB, Suppose R is a relation with attributes A1, A2,..., An. As a...

Suppose R is a relation with attributes A1, A2,..., An. As a function of n, tell how many superkeys R has, if: 1.1 The only key is A1. 1.2 The only key is A1 and A2. 1.3 The o

Data aggregation, Q.   Explain  data aggregatio n and discuss differen...

Q.   Explain  data aggregatio n and discuss different design constraints. Sol. Aggregation   One limitation of the E-R model is that it cannot express relationships amon

Give the levels of data abstraction, Give the levels of data abstraction? ...

Give the levels of data abstraction? There are three levels of Data Abstraction a) Physical level b) logical level c) view level

How many types of views are there, How many types of Views are there? ...

How many types of Views are there? There are Four types of views:- Database View Help View Projection View Maintenance View

Log, what is the need of a log in dbms

what is the need of a log in dbms

What is called a query evaluation plan, What is called a query evaluation p...

What is called a query evaluation plan? A sequence of primitive operations that can be used to assess a query is a query evaluation plan or a query implementation plan.

ER diagram, Explain the conventions (relationships) for displaying an ER sc...

Explain the conventions (relationships) for displaying an ER schema as an ER diagram.

Two types of blocks in the fixed -length representation, What are the two t...

What are the two types of blocks in the fixed -length representation? Define them. Anchor block: Have the first record of a chain. Overflow block: Have the records other tha

Project on designing and creating a database , This project will involve de...

This project will involve designing and creating a database for an organization.  In the design of a database, there is no single "perfect" design.  So your database design may not

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