• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Selection Control and Repetition Control Structure

Page
  1. 1
    1
  2. 2
    2
  3. 3
    3
  4. 4
    4
  5. 5
    5
  6. 6
    6
  7. 7
    7
  • Essay length: 931 words
  • Submitted: 24/05/2009
Share this essay:
University Degree Engineering

The first 200 words of this essay...

Selection Control and Repetition Control Structure

University of Phoenix

Mayada Set

PRG/210

Fundamental of Programming with Algorithm and Logics

Instructor Name: Guillermo A. Hernandez

Date: May 15, 2009

Before writing a program to solve a problem, we must have a thorough understanding of the problem and a carefully planned approach to solving it. When writing a program, we must also understand the types of building blocks that are available and employ proven program construction techniques. A computer can process a program in one of three ways: in sequence; selectively by making a choice, which is also called a branch; or repetitively by executing a statement over and over, using a structure called a loop. Control structures provide alternatives to sequential program execution and are used to alter the sequential flow of execution. The two most common control structures are selection and repetition. In selection, the program executes particular statements depending on some condition(s). In repetition, the program repeats particular statements a certain number of times depending on some condition(s).

Four types of selection control structure are simple selection, simple selection with null false branch, combine selection and nested selection.

Read more
The above preview is unformatted text

Found what you're looking for?

  • Start learning 29% faster today
  • Over 150,000 essays available
  • Just £6.99 a month

  • "
    This site has helped me a lot with my coursework because it has enabled me to think, find evidence and explain my literature texts. Thanks to this site I have started receiving A* and As in English.
    "
    Zoia, London. GCSE Student. 'English, Science, RE, Geography, History.'
  • "
    Give credit where credit is due Markedbyteachers.com deserve it. Only Website that provides the best service with no doubt. Been using this website for the past 5 years now. Never let me down. Try it!!!
    "
    Waseem Hussain. Biology, Maths, Chemistry, ICT A Level Student.

Marked by a teacher

This essay has been marked by one of our great teachers. You can read the full teachers notes when you download the essay.

Peer reviewed

This essay has been reviewed by one of our specialist student essay reviewing squad. Read the full review on the essay page.

Peer reviewed

This essay has been reviewed by one of our specialist student essay reviewing squad. Read the full review under the essay preview on this page.