Verified Document

Iteration Structure Though Programming Can Involve Complex Essay

Iteration Structure Though programming can involve complex algorithms and high-level mathematics, and ultimately of course all programming languages depend on complex interfaces with the circuitry and hardware of the computer as well as the complexities and machinations of the source code, not all or even most features of common programs are actually all that complex or difficult to design, create, and implement. There are many parts of programs that are fairly simple architectural features, and even though these features can be quite complex in the ways in which they can be linked together and used to derive specific actions or results, they are ultimately fairly basic in their design and their operations (Dunphy 2011; Schmalz 1997). The term "control structures" refers to a variety of such architectural chunks that re used to tell a program where to go and what to do next, as very few programs function in a purely linear fashion (Soulle 2010). This paper will focus on one specific type of control structure and a possible application for it: the iteration structure.

Iteration structures are often simply called loops, as this is in fact what they are -- they are structures within a program that call for the repetition of the same series of steps/manipulations to take place until certain criteria are met...

This criteria could even consist simply of the number of iterations completed -- perhaps the program needs to generate twenty random numbers and manipulate them in the same way; the iteration structure would be designed with some sort of counting mechanism and would repeat or "loop" until that mechanism gave a measurement of twenty (Strath 2011; Schmalz 1997).
Iteration structure s are very common features in many different applications, and as such they are basic parts of almost every programming language -- certainly every language that is in wide use (Soulle 2010; Dunphy 2011; Strath 2011). In Pascal, the "While loop, which is also called the "while...do" loop or conditional loop, repeats as long as a certain condition as true: while x, do y, essentially (Schmalz 1997). There are also "Bock If" loops, which allow for multiple logical predicates to be analyzed by the program to determine future actions/manipulations by creating a series of repeatable if/then sequences (Schmalz 1997). "While" loops are very similar in their applications and mode of use in C++ programming; there are also "do-while" loops, which are very similar but which test for the "while" condition after the manipulation rather than before, ensuring that at least one iteration will be required very time the…

Sources used in this document:
References

Dunphy, I. (2011). Iteration. Accessed 26 February 20111. http://www.slideshare.net/ldunphy/iteration

Scmalz, M. (1997). PASCAL Programming: § 4: Selection and Iteration Structure. Accessed 26 February 2011. http://www.cise.ufl.edu/~mssz/Pascal-CGS2462/ifs-and-loops.html

Soulle, J. (2010). Control structures. Accessed 26 February 2011. http://www.cplusplus.com/doc/tutorial/control/

Strath, A. (2011). Control Structures: Iterations. Accessed 26 February 2011. http://www.infis.units.it/fortran/controls.html
Cite this Document:
Copy Bibliography Citation

Related Documents

Software Development Lifecycles Balancing Increasingly Complex Requirements...
Words: 955 Length: 3 Document Type: Essay

Software Development Lifecycles Balancing increasingly complex requirements for new software applications with the constraints of costs, time and resources has made the use of software development lifecycles invaluable. The reliance on software development methodologies is increasing as shortages of programming expertise are leading to many companies relying on virtual project development teams (Batra, Xia, VanderMeer, Dutta, 2010). Virtual teams and the new reality of software development being global in scope

Modeling Real-World Data With Sinusoidal
Words: 2604 Length: 9 Document Type: Journal

6. The rabbits will never die. The question was how many male/female rabbit pairs will be there after a year or 12 months? When the experiment begun, there is a single pair of rabbits. After duration of one month, the two rabbits have mated though they have not given birth. As a result; there is still only a single pair of rabbits. After duration of two months, the initial pair of rabbits will give

Genetic Algorithms Parallel Genetic Algorithms 1d Bin Packing Supercomputers...
Words: 9676 Length: 20 Document Type: Dissertation or Thesis complete

Solving the 1D Bin Packing Problem Using a Parallel Genetic Algorithm: A Benchmark Test The past few decades have witnessed the introduction in a wide range of technological innovations that have had an enormous impact on consumers, businesses and governmental agencies. Computer-based applications in particular have been key in facilitating the delivery of a wide range of services and information, and computer processing speeds have consistently increased incrementally. Computer processing speeds,

Spotlighting Samplings 4 Qualitative Research Choices 6
Words: 16532 Length: 60 Document Type: Research Paper

Spotlighting Samplings 4 Qualitative Research Research Choices 6 the Phenomenology Method The Ethnography Method DEPTH Four Qualitative Approach Comparison Strengths and Critiques of Case Studies "A research design indicates the full research process from conceptualization of the research problem, generation of data, analysis and interpretation of findings, and dissemination of results" (Magilvy & Thomas, 2009, What and Why… Section, ¶ 4). The Question of Interest What type of research design should the researcher use? To answer the study's critical research

Software Processing Methodology Understanding the Problem Klyne
Words: 7750 Length: 20 Document Type: Dissertation

Software Processing Methodology Understanding the Problem Klyne Smith, DSE Candidate Dr. Frank Coyle Technical Motivation Research and Contribution Methods Software Processing Methodologies Waterfall Methodology Strengths Weaknesses Opportunity Threats Iterative Methodology Strengths Weaknesses Opportunities Threats Model Methodology Strengths Weaknesses Opportunities Threats Where do we go from here (Spring 2010)? Define measurement data points for Test Case analysis Section IV Creation and Validation of the predictive model Section V Summary Analysis Practical Usage Praxis Conclusion Books Articles / Web Information Software Processing Methodology: Understanding the Problem Section I: Introduction In this work, I examine three different Software Processing Methodologies. I start with the iterative model, followed by the spiral

Fuzzy Logic and Project Portfolio Management
Words: 14782 Length: 54 Document Type: Multiple Chapters

Portfolio Management In the project portfolio management context, a portfolio is an aggregation of active programs, projects and other business activities that indicate an organization's priorities, investments and allocation of resource (The standard for portfolio management, 2008). According to the editors of PM Network, "Portfolio management is the centralized management of one or more of those portfolios to achieve specific strategic business objectives" (2008, p. 75). Using project portfolio management

Sign Up for Unlimited Study Help

Our semester plans gives you unlimited, unrestricted access to our entire library of resources —writing tools, guides, example essays, tutorials, class notes, and more.

Get Started Now