PL control flow structure categories

Control flow is executed or evaluated by a program which would be imperative or declarative via individual statements,instructions, or function calls. The control flow concept is one of the most important issue of programming language design. The control flow issue consist of eight categories. The categories are below:
1. sequencing: statements executed specified order in general in accordance with the code text.
2. selection: using condition constructs such as (also popular) if and case (switch) statements. It would depending on run-time condition.
3. iteration: it provides repeatly execution of a part of code. It can be work absolute number or till a case that the condition is true in run-time. Terms used in example for, do-while, repeat constructs.
4. procedural abstraction: a subroutine which as an example control construct but it is not simple collection of the construct.
5. recursion: recursion on the other hand, self-referential subroutines that the approach to save the information of evaluated partially instances.So,it needs a stack structure. Due to the this feature of the computational model the expression is defined in terms of itself.
6. concurrency: simple means paralellism,more than one part of program are to be executed at the same time.
7. exception handling and speculation: exception handling is when the condition is false, an execution handling works either remainder protected program fragment or the whole protected fragment. The second is speculation.
8. nondeterminacy: The ordering or any choosing of statements is not specified.

and also available details.PLP

—————————————————————————
sirin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s