Assignment 1: Fran’s Virtual Fruit Stand, Part 1
Due Week 6 and worth 160 points
Fran’s Virtual Fruit Stand is an online store that sells several types of dried fruit. Based on the needs of Fran’s Virtual Fruit stand, you must design a flowchart using Visual Logic. The flowchart must also be a fully functional program which follows the design requirements below.
Note: This program does not require the use of arrays. The program will prompt for data on a single item, process that data, display any relevant messages as described below, and then move on to the next item. Use the “console” option in the output command to display the output in a single window. Displaying the output can be accomplished with as few as three (3) variables that simply get overwritten each time the loop repeats.
Using Visual Logic, design a flowchart that is also a fully functional program. According to your design, the program must:
1. Continually accept data regarding the purchase of fruit until a sentinel value is entered.
2. Prompt the user for each item, and accept the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
3. Display a clear message for items that are considered:
a. Best-selling items Note: Best-selling items are identified as those that sell 5,000 or more pounds per month on average. For example, an acceptable message may read, “Yellow raisins are a best-selling item.”
b. Big-ticket items Note: Big-ticket items are identified as those that are best-selling items and also cost $4 per pound or more. For example, an acceptable message may read, “Freeze-dried blueberries are a big-ticket item.”
c. High-priced items Note: High-priced items are identified as those that sell for $7 per pound or more. For example, an acceptable message may read, “Dried mangos are a high-priced item.”
d. Lowest-selling items Note: Lowest-selling items are identified as those that sell 500 pounds or less per month on average. For example, an acceptable message may read, “Dried Ugli Fruit is a lowest-selling item.”
e. High-income generating items Note: High-income generating items are identified as those that generate $7,000 or more per month on average. To determine the income generated per item, multiply the price per pound by the number of pounds sold per month. If the item generates $7,000 or more per month, an acceptable message may read, “Dried pineapple chunks are a high-income generating item.”
4. Loop through all of the above steps until the user types the sentinel value when prompted. Display the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program. Note: An acceptable message may read “Type n to end the program.”, where “n” is the sentinel value.
Your Visual Logic program must follow these formatting requirements:
· Be accomplished in a single Visual Logic program.
· Be submitted as a single file with the “.vls” file extension.
· Be fully functional in order to receive full credit.
The specific course learning outcomes associated with this assignment are:
· Demonstrate the use of algorithms and pseudocoding to the problem-solving process.
· Distinguish among the basic types, steps, and properties of programming.
· Apply the techniques of functional decomposition, modularization techniques, and debugging strategies into program design.
· Describe the features and fundamental data structures of programming design.
· Select and create the appropriate conditional and iteration constructs for a given programming task.
Grading for this assignment will be based on answer quality, logic / organization of the paper, and language and writing skills, using the following rubric.
Points: 160
Assignment 1: Fran’s Virtual Fruit Stand, Part 1
Criteria
Unacceptable
Below 60% F
Meets Minimum Expectations
60-69% D
Fair
70-79% C
Proficient
80-89% B
Exemplary
90-100% A
1. Design a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
Weight: 25%
Did not submit or incompletely designed a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
Insufficiently designed a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
Partially designed a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
Satisfactorily designed a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
Thoroughly designed a program that continually accepts data regarding the purchase of fruit until a sentinel value is entered.
2. Design a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Weight: 25%
Did not submit or incompletely designed a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Insufficiently designed a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Partially designed a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Satisfactorily designed a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Thoroughly designed a program that prompts the user for each item, and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
3a. Design a program that displays a clear message for best-selling items.
Weight: 4%
Did not submit or incompletely designed a program that displays a clear message for best-selling items.
Insufficiently designed a program that displays a clear message for best-selling items.
Partially designed a program that displays a clear message for best-selling items.
Satisfactorily designed a program that displays a clear message for best-selling items.
Thoroughly designed a program that displays a clear message for best-selling items.
3b. Design a program that displays a clear message for big-ticket items.
Weight: 4%
Did not submit or incompletely designed a program that displays a clear message for big-ticket items.
Insufficiently designed a program that displays a clear message for big-ticket items.
Partially designed a program that displays a clear message for big-ticket items.
Satisfactorily designed a program that displays a clear message for big-ticket items.
Thoroughly designed a program that displays a clear message for big-ticket items.
3c. Design a program that displays a clear message for high-priced items.
Weight: 4%
Did not submit or incompletely designed a program that displays a clear message for high-priced items.
Insufficiently designed a program that displays a clear message for high-priced items.
Partially designed a program that displays a clear message for high-priced items.
Satisfactorily designed a program that displays a clear message for high-priced items.
Thoroughly designed a program that displays a clear message for high-priced items.
3d. Design a program that displays a clear message for lowest-selling items.
Weight: 4%
Did not submit or incompletely designed a program that displays a clear message for lowest-selling items.
Insufficiently designed a program that displays a clear message for lowest-selling items.
Partially designed a program that displays a clear message for lowest-selling items.
Satisfactorily designed a program that displays a clear message for lowest-selling items.
Thoroughly designed a program that displays a clear message for lowest-selling items.
3e. Design a program that displays a clear message for high-income generating items.
Weight: 4%
Did not submit or incompletely designed a program that displays a clear message for high-income generating items.
Insufficiently designed a program that displays a clear message for high-income generating items.
Partially designed a program that displays a clear message for high-income generating items.
Satisfactorily designed a program that displays a clear message for high-income generating items.
Thoroughly designed a program that displays a clear message for high-income generating items.
4. Design a program that loops through all of the specified steps until the user types the sentinel value when prompted. Design a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
Weight: 25%
Did not submit or incompletely designed a program that loops through all of the specified steps until the user types the sentinel value when prompted. Did not submit or incompletely designed a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
Insufficiently designed a program that loops through all of the specified steps until the user types the sentinel value when prompted. Insufficiently designed a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
Partially designed a program that loops through all of the specified steps until the user types the sentinel value when prompted. Partially designed a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
Satisfactorily designed a program that loops through all of the specified steps until the user types the sentinel value when prompted. Satisfactorily designed a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
Thoroughly designed a program that loops through all of the specified steps until the user types the sentinel value when prompted. Thoroughly designed a program that displays the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program.
5. Submit the program according to the specified submission and formatting requirements.
Weight: 5%
Did not submit or incompletely submitted the program according to the specified submission and formatting requirements.
Insufficiently submitted the program according to the specified submission and formatting requirements.
Partially submitted the program according to the specified submission and formatting requirements.
Satisfactorily submitted the program according to the specified submission and formatting requirements.
Thoroughly submitted the program according to the specified submission and formatting requirements.
Assignment 2: Fran’s Virtual Fruit Stand, Part 2
Due Week 9 and worth 160 points
Use the concepts and scenario from Assignment 1 to help Fran’s Virtual Fruit Stand increase the functionality of its online shopping cart. When a customer checks out, the shopping cart must store the required data pertaining to each item the customer is buying. Your job is to design a program that will prompt the user for the required data and then store it. The required data includes the item name, the price per pound, and the number of pounds of that item being purchased. When complete, your program should include three (3) arrays, two (2) loops, one (1) and / or conditional statement, and one (1) variable.
Using Visual Logic, design a flowchart that is also a fully functional program to add functionality to the online shopping cart. According to your design, the program must:
1. Continually accept data regarding the purchase of fruit as specified below until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
2. Prompt the user for each item and accept the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
3. Store the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values. Note: For example, index value 3, when applied to the “itemName” array, would give us the name of the third item that the customer is buying. That same index value of 3, when applied to the “pricePerPound” array, would give us the price per pound of that same third item that the customer is buying.
4. Store up to five (5) values in each of the three (3) arrays.
5. Provide functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is. Note: An acceptable message may read “Type n to end the program.”, where “n” is the sentinel value. If the user does not end the program in this way, then the program ends when it has collected the data for five (5) items.
6. Print an itemized receipt with the following data after the last item in the purchase has been saved to the array.
· Item name
· Price per pound of each item
· Number of pounds purchased of each item
· Subtotal price for each item, calculated as price per pound multiplied by the number of pounds
· Total weight of the entire order (in pounds)
· The cost of shipping which is based on the total weight of the entire order, calculated as 50 cents per pound. Note: For example, if the entire order weighs seven (7) pounds, the cost of shipping would be $3.50.
· Grand total price of all items and shipping.
Note: Use the “console” option in the output command to accomplish this task. An example of an acceptable output has been provided below:
Item name
Price per pound
Number of pounds
Subtotal
Yellow Raisins
$4
3
$12
Dried Apples
$3
5
$15
Total
Shipping
8
$27
$4
Grand Total
$31
Your assignment must follow these formatting requirements:
· Include the code as a fully functional Visual Logic Program with the .vls extension.
· Submit the assignment files (Visual Logic Program and Screenshot) as a packaged .zip file.
The specific course learning outcomes associated with this assignment are:
· Demonstrate the use of algorithms and pseudocoding to the problem-solving process.
· Distinguish among the basic types, steps, and properties of programming.
· Apply the techniques of functional decomposition, modularization techniques, and debugging strategies into program design.
· Design and write programs using the appropriate data structure and fundamental programming constructs for a given problem.
· Select and describe relational comparison operators, AND / OR logic and their precedence for a given problem.
· Describe the use of arrays and subscripts, and the steps involved in declaring, initializing, loading, and searching arrays.
· Develop design documents for an interactive event-driven program.
Grading for this assignment will be based on answer quality, logic / organization of the paper, and language and writing skills, using the following rubric.
Points: 160
Assignment 2: Fran’s Virtual Fruit Stand, Part 2
Criteria
Unacceptable
Below 60% F
Meets Minimum Expectations
60-69% D
Fair
70-79% C
Proficient
80-89% B
Exemplary
90-100% A
1. Design a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
Weight: 15%
Did not submit or incompletely designed a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
Insufficiently designed a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
Partially designed a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
Satisfactorily designed a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
Thoroughly designed a program that continually accepts data regarding the purchase of fruit as specified until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
2. Design a program that prompts the user for each item and accept the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month. Weight: 15%
Did not submit or incompletely designed a program that prompts the user for each item and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Insufficiently designed a program that prompts the user for each item and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Partially designed a program that prompts the user for each item and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Satisfactorily designed a program that prompts the user for each item and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
Thoroughly designed a program that prompts the user for each item and accepts the name of the fruit (e.g., “dried apples”), the price per pound, and the number of pounds sold in a month.
3. Design a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
Weight: 15%
Did not submit or incompletely designed a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
Insufficiently designed a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
Partially designed a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
Satisfactorily designed a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
Thoroughly designed a program that stores the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values.
4. Design a program that stores up to five (5) values in each of the three (3) arrays.
Weight: 15%
Did not submit or incompletely designed a program that stores up to five (5) values in each of the three (3) arrays.
Insufficiently designed a program that stores up to five (5) values in each of the three (3) arrays.
Partially designed a program that stores up to five (5) values in each of the three (3) arrays.
Satisfactorily designed a program that stores up to five (5) values in each of the three (3) arrays.
Thoroughly designed a program that stores up to five (5) values in each of the three (3) arrays.
5. Design a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
Weight: 15%
Did not submit or incompletely designed a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
Insufficiently designed a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
Partially designed a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
Satisfactorily designed a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
Thoroughly designed a program that provides functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is.
6. Design a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
Weight: 20%
Did not submit or incompletely designed a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
Insufficiently designed a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
Partially designed a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
Satisfactorily designed a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
Thoroughly designed a program that prints an itemized receipt with the specified data after the last item in the purchase has been saved to the array.
7. Submit the program according to the specified submission, and formatting requirements.
Weight: 5%
Did not submit or incompletely submitted the program according to the specified submission, and formatting requirements.
Insufficiently submitted the program according to the specified submission, and formatting requirements.
Partially submitted the program according to the specified submission, and formatting requirements.
Satisfactorily submitted the program according to the specified submission, and formatting requirements.
Thoroughly submitted the program according to the specified submission, and formatting requirements.
Applied Sciences
Architecture and Design
Biology
Business & Finance
Chemistry
Computer Science
Geography
Geology
Education
Engineering
English
Environmental science
Spanish
Government
History
Human Resource Management
Information Systems
Law
Literature
Mathematics
Nursing
Physics
Political Science
Psychology
Reading
Science
Social Science
Home
Blog
Archive
Contact
google+twitterfacebook
Copyright © 2019 HomeworkMarket.com