Advertisement
akosiraff

Download MobilePhonePurchase VB 2010

Sep 20th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/mobilephonepurchase-vb-2010/
  3. Lab 10
  4. Note
  5. • Use the Requirements Document Fig 11-61
  6. • Use the Use Case Definition Fig 11-62
  7. • Be sure to create an event planning document for the user interface prior to writing code. The user interface should look like the interface shown in Fig 11-63
  8. • Write the code that will execute the program requirements
  9. MOBILE PHONE PURCHASE
  10. Design a Windows application and write the code that will execute according to the program requirements in Figure 11-61 and the Use Case definition in Figure 11-62 Before writing the code, create an event planning document for each event in the program. The completed Windows Form object and other objects in the user interface are shown in Figure 11-63 on the next page
  11. Figure 11-61
  12. REQUIREMENTS DOCUMENT
  13. Date submitted: July 18, 2014
  14. Application title: Mobile Phone Purchase
  15. Purpose: This Windows application calculates the costs for a mobile
  16. phone from the Mobile Phone Store.
  17. Program Procedures: From a Windows application, a buyer selects a mobile
  18. telephone for purchase. The buyer also can elect to buy a
  19. charger for the particular phone. A buyer is either in the store
  20. or is buying over the Internet. The program calculates the cost
  21. of the phone and charger purchased
  22. Algorithms, Processing, 1.The consumer enters their last name, street address, and zip
  23. and Conditions: code. If buying over the Internet, the buyer also enters an
  24. email address.
  25. 2. The buyer selects a phone from a list of phones.
  26. 3.The user can select the type of charger from the list of
  27. chargers.
  28. 4.Based on the phone and charger selected, the program
  29. calculates the total cost.
  30. 5.The total cost for a store purchase must include 7.75% sales
  31. tax. No sales tax is included for Internet sales.
  32. 6. An Internet sale generates a shipping charge of $28.00.
  33. 7. The types of phones and their costs are: Blasstur 451:
  34. $279.81; Elecque 9801: $193.71; Gainlet 3: $328.44;
  35. Nomadic 2900: $253.72; Querta 332: $479.36.
  36. 8.Three types of chargers are available: Auto: $63.92; Mobile:
  37. $42.66; Desktop: $27.31.
  38. 9.Write a comma-delimited text file to record each sale. The
  39. text file should contain the user last name, zip code, phone
  40. choice, charger style, and total cost.
  41. Notes and Restrictions: 1. Validate data the user enters using accepted standards.
  42. 2.In-store is the default type of buyer.
  43. 3.The Email label and text box does not display unless the
  44. user is an Internet buyer. An Internet buyer must enter an
  45. email address.
  46. Comments: 1. The picture shown in the application is available a
  47. scsite.com/vb2010/ch11/images[http://ge.tt/71dW2qN2/v/0].
  48. Its name is cell phone.jpg.
  49. 2.The program should use a three-tiered structure with
  50. presentation, business, and persistence classes.
  51. Figure 11-62
  52. USE CASE DEFINITION
  53. 1. The user views the opening screen.
  54. 2.The user enters their last name, street address, and zip code.
  55. 3.The user selects a phone from the phone choice list and, if desired, a charger from the charger
  56. style list.
  57. 4.The user selects either In-Store or Internet as the type of buyer. If an Internet buyer, the user
  58. must enter an email address.
  59. 5. The user clicks the Calculate Cost button.
  60. 6. The program displays the cost of the sale.
  61. 7. The program writes a record of the sale in a text file.
  62. 8. The user can click the Clear Form button to enter another sale.
  63. Figure 11-63
  64. Link to Image: http://ge.tt/71dW2qN2/v/0
  65.  
  66. Download: http://solutionzip.com/downloads/mobilephonepurchase-vb-2010/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement