1. Homepage
  2. Programming
  3. IEMS5731 Software Design and Development (Fall 2023) Individual Course Project Specification - GUI Calculator

IEMS5731 Software Design and Development (Fall 2023) Individual Course Project Specification - GUI Calculator

Engage in a Conversation
CUHKIEMS5731Software Design and DevelopmentGUI CalculatorJava

IEMS5731 Software Design and Development (Fall 2023) Individual Course Project Specification - GUI Calculator CourseNana.COM

Expected time: 10 hours CourseNana.COM

Instructions: CourseNana.COM

  1. Do your own work. You are welcome to discuss the problems with your fellow CourseNana.COM

    classmates. Sharing ideas is great, and do write your own explanations. CourseNana.COM

  2. If you use help from the AI tools, e.g. ChatGPT, write clearly how much you obtain help CourseNana.COM

    from the AI tools. No marks will be taken away for using any AI tools with a clear CourseNana.COM

    declaration. CourseNana.COM

  3. All work should be submitted onto the blackboard before the due date. CourseNana.COM

  4. You are advised to submit a compressed file (.zip/.rar) containing your project. No CourseNana.COM

    reports are required in the individual course project. CourseNana.COM

  5. You only need to submit one project, containing all your work (completed tasks). CourseNana.COM

  6. No submissions for the individual course project will result in failing the course. CourseNana.COM

  7. Due date: 22th November, 2023 (Wednesday) 23:59 CourseNana.COM

Summary of the Tasks CourseNana.COM

You are advised to implement the calculator based on the steps below. CourseNana.COM

  1. Basic information (10%) CourseNana.COM

  2. Background of the display of the number (10%) CourseNana.COM

  3. Radio button selection (20%) CourseNana.COM

  4. The “Sp” button (20%) CourseNana.COM

  5. Fancy view (20%) CourseNana.COM

  6. Multiply and divide first, then add and subtract (20%) CourseNana.COM

Learning outcomes: CourseNana.COM

  1. To practise GUI buttons, labels and radio buttons in Java. CourseNana.COM

  2. To experience the MVC pattern via a GUI calculator. CourseNana.COM

Important reminder: You need to use the provided skeleton. If you rewrite the whole calculator, or put everything into a big class, you will not receive any scores from the individual course project. CourseNana.COM

Task 1: Basic information (10%) CourseNana.COM

In this task, you should include all basic components of your project, including: CourseNana.COM

  • ●  The submitted project can be executed on eclipse without any errors. CourseNana.COM

  • ●  Your name and student ID are filled in the comment of the Calculator.java. CourseNana.COM

  • ●  The declaration of academic honesty is filled in the comment of the Calculator.java. CourseNana.COM

  • ●  The title of the application is updated to your student ID. CourseNana.COM

Task 2: Background of the display of the number (10%) CourseNana.COM

In this task, you are going to change the background of the display of the number to an image. The area is indicated by the purple border in the image below. CourseNana.COM

Task 3: Radio button selection (20%) CourseNana.COM

In this task, you are going to develop the property for the radio buttons at the bottom: CourseNana.COM

  • ●  When the application starts, the option “Classic view” is selected. CourseNana.COM

  • ●  When the user clicks the “Classic view” while “Classic view” is selected, no changes CourseNana.COM

    occur. CourseNana.COM

  • ●  When user chooses the “Fancy view”, “Fancy view” is selected, and “Classic view” is CourseNana.COM

    unselected CourseNana.COM

  • ●  Exactly one option is selected. CourseNana.COM

Task 4: The “Sp” button (20%) CourseNana.COM

In this task, you are going to implement the “Sp” button based on the unit digit of your student ID. CourseNana.COM

Unit digit of your student ID CourseNana.COM

Display on the “Sp” button CourseNana.COM

Function CourseNana.COM

Number before clicking the button CourseNana.COM

Number after clicking the button CourseNana.COM

0 or 1 e.g. CourseNana.COM

1155100000 1155100001 CourseNana.COM

inverse value CourseNana.COM

-0.0001744896 CourseNana.COM

2 or 3 e.g. CourseNana.COM

1155100002 1155100003 CourseNana.COM

Logarithm base 10 CourseNana.COM

3.75823040846 CourseNana.COM

4 or 5 e.g. CourseNana.COM

1155100004 1155100005 CourseNana.COM

Square value CourseNana.COM

32844361 CourseNana.COM

6 or 7 e.g. CourseNana.COM

1155100006 1155100007 CourseNana.COM

Square root CourseNana.COM

75.7033684852 CourseNana.COM

8 or 9 e.g. CourseNana.COM

1155100008 1155100009 CourseNana.COM

Negative CourseNana.COM

When a negative number is supplied to square root or logarithm base 10, or 0 is supplied to inverse, output “infinity”, which is the same behaviour as 1/0 implemented in the calculator. CourseNana.COM

Task 5: Fancy view (20%) CourseNana.COM

In this task, you are going to design the “Fancy view” of the calculator. CourseNana.COM

  • ●  When “Fancy view” is selected, the button panel is changed. CourseNana.COM

  • ●  When “Classic view” is selected, the button panel is resumed to the original one. CourseNana.COM

  • ●  In the “Fancy view”, the position of the buttons are redesigned. CourseNana.COM

  • ●  In the “Fancy view”, there are differences in the button size. CourseNana.COM

  • ●  In the “Fancy view”, there are visual properties (e.g. colors, shading, font style, ... CourseNana.COM

    etc) on each button. CourseNana.COM

  • ●  Switching the view does not affect the procedure of calculation. E.g. you press “1 + 3 CourseNana.COM

    +” in the “Classic view”. 4 is shown on the display. Then, when you switch to the “Fancy view”, 4 still appears on the display. Then, you press “5 +”, and 9 is displayed. Then, you switch back to “Classic view”, and press “1 =”. Finally, 10 is displayed. CourseNana.COM

CourseNana.COM

Task 6: Multiply and divide first, then add and subtract (20%) CourseNana.COM

In this task, you are going to update the model, so that the calculation will follow the rule, “multiply and divide first, then add and subtract”. CourseNana.COM

To illustrate the rule, study the example: “1 + 2 - 3 * 4 / 6 =”, carefully. CourseNana.COM

Button pressed CourseNana.COM

Display in the original design CourseNana.COM

Display in the updated design CourseNana.COM

< End of Specification > CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
CUHK代写,IEMS5731代写,Software Design and Development代写,GUI Calculator代写,Java代写,CUHK代编,IEMS5731代编,Software Design and Development代编,GUI Calculator代编,Java代编,CUHK代考,IEMS5731代考,Software Design and Development代考,GUI Calculator代考,Java代考,CUHKhelp,IEMS5731help,Software Design and Developmenthelp,GUI Calculatorhelp,Javahelp,CUHK作业代写,IEMS5731作业代写,Software Design and Development作业代写,GUI Calculator作业代写,Java作业代写,CUHK编程代写,IEMS5731编程代写,Software Design and Development编程代写,GUI Calculator编程代写,Java编程代写,CUHKprogramming help,IEMS5731programming help,Software Design and Developmentprogramming help,GUI Calculatorprogramming help,Javaprogramming help,CUHKassignment help,IEMS5731assignment help,Software Design and Developmentassignment help,GUI Calculatorassignment help,Javaassignment help,CUHKsolution,IEMS5731solution,Software Design and Developmentsolution,GUI Calculatorsolution,Javasolution,