Console Application In Object-Oriented Programming Language: Assignment 1 Answer

pages Pages: 4word Words: 890

Question :

Assignment 1 

Overview 

You are required to design and develop a small console application in any Object-Oriented Programming Language. Completion of this assignment requires an understanding of: •Analysis and design techniques including the development of use cases and UML diagrams - specifically use case diagrams class diagrams and sequence diagrams • Object-oriented programming. focusing on polymorphism and the use of interfaces

Timelines and Expectations 

Percentage Value of Task. 20% 

Assignment Type: Individual 

Learning Outcomes Assessed 

The following course learning outcomes are assessed by completing this assessment. 

• Understand the distinction between software engineering and programming. and thus the distinction between a software configuration and a program 

• Understand the methods and techniques involved in designing. implementing and maintaining an information system. in particular using an object-oriented approach 

• Demonstrate skills in designing and implementing an information system. 

Assessment Details 

Ana. the owner of Delicious Pizza and Pasta. is opening a takeaway shop for selling Pizza and Pasta to the customers. She wants to offer some packages to the interested customers to promote her business. To do so. She is offering the following packages:

1 large pizza 12 AUD

2 large pizza 22 AtJD 

N large Pizzas N’10 AUD and the customer will receive one garlic bread for every three pizzas

1 large Paste 8 AUD 

2 large Paste 15 AUD 

M large Pasta (For M>=3) M’7 AUD and the customer will receive 1.25 Liter soft drinks for every 3 Pasta 

Special Offer 

For every 3 Pizzas AND 3 Pasta. Ana will give a small box of Baklava (a famous dessert item) in addition to garlic bread and 1.5 liter soft drinks 

You have agreed to design and develop a small console program for Ana, enabling her to select the appropriate item and the package. and calculate the corresponding cost. Once an order is processed. the program will return to the menu and ready to commence another order. This payment information should display: 

• total payment amounts received for pizza order 

• total payment amounts received for pasta order 

• total amount of pizzas and pasta sold In that session' 

'A session indicates the duration Ana is using the program after opening it. There is no need for this data to persist on. the program has stopped running. 

Ana wants the system to be flexible so that she can include additional items and packages at a later date without having to rewrite the entire program. This means you will need to use an interface for processing payments. and polymorphism for the various food item classes. so that the new and different pa.ages may be added at a later date with minimal updates to the code. She asked that you provide her with some documentation before you commence coding so that she is able to verify that the program you intend to code will address her requirements. She would like to see the use cases to summarize the requirements in written format. as well as use case diagram, class diagrams and sequence diagrams. 

Submission You are required to submit the assignment before the due date consisting of: 

  • A zip file containing the following
  • A written report comprising: use cases summarizing the requirements, UML diagram created in Enterprise Architect comprising: a use case diagram for processing an order, a case diagram of intended order, a class diagram of intended system, a system diagram for processing an order.
  • A short reflection of what you have learned. 
Show More

Answer :

For solution, connect with online professionals.