Using our stack data structure for storing disk objects

Assignment Help Data Structure & Algorithms
Reference no: EM13326493

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 Self AssessmentQuestionsafter theprogram is completed. This should be completed by the expert who writes the program (This is part of my Assignment question):

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


Attachment:- ASSIGNMENT.rar

Reference no: EM13326493

Questions Cloud

Find the position of the particle after this time : A particle moves along the x axis. It is initially at the position 0.130 m, moving with velocity 0.190 m/s and acceleration -0.330 m/s2. FIND the position of the particle after this time
What are the components of the particles veloctiy : Two forces, F1=(-3.0i-4.45j)N and F2=(-2.75-5.50j)N, act on a particle of mass 1.50kg that is initially at rest at coordinates (-2.05m,3.75m). what are the components of the particles veloctiy at t=10 seconds
Determine the magnetic force on an identical particle : A charged particle moving through a magnetic field at right angles to the field with a speed of 22.7 m/s experiences a magnetic force of 2.58 10-4 N. Determine the magnetic force on an identical particle
Determine what is the sex ratios of the f1 and f2 generation : The autosomal recessive gene transformer (tra) mutation converts chromosomal females into sterile males. A female Drosophila that is heterozygous for the tra allele is mated with a normal male homozygous for transformer.
Using our stack data structure for storing disk objects : 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: http://www.mathsisfun.com/games/towerofhanoi.html).
What are the force and angle theta of the rope : Two physicists (on oppisite sides of a cage) are pulling on ropes tied to a lion. What are the force T2 and angle theta 2 of the rope pulled by the physicist 2
When it reaches the end of the ramp : A car sits in an entrance ramp to a freeway, waiting for a break in the traffic. when it reaches the end of the ramp, which has length 118m
How many matings would have to make with parents : If the original black guinea pigs produce an average of 10 offspring per mating, how many matings would you have to make with these same parents before you'd expect to see a white guinea pig
How fast the rock was falling when it hit the water : A rock is dropped into an abandoned mine, and a splash is heard 4s later. how fast the rock was falling when it hit the water

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Finding time taken to send packet from source to destination

Think about sending a document of F bytes over a path of Q links. Each link transmits at R bps. The network is lightly loaded so that there are no queuing delays.

  Important java questions

Add a method addText to the Question class, and provide a different implementation of Choice Question that calls add Text rather than storing an array list of selections.

  Implementing the banker algorithm

Prompt user to enter the size of matrix n and m. Your program should accept any n x m matrix and m vectors where n and m are positive integer less than ten.

  Computing available storage space

There are twenty gigabyte of space on a computer's hard disk. I transfer information via a telephone line (connection) at the rate of 14,400 bits per second.

  Explain queue crawl through memory in direction of its head

Does queue crawl through memory in direction of its head or its tail? Describe your answer. Describe how lack of metrics for measuring certain software properties affects software engineering discipline.

  Design systems with less complexity algorithms

Complexity of the algorithms so that we can write the programs with out sacrificing the other aspects like speed, qualit y and other related thing.

  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..

  Taxonomy tree as its input and returns a string

Designing an algorithm that takes a taxonomy tree as its input and returns a string that contains the type of "item" (animal, plant, etc) that was found after traversing the tree.

  What data structure is most suitable

What data structure is most suitable to determine if a string s is a palindrome, that is, it is equal to its reverse. For example, "racecar" and "gohangasalamiimalasagnahog" are palindromes. Justify your answer. Use Big-O notation to represent the..

  Algorithm for string of numbers recognize all the substrings

Write down algorithm, using pseudocode, to perform the following task, Given a string of numbers, recognize all of the substrings that form numbers that are divisible by 3.

  Determine the impedances of elements in laplace domain

Redraw the schematics with the impedance of each of the element shown in Laplace domain. Then determine the overall impedance of the entire circuit between the two ends of the shown circuit and express it in Laplace domain as a ratio of two polyno..

  Discuss infix to postfix conversion

This part will use both a stack and queue in order to convert expressions from infix to postfix notation.

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