0% found this document useful (0 votes)
66 views1 page

Provides Alternatives in A Construct For The Program To Decide Iteration: Is The Repeated Execution of A Section of Code When A Program Is Running

The document explains three fundamental programming concepts: Sequence, Selection, and Iteration, with real-life examples for each. It also discusses a method for using two cubes with specific numbers to achieve a desired outcome by creatively manipulating the cube faces. The focus is on understanding the order of operations and decision-making in programming.

Uploaded by

Just Lurker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views1 page

Provides Alternatives in A Construct For The Program To Decide Iteration: Is The Repeated Execution of A Section of Code When A Program Is Running

The document explains three fundamental programming concepts: Sequence, Selection, and Iteration, with real-life examples for each. It also discusses a method for using two cubes with specific numbers to achieve a desired outcome by creatively manipulating the cube faces. The focus is on understanding the order of operations and decision-making in programming.

Uploaded by

Just Lurker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.Sequence: Sequence is the order in which orders/instructions occur and are processed.

Selection: provides alternatives in a construct for the program to decide

Iteration: is the repeated execution of a section of code when a program is running

2.Sequence. Real life example: whether you poor the cereal first or the milk first.

Selection: Real life example: when you go down the left path on the road around the nature
reserve

Iteration: Practicing something over and over again until you are content with the outcome

3. the first cube has the numbers: 0,1,2,3,4,5


The second cube has the numbers: 0,1,2,7,8,6

im doing this since both cubes need to have the numbers 0,1 and 2 because the numbers
01-09 and 10,11,22,20 make it so that’s the cas. With the rest of the 7 numbers necessary
with only 6 sides total my way for this was to just flip the cube upside down on the 6 to
make a 9 putting 2 numbers used on one side of the cube face.

You might also like