Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Coding Homework 2: You are still working to develop the myNotes APP (which you started in Coding Homework 1). You are now working to create

image text in transcribed
Coding Homework 2: You are still working to develop the myNotes APP (which you started in Coding Homework 1). You are now working to create the Undo/Redo Feature (Check the Stack lecture for more information). In order to implement this feature, you need to code a new class: actions Stack to store the latest actions a user has made. Do not use the standard Stack, implement your own stack! You could use your code from Coding Homework 1 If you did not do Homework 1, at least submit your code to implement a stack Create the actionsStack with Push and Pop functions (72) The Events Handler menu should now include two new options for Undo and Redo: Support Add/Delete Notebook (11) Support Add/Delete Note (/1) Support Add/Delete Hashtags (1) Proof that your code is working as expected by running your Main function and testing each of the EventsHandler Options. Run your old test from Assignment 1 to check that they are still working as expected after adding your new updates (70.25) Run a test to check how the Undo would behave when there are no previous actions recorded in the Stack (/0.5) Run a test to check how the Undo would work if there are 4 actions in the history (/0.25) Run a test to check what would happen if you do 2 Undo and then 2 Redo actions (/0.5) Run a test to check how the Redo would behave when there are no actions recorded in the history. (/0.5) Code your solution using the online compiler: https://www.onlinegdb.com Coding Homework 2: You are still working to develop the myNotes APP (which you started in Coding Homework 1). You are now working to create the Undo/Redo Feature (Check the Stack lecture for more information). In order to implement this feature, you need to code a new class: actions Stack to store the latest actions a user has made. Do not use the standard Stack, implement your own stack! You could use your code from Coding Homework 1 If you did not do Homework 1, at least submit your code to implement a stack Create the actionsStack with Push and Pop functions (72) The Events Handler menu should now include two new options for Undo and Redo: Support Add/Delete Notebook (11) Support Add/Delete Note (/1) Support Add/Delete Hashtags (1) Proof that your code is working as expected by running your Main function and testing each of the EventsHandler Options. Run your old test from Assignment 1 to check that they are still working as expected after adding your new updates (70.25) Run a test to check how the Undo would behave when there are no previous actions recorded in the Stack (/0.5) Run a test to check how the Undo would work if there are 4 actions in the history (/0.25) Run a test to check what would happen if you do 2 Undo and then 2 Redo actions (/0.5) Run a test to check how the Redo would behave when there are no actions recorded in the history. (/0.5) Code your solution using the online compiler: https://www.onlinegdb.com

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

2. What types of data are used in reality mining?

Answered: 1 week ago

Question

6-7. Why do blogs make an ideal social media hub? [LO-6]

Answered: 1 week ago

Question

When you want to stand out from the flood of digital messages

Answered: 1 week ago