# PRG 211 Entire Course

PRG/211

Algorithms and Logic for Computer Programming

**********************************************

https://uopcourses.com/category/prg-211/

**********************************************

PRG 211 Week 1 Individual: University Project: Problem Solving with Algorithms

During this course you will design a program for a state university. The university needs a website design that will enable students to order books online. Each week you will receive additional instructions for the elements of the design based on the needs of the university. The elements will correspond with the concepts and skills you learn that week.

According to the university’s website design request, students need to order five books, one for each of the five required courses that all students take. You need to design a program that will prompt students for the price of each book and display the total cost for the five books.

Create a 1- to 1 3/4-page document listing the steps needed to solve the problem using an algorithm, including the following:

Identify the input needed

Define what the input must do (i.e., the process)

Show what the output must produce

Create a 1/2- to 1-page document of your pseudocode based on the algorithm, including the following:

Write the pseudocode statement(s) for the input

Write the pseudocode statement(s) for the process

Write the pseudocode statement(s) for the output

Create a 1-page flowchart based on the algorithm, including the following:

Mark the program’s starting point

Represent the input steps in the program

Represent the process steps in the program

Represent the output steps in the program

Mark the program’s ending point

Submit your assignment using the Assignment Files tab.

PRG 211 Week 2 Individual: Tip, Tax, and Total

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 using the Assignment Files tab.

PRG 211 Week 2 Individual: University Project: Using Selection and Iteration I

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 Week One Individual 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 Week One Individual Assignment, Problem Solving with Algorithms.

Submit your assignment using the Assignment Files tab.

PRG 211 Week 3 Individual: Yum Yum Burger Joint

Complete the Lab 5-5, “Programming Challenge 1 – Yum Yum Burger Joint,” of Starting Out with Programming Logic and Design .

Note: You are only required to create the flowchart for this activity; however, notice how the pseudocode compares to the given Python code for this assignment.

Submit your assignment using the Assignment Files tab.

PRG 211 Week 3 Individual: University Project: Using Selection and Iteration II

The university would like to remind students to pick-up their books at the bookstore if they choose not to have books delivered.

Revise the website program to reflect the following changes:

Prompt the student for the number of courses being taken

Use a for 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, display the total price of the books

Prompt the user for the following shipping options: delivery or pick-up

Use an if-then-else statement to add the charges to the total price if the shipping charges are greater than 0

If there are shipping charges, display the total charges and shipping date

If there are no shipping charges, display the total charges and a message indicating that the books can be picked up at the bookstore

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs.

Create a 1-page flowchart based on the algorithm for the revised program needs.

Submit your assignment using the Assignment Files tab.

PRG 211 Week 4 Individual: Going Green

Complete the Lab 9-5, “Programming Challenge 1 — Going Green,” of Starting Out with Programming Logic and Design.

Note: You are only required to create the flowchart for this activity; however, notice how the pseudocode compares to the given Python code for this assignment.

Submit your assignment using the Assignment Files tab.

PRG 211 Week 4 Individual: University Project: Using Arrays

The university updated its website program design request with a few more features to fit its needs.

Update the website program to reflect the following changes:

Use an array to prompt the user to enter a credit card account number

Use the sequential search algorithm to locate the credit card number entered by the user

If the credit card number is not in the array, display a message indicating the number is invalid

If the credit card number is in the array, display a message indicating the credit card number is valid

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs. Add the pseudocode statements to the existing pseudocode program.

Create a 1- to 2-page flowchart based on the algorithm for the revised program needs. Add the flowchart structure in the existing flowchart for the program.

Submit your assignment using the Assignment Files tab.

PRG 211 Week 5 Individual: University Project: Using Files

For completion of the program, use arrays and files.

Instead of prompting the user for the prices of the book, update the website program to reflect the following changes:

Read the prices into an array from a file using a loop

Use a second loop to sum the values stored in the array after the prices of all the books have been read

Write the content of the array to a second file

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs. Replace the pseudocode statements in the existing pseudocode program.

Create a 1- to 2-page flowchart based on the algorithm for the revised program needs. Replace the flowchart structure in the existing flowchart for the program.

Submit your assignment using the Assignment Files tab.