Skip to main content
Non Programmer Experiment
Contents
Search Book
close
Search Results:
No results.
Prev
Up
Next
Scratch ActiveCode
Profile
Course Home
Assignments
Practice
Peer Instruction (Instructor)
Peer Instruction (Student)
Change Course
Instructor Dashboard
Progress Page
Edit Profile
Change Password
Log Out
1
Consent Form and Survey
1.1
Consent Form
1.1
Exercises
1.2
Survey
1.2
Exercises
2
Write Conditional
2.1
WriteConditional-Subgoals
2.2
WriteConditional-Exercise
2.2.1
WrCond-Parsons-Problem
2.2.1
Exercises
3
Write Loop
3.1
WriteLoops-Subgoals
3.2
WriteLoops-Exercise
3.2
Exercises
4
Closing Page
Section
3.1
WriteLoops-Subgoals
Subgoals for Writing a Loop.
Determine purpose of loop
🔗
Pick a loop structure (while, for, do_while)
🔗
🔗
🔗
🔗
Define and initialize variables
🔗
🔗
Determine termination condition
🔗
Invert termination condition to continuation condition
🔗
🔗
🔗
🔗
Write the loop body
🔗
Update Loop Control Variable to reach termination
🔗
🔗
🔗
🔗
🔗
You have attempted
1
of
1
activities on this page.
🔗