Mid Term Papers Home  |  Join  |  Contact Us  |  Privacy Policy  |  Login  |  Logout
  Search Keywords:  


Acceptance Essays
American History
Anatomy
Animal Science
Anthropology
Arts
Astronomy
Aviation
Beauty
Biographies
Book Reports
Business
Computers
Creative Writing
Current Events
Economics
Education
Engineering
English
Environmental Science
Ethics
European History
Film
Foreign Languages
Geography
Government
Health
History
Human Sexuality
Legal Issues
Marketing
Mathematics
Medicine
Miscellaneous
Music
Mythology
Philosophy
Physiology
Poetry
Political Science
Politics
Psychology
Religion
Science
Shakespeare
Social Issues
Sociology
Speech
Sports
Supernatural
Television
Technology
Theater
Zoology

Conditional And Iterative Data Types

Below is a free term papers summary of the paper "Conditional And Iterative Data Types." If you sign up, you can be reading the rest of this term papers in under two minutes. Registered users should login to view this term paper.

Term Paper TitleConditional And Iterative Data Types
# of Words3463
# of Pages (250 words per page double spaced)13.85

Conditional And Iterative Data Types

Conditional and Iterative

    A programming language cannot be a programming language with out its conditional and iterative structures. Programming languages are built to accomplish the task of controlling computer input and output. A programmer must use every tool available to complete his/her given tasks, and conditional as well as iterative statements are the most basic items of programming which must be mastered. Many different programming languages can demonstrate conditional and iterative statements including C++, Java, Pascal, Qbasic, COBOL, and Scheme. Most of these languages implement conditional and iterative statements in a similar fashion; however, there are a few differences.
    The conditional structure is easy to understand and self-defining. The whole statement is base on a condition and its veracity. When the statement or "test" is found to be true, a statement is executed, and if it is false, another test is given or the program continues to the next block. Conditional structures include the simple, two-alternative, multi-alternative, and non-deterministic conditional. The simple conditional is the easiest to understand being the IF-THEN statement.
    if <Boolean expression> then <block of statements>
IF a condition is met THEN execute a statement. The two-alternative conditional or IF-ELSE is also easy to understand.
    if <Boolean expression> then
        <block of statements>
    else
        <block of statements>
IF a condition is met execute a statement; ELSE the condition was not met so execute a different statement. The multi-alternative conditional is very close to the two-alternative conditional.
    if <condition-1> then
        <statement-block-1>
    elseif <condition-2> then
        <statement-block-2>
    …
    elseif <condition-n> then
        <statement-block-n>
    [else <statement-block-(n+1)>]
    end if
The IF question is asked about a statement, and if it is not true, the next statement is examined. If statement number two is not true, the next statement is examined; then the next statement is examined and so forth until a condition is met, and the control is carried out of the multi-alternative conditional. The non-deterministic conditional is similar to the multi-alternative conditional, because it has multiple conditionals.
    if <condition-1> &#61614; <statement-sequence-1>
        when <condition-2> &#61614; <

This is not the end of the termpaper! Register below to see the complete version of this term paper.

Membership Plans Credit Card Check
1 month membership
3 month membership
(You Save 50%)
6 month membership
(You Save 67%)

Home  |  Login  |  Logout  |  Join  |  Privacy Policy  |  Contact Us
Copyright © 2002-2009 Mid Term Papers. All rights reserved. This term papers website is used for research purposes only.
If you have forgotten your username or password, please click here.
If you like to cancel your account, please click here.

1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22