program logic


Also found in: Dictionary, Thesaurus, Medical, Legal.

program logic

[′prō·grəm ‚läj·ik]
(computer science)
A particular sequence of instructions in a computer program.

program logic

The instructions in a program arranged in a prescribed order to solve a problem. Give a set of requirements to 10 programmers, and each may create different program logic. All versions may work equally well, or there may be differences. The best program runs the fastest and is written so that it can be easily changed later on.

Program logic is written using three classes of instructions: sequential processing, selection and iteration.

Sequential Processing
These instructions do the actual data processing, such as input, output, add, subtract and copy (move).

Selection
The decision making within the program is performed by comparing two sets of data and branching to a different part of the program based on the results. In assembly languages, the compare and branch instructions are used. In high-level languages, IF THEN ELSE and CASE statements are used.

Iteration
Many functions must be repeated for some number of times and are accomplished with DO LOOPS and FOR LOOPS in high-level languages and GOTOs in assembly languages. See loop.


Program Logic
This is the overall logic of a business application, which is also defined as the main loop in a program. The logic contained within the process block can, however, be extremely complicated.
References in periodicals archive ?
It gives an efficient tree-based representation of the program logic to the users.
Impact of plant activities on versions of program logic
If you are interested in program logics and program verification using dynamic logic, this is your book.
Some staff, particularly those not in teams, were also asked to consider the program logic individually, to comment on its accuracy, and to suggest changes or additions.
Appendices include: (1) Program Logic Model; and (2) Evaluation Issues and Questions Matrix.
Users can quickly program logic steps in an intuitive QuickStep state-based language.
EISS[TM] provides a physical hedge by deploying facility based program logic that enables predetermined changes in electricity consumption in response to price signal information, Demand Response (DR) events and other related initiatives, such as Price Responsive Demand (PRD) programs," said James Boch, Principal Electrical Engineer, IPKeys.
Appendices include: (1) Program Logic Model; (2) Evaluation Issues and Questions Matrix; and (3) Bibliography.
Coverage includes an introductory overview of logic models, building and improving theory of change logic models, creating program logic models, improving project logic models, and practical ways that logic models can assist in monitoring and evaluation.
ASSET's MicroMaster module employs CPU emulation to perform functional test and diagnostic routines on circuit boards and chips, and to program logic and memory devices in-system at high CPU speeds.
Tenders are invited for Water treatment plant high service pump pressure control panel and program logic control improvements.

Full browser ?