PRG/211 Week 1
Individual: University Project: Problem Solving with Algorithms
Includes Working Visual Logic Flowchart!
Also includes Steps (Algorithm), Pseudocode, and Visual Logic flowchart file!
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.
Lab 1.5: Input, Processing, and Output
Lab 1.5 – Programming Challenge 1 – Team Average
Includes Algorithm, Pseudocode, Python Code, and Flowchart Visual Logic file!
Write the Algorithm, Pseudocode, Flowchart, and Python code for the following programming problem. Team Average A college wants you to write a program for them that will calculate the average number of wins for their football team over the past five years. The user of the program should be able to enter the number of wins each year. The program will calculate the average number of wins during that five year period and display that information to the screen.
NOTE: Discussion Questions are different depending on which Instructor you have, however the following questions have been included as a BONUS for this tutorial.
Supporting Activity:Week 1 Discussion Questions
1. Why is a flowchart useful in developing and documenting software?
2. Why is the interactive Visual Logic flowchart program more useful than a
manually drawn flowchart?
3. Is a flowchart more valuable in documenting the logic of a program than just
the coded instructions in the programming language? Explain your answer.
4. What are the similarities and differences between procedures and objects?
5. What is an example of software that would be best implemented in procedural
6. What is an example of software that would be best implemented in object-
The following assignment incorporates the concepts from prior weeks (variables, if-else logic, loops, and arrays), along with this week’s topic of file input/output process.
Create a Visual Logic® program that will:
- Create an array of people’s first names. Using a loop, read the names from a text (txt) file, and store each one into the array. The array should allow for a maximum of 100 entries. Continue to read in first names and store them into the array. The last entry in the text file, containing “LastOne,” will indicate the end of the list of names.
- Prompt the user for a first name.
- Loop through the array to determine if the first name entered exists in the array. If a match is found, display a message that includes the name and a message indicating that there was a match found. If no match is found, display a message so indicating.
- Using a loop, continue to prompt the user for first names and determine if a match in the array is found. The loop should continue until the user indicates “stop” as the first name.
- This program requires the use of nested loops. The outer loop will repeat, prompting the user for a first name until the user indicates to stop. The inner loop will search through the array for a match.
- Review the Sample Program #3 on pages 83-87 in A Guide to Working with Visual Logic® for an example of using files.
- Have the txt files, your Visual Logic® program, the Visual Logic® exe file, and the VLSig file in the same folder.
- Put quotes around each name in the text (txt) file.
Submit the following in a zip file, using the Assignment Files tab:
- Text (txt) file with names
- Visual Logic® (vls) file
This assignment includes a ZIP file.
- PRG211_Week_5_Individual.zip (17.29 KB)
Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.