wk-4-discussion-data-manipulation-due-thurs-wk-4-going-green-due-mon-wk-4-university-project-using-arrays-due-mon-wk-5-discussion-algorithms-and-object-oriented-classes-due-thurs-1
Wk 4 Discussion – Data Manipulation [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:
Research data manipulation, efficiency, and memory in programming.
Why are data manipulation, efficiency, and memory useful in programming? Provide specific examples for each.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
Wk 4 – Going Green [due Mon]
Resource: Assignment Grading Guide
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.
Wk 4 – University Project: Using Arrays [due Mon]
Assignment Content
-
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.
Wk 5 Discussion – Algorithms and Object-Oriented Classes [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:
Read the following pseudocode class definitions:
Class Plant
Public Module message()
Display “I’m a plant.”
End Module
End Class
Class Tree Extends Plant
Public Module message()
Display “I’m a tree.”
End Module
End Class
Given these class definitions, determine what the following pseudocode will display:
Declare Plant p
Set p = New Tree()
Call p.message()
Discuss how algorithms address object-oriented classes and objects.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
Wk 5 – University Project: Using Files [due Mon]
Assignment Content
-
Resource:
Assignment Grading Guide
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.