Using the stack data structure for storing disk objects

Assignment Help Data Structure & Algorithms
Reference no: EM13326454

Using our Stack Data Structure for storing Disk objects (see attached zip file), implement the game The Towers of Hanoi for 3 disks and 3 columns (as simulated at: https://www.mathsisfun.com/games/towerofhanoi.html). Your program should use the Scanner class for asking the user which column they are taking the disk from and which column they are adding the disk to. It should also enforce the rule that a larger disk can not be placed on top of a smaller disk. Your program should detect when the goal is accomplished and display how many moves it took the user to complete.

Given : entire set of codes (Program is already done 70% by the professor). Read the word file and zip folder Small Questions for the expert after the assignment is completed:

1) Which parts of the assignment were you not able to complete fully? For each, explain why you were unable to complete this part and what steps you took to attempt to complete it. Give me as much detail as possible such that I may award partial credit where it is due

2)what would you do differently if you could do this assignment again?

For the idea check the word file

VIDEO LINK OF CLASS LECTURE:

1)https://www.youtube.com/watch?v=PM66kANyNJg

2)https://www.youtube.com/watch?v=8rsh8PKtaFc

 

Reference no: EM13326454

Questions Cloud

Find linear acceleration of component as it travels down : A robot unloads a finished component from a machine and places it on a gravity convetor, the component accelerates from rest until it reaches the bottom of the conveyor 4.5 seconds later,the component is travelling at a velocity of 1.35m/s
How to write the entropy balance for a closed system : Write the entropy balance for a closed system and an open system and identify the various contributions on an example control mass and control volume, respectively. A drawn example is preferred for the second part.
Calculate the total number of jobs : Write a function that takes the name of a report file as its argument and returns the percentage value from the bottom table in the report - create a data frame with the year-month for each report in one column and the percentage values in another c..
Determine the value of fz is acting through point a : A force F = 200i - 400j + FZ k N, is acting through point A(0,0,0) m. If F creates a moment component of -3000 Nm in the direction of a line passing from point B (2,4,5) m to point C(-3,6,8) m, determine the value of FZ.
Using the stack data structure for storing disk objects : Which parts of the assignment were you not able to complete fully? For each, explain why you were unable to complete this part and what steps you took to attempt to complete it. Give me as much detail as possible such that I may award partial cred..
Determine what kind of atomic bonding exists in glasses : What kind of atomic bonding exists in Glasses, Semiconductors, Thermoplastic Polymers, and Thermoset Polymers
What would expect to happen to the discharge pressure : We are operating a centrifugal compressor. The gas composition does not change during this excursion. While holding suction pressure and flowrate constant, the inlet temperature rises.
What bone was probably fractured and at what site : Mary's grandmother slipped on a scatter rug and fell heavily to the floor. Her left lower limb was laterally rotated and noticeably shorter than her right, and when she attempted to get up, she winced with pain.
Develop and test stand alone java applications : Gain practical skills in Graphical User Interface (GUI) programming by implementing an event driven application.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Creating visual studio.net web application

Make a Visual Studio.NET 2005 web application with one aspx form. Place a CheckBoxList, TextBox, Button, and Label control on the form.

  Question about data model

Create a simple data model that outlines a database management system. This model requires to track people's participation in several fitness activities at a fitness center.

  Creating class diagram

Think about a computer system used to manage loans for a library. Libraries loan books, CDs, videos and magazines to registered members.

  How output of leaky bucket policer can be fed in second

Illustrate how output of the leaky bucket policer can be fed into second leaky bucket policer so that two leaky buckets in series police average rate, peak rate, and burst size.

  Algorithm to divide sixteen digit value by six digit integer

Divide 16 digit value N by six digit integer D obtaining quotient Q and remainder (or sign of the remainder) R by division algorithms.

  Primitives-remove ambiguities in algorithm-s representation

Describe how the use of primitives helps remove ambiguities in an algorithm's representation.

  Create a solution algorithm using pseudocode

Algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  What is the logarithm base-2 of zero? of one

What is the logarithm base-2 of zero? of one?

  What is difference between a state graph and a search tree

Describe how the problem of traveling from one city to another could be framed as a production system. What are the states? What are the productions?

  What is the worst case of avl tree?

the binary tree can look like a linked list in the worst case. What is the worst case of AVL tree? To get an idea, do the following: What is the minimum # of nodes in each of the AVL trees with heights 2, 3, 4, and 5?Explain please.

  Algorithms to insert entry into list and find entry in list

In array is pointer to linked list of nodes each of which starts with corresponding letter. Write algorithms to insert the entry into list and to find entry in the list.

  Provide a description of the algorithm in pseudocode

Provide a description of the algorithm in pseudocode and conduct time complexity analysis of the algorithm

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd