PRG211 Phoenix Week 2 Decision and Repetition Structures Discussion
Wk 2 Discussion Decision and Repetition Structures [due Thurs]
Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.
Due Thursday
Respond to the following in a minimum of 175 words:
The flow of a program is controlled by different structures. The three basic control structures in computer programs are sequence structures, decision structures (also called selection structures), and repetition structures (also called iteration structures).
Discuss the differences between decision structures and repetition structures used in algorithms. Provide examples of when you might use each.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
Wk 2 Tip, Tax, and Total [due Mon]
Assignment Content
Resource: Assignment Grading Guide
Complete the Lab 4-6, “Programming Challenge 1 Tip, Tax, and Total,” of Starting Out with Programming Logic and Design.
Note: You are only required to create the pseudocode for this activity; however, notice how the pseudocode compares to the given Python code for this assignment.
Submit your assignment.
Resources
Center for Writing Excellence
Reference and Citation Generator
Grammar and Writing Guides
Learning Team Toolkit
Wk 2 University Project: Using Selection and Iteration I [due Mon]
Assignment Content
Resource: Assignment Grading Guide
The university reassessed its needs for the website design and determined it will no longer require all students to take five classes.
Update the website program to reflect the following changes:
Prompt the student for the number of courses being taken
Use a while loop to prompt the student for the price of each book based upon the number of classes being taken
After the price of each book has been entered, prompt the user for shipping options: delivery or pick-up
Use an if statement to add the charges to the total price if the shipping charges are greater than 0
Display the total cost
Create a 1/2- to 1-page document containing pseudocode based on the revised program needs. Add this to the revised program pseudocode from the Wk 1 Assignment Problem Solving with Algorithms.
Create a 1-page flowchart based on the algorithm for the revised program needs. Add this to the revised program flowchart from the Wk 1 Assignment Problem Solving with Algorithms.
Submit your assignment.
Resources
Center for Writing Excellence
Reference and Citation Generator
Grammar and Writing Guides
Learning Team Toolkit
“Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results.”