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

E - r schema with weak entity, Consider the E/R schema with weak entity set...

Consider the E/R schema with weak entity sets shown below. Come up with the SQL CREATE TABLE statements (with appropriate primary key, unique and foreign key constraints). Include

Lossless-join decomposition, Lossless-Join Decomposition   Let us sh...

Lossless-Join Decomposition   Let us show an intuitive decomposition of a relation. We require a better basis for deciding decompositions since intuition may not always be r

#, How to use Oracle

How to use Oracle

BCA, Ask qu. Write a XML with database with book details (Book ID, Title, A...

Ask qu. Write a XML with database with book details (Book ID, Title, Author, subject, published year, language, vendor, and price).estion #Minimum 100 words accepted#

Case-based online phone repair, please i request for your assistance in de...

please i request for your assistance in developing a case-based online phone repair

What is index, What is Index? An index is a physical structure having p...

What is Index? An index is a physical structure having pointers to the data. Indices are created in an existing table to locate rows more quickly and efficiently. It is possibl

Define timestamp ordering, Define Timestamp ordering Ans In timestamp-b...

Define Timestamp ordering Ans In timestamp-based method, a serial order is made among the concurrent transaction by assigning to every transaction a unique nondecreasing number

Data control, Data Control The data control mostly refers to commands that...

Data Control The data control mostly refers to commands that permit system and data privileges to be passed to several users. These commands are usually available to database admi

Extended star schema, Why did SAP introduce the extended star schema? Expla...

Why did SAP introduce the extended star schema? Explain why it is reported to be better than the traditional schema model?

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