Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,778,285,174 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

program logic

   Also found in: Wikipedia 0.02 sec.

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.


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


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
Defect prevention and early detection is accomplished with the use of peer reviews on software documents and critical program logic, and unit testing.
A powerful program logic language, an interactive prototyping tool, and a code generator that analyzes data logic and creates highly optimized, portable C code specific to an application's needs.
``It was human error in the program logic,'' said Tillman plant manager Robert W.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a Terms of Use.