Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Essay

Unit 6 P3 Explain sequence, selection and iteration as used in computer programming

Document preview thumbnail
Preview 1 out of 3 pages

P3 Explain sequence, selection and iteration as used in computer programming

Content preview

selection, iteration and sequence

Selection:

Selection is one of the main structures from the three basic structures. A
selection is when a question is asked and depending on the answer, there may
be more than one outcome. Selection structures are also known as if
statements.

If statement is a selection statement that allows more than one possible fow
of control. If statements is also a decision statement. It can also be a true of
false statement.




Iteration:

This is a computer loop that goes thought a group of instructions which get
performed over and over again. Like the selection it’s also one of the main
structures out of the three basic structures. This structure includes the use3s
of two variables which are called the “while and “do while”.

While loop executes a function that is given by the programmer and it will go
on until the function is true. The while loop first tests the given condition then
it performs the function.

Document information

Study Level
Uploaded on
February 11, 2019
Number of pages
3
Written in
2015/2016
Type
Essay
Professor(s)
Unknown
Grade
Unknown
£3.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
connorj2
3.5
(31)
Sold
75
Followers
61
Items
39
Last sold
4 year ago

Reviews from verified buyers



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions