• 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

  • "
    Brilliant, easy website to use, wonderful range of assignments, cheap, quick to get back to you with questions, all round wicked website.
    "
    Gemma Haysman. Chemistry, Physics, Biology, Maths. GCSE Student.
  • "
    This site is great as it helps when you have to create essays, the site provides sample essays that can be used as guides. They are very informative and well thought out and researched.
    "
    Ruth, British Virgin Islands. University Student. Constitutional and Administrative Law.

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.