联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2023-10-27 10:47

CSE 5322 002/970: SOFTWARE DESIGN PATTERNS

October 4, 2023

Homework 2, 15%

Due: 10/25/2023 11:59PM

1 Introduction

This homework assignment requires the student to design a desktop application for adding items to, and deleting

items from, a collection as well as displaying the result using a table. In addition, the application must support

undo and redo operations. When the application is launched, it shows a window with an empty table as well

as the Add, Delete, Undo and Redo buttons at the bottom of the window. When the Add button is clicked, an

item with a unique ID and some dummy text content is added to the table. If the table is not empty, the user

can select a row and click the Delete button to delete the selected row. The user can click the Undo or Redo

button to undo or redo the last operation, and the table is updated accordingly.

This individual homework assignment consists of two parts:

1. Solving the assignment work items and submitting your solution on Canvas by the deadline. Absolutely

no late submission will be accepted. (3%)

2. Taking the multiple-choice test on the homework in class after the submission deadline. (12%)

2 What To Do and Submit

As stated above, this individual assignment consists of two parts.

2.1 Part 1. Solve and Submit (3%)

This individual homework assignment requires the student to do and submit the following equally-weighted

items:

1. Construct an expanded use case for the Update Table use case of the application; you can assume that

this application has only one use case.

2. For each nontrivial step of the expanded use case, write a scenario to describe how objects interact with

each other to process the actor request. The scenario must apply the controller pattern and the command

pattern.

3. Convert the scenarios to scenario tables.

4. Convert the scenario tables to informal sequence diagrams. Show the patterns applied using UML note

or UML stereotype.

5. Convert the informal sequence diagrams to design sequence diagrams. Show the patterns applied using

UML note or UML stereotype.

6. Derive a design class diagram from the design sequence diagrams. Show the patterns applied using UML

note or UML stereotype.

7. Implement your design in Java. Compile and run your code. Test run and produce screen shots to show

that all of the four buttons work correctly.

1

2.2 How To Submit

Compress your design document, source code, and screen shots into one .zip or .rar file, name the file as follows,

and submit it on Canvas:

Lastname Firstname CSE4361 F23 HW2.zip, or

Lastname Firstname CSE4361 F23 HW2.rar

Additional submission instructions may be announced by the TA.

2.3 Part 2. Take Homework 2 Test (12%)

Taking the multiple-choice test on the homework in class on October 26, 2023. You will have 80 minutes to

complete the test. It will take place during the last 80 minutes of the session.

Be sure to bring a #2 pencil to the test. We will not provide pencils.

2


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp