advanced |
PRG/211 Algorithms and Logic for
Computer Programming |
||
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. Create a 1- to 1 3/4-page document listing the steps needed to solve
the problem using an algorithm, including the following:
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.
Discussion Question: Algorithms Consider a potential business problem that would require a computer program solution. Discuss how an algorithm might be used to solve a problem that a business may encounter.
Supporting Activity: Additional 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 programming? 6. What is an example of software that would be best implemented in object- oriented programming?
|
||
PRG/211 Week 2
Individual: University Project: Using Selection and Iteration I Includes Working Visual Logic Program File! Also includes Steps (Algorithm), Pseudocode, Screenshot of working program, and Visual Logic flowchart! The university reassessed its needs for the website design and
determined it will no longer require all students to take five classes. the number of classes being taken options: delivery or pick-up charges are greater than 0
Individual: Tip, Tax, and Total Includes Algorithm, Pseudocode, Python Code, and Flowchart Visual Logic file! 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.
Learning Team Collaboration: Ch. 4, Debugging
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: Flowcharts Explain what is meant by a modular approach to programming. Why is this approach important?
Supporting Activity: Flowcharts What challenges did you encounter when creating your first Visual Logic flowchart? How can the Visual Logic program be used to determine the effect a single grade (such as a B or C) will have on your grade point average (GPA)?
|
||
PRG/211 Week 3
Individual: Yum Yum Burger Joint
Individual: University Project: Using Selection and Iteration II Includes Working Visual Logic Program File! Also includes Steps (Algorithm), Pseudocode, Screenshot of working program, and Visual Logic flowchart! The university would like to remind students to pick-up their books at
the bookstore if they choose not to have books delivered. number of classes being taken books • Use an if-then-else statement to add the charges to the total price if the shipping charges are greater than 0 indicating that the books can be picked up at the bookstore
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: Alternative Structures What are the similarities and differences between single alternative structures, dual alternative structures, and case structures? Provide an example of one of the three control structures using psuedocode. Try to provide an example that has not already been posted.
Supporting Activity: Iteration Structure What is an iteration structure? What problem does a repetition structure solve?
|
||
PRG/211 Week 4
Individual: University Project: Using Arrays Option 1: Includes Flowchart and Pseudocode Option 2: Includes Flowchart and Pseudocode NOTE: Visual Logic Program not included in Week 5 tutorials. The university updated its website program design request with a few
more features to fit its needs. by the user number is invalid card number is valid
Individual: Going Green
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: Arrays and ArrayList What is the difference between arrays and ArrayList? What are the advantages and disadvantages of an ArrayList, and when should you use an ArrayList over a simple array?
Supporting Activity: String and StringBuilder
|
||
PRG/211 Week 5
Individual: University Project: Using Files Option 2: Includes Flowchart and Pseudocode NOTE: Visual Logic Program not included in Week 5 tutorials. the books have been read
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: Direct and Random Access
Supporting Activity: Data Hiding
|