Forgot your password?  

Not What You Meant?  There are 15 definitions for Sub.  Also try: Routine or Nan or Caller.

Conditional Control Transfer | Research & Encyclopedia Articles

Print-Friendly   Order the PDF version   Order the RTF version
About 1 pages (278 words)
Subroutine Summary

 


Conditional Control Transfer

Conditional control transfer was proposed by John von Neumann in the mid 1940s. His concept held that a program could be written in a series of subroutines--small blocks of code that could be read in any desired order:mdash;instead of having one large routine or a single series of chronologically ordered steps.

Since this proposal, conditional control transfer has become a reality. Computer code can branch based on logical statements such as IF....THEN, and can be looped (or repeated) with an FOR statement. Such statements have created libraries of code, also called subroutines, that can be used and re-used.

Conditional control transfer permits code (the subroutines) to be used in various parts of a program, and eliminates the need for a programmer to redundantly write in the same code in different routines. Moreover, the outcome of the use of the subroutine in different areas of a program may be different. The subroutine can be executed differently. This is because the machine instruction mechanism of conditional control transfer allows the program sequence to be stopped and started again at any point. Because the instruction programs are stored together with the data in the same memory, the instructions can be arithmetically changed in the same manner as data can be changed.

As a result of conditional control transfer, computational work has become much faster, flexible and more efficient since von Neuman's time. Regularly used subroutines now do not have to be reprogrammed for each new program in which they are used. Rather, the subroutines can be maintained in the libraries, to be read into memory only when they are required. Thus, a given program might be almost completely assembled using library subroutines.

This is the complete article, containing 278 words (approx. 1 page at 300 words per page).

More Information
  • View Conditional Control Transfer Study Pack
  • 15 Alternative Definitions
  • Search Results for "Conditional Control Transfer"
  • More Products on This Subject
    Subroutine
    A subroutine, which can also be commonly called a routine, is a section of a computer program that ... more


    Ask any question on Subroutine and get it answered FAST!
    Answer questions in BookRags Q&A and earn points toward
    discounted or even FREE Study Guides and other BookRags products!
    Learn more about BookRags Q&A
    Copyrights
    Conditional Control Transfer from World of Computer Science. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.

    Join BookRagslearn moreJoin BookRags

    Join BookRagslearn moreJoin BookRags