The idea of this animation is to have the cuckoo clock keep

Assignment Help Basic Computer Science
Reference no: EM13525423

Needs assistance with Alice programming 2.4 version.
On the Hour
Place a cuckoo clock (Objects) in a new world. Be sure to set the scene which means that you should select a room (look in Environments) as the backdrop for your scene as you certainly would not hang a cuckoo clock in the open air.

The idea of this animation is to have the cuckoo clock keep time (not in real time, of course). The minute hand should go around on the face of the clock (perhaps one complete revolution should take about 30 seconds in real time) and the pendulum should swing back and forth continually. When the minute hand has made one revolution (from 12 back to 12 [one revolution] on the face of the clock), then the hour hand should advance to the next hour [1/12 of a revolution], the doors should open, and the cuckoo bird (on the clock arm) should come out and chirp once. Then the bird should retreat inside the clock and the doors should close until the next hour has gone by. "All is well" as long as the clock is running-which should continue until the user stops the animation. Use a recursive method to implement the animation. Recall that 'recursive' means that the method calls itself. This world does not require any changes to Events but it does require a method to move the clock [cuckooClock.keepTime()] hands and another to control the cuckoo [cuckooCLock.cockoo()].

Reference no: EM13525423

Questions Cloud

Store the corresponding indices in registers ax and bx : Store the corresponding indices in registers AX and BX respectively.
Explain why complex novelty : Explain why "Complex Novelty" is important for future human society? can someone help explain to me wat is Mill's argument of Utilitarianism? And what is Kent's argument against him?
Implement a sequence recognizer : Implement a sequence recognizer
Estimate the magnitude of the electrostatic force : Two very small spheres are initially neutral and separated by a distance of 0.60 m. What is the magnitude of the electrostatic force that acts on each sphere
The idea of this animation is to have the cuckoo clock keep : The idea of this animation is to have the cuckoo clock keep time
Take the temperature of the bubble to be the same : An air bubble of 16 cubic cm volume is at the bottom of a lake 75 m deep where the temperature is 4.0 degrees C. The bubble rises to the surface, which is at a temperature of 20 degrees C.
A vindication of the rights of women : Need focal points and key arguments of "A Vindication of the Rights of Women" by Mary Wollstonecraft and possibly an overview of the book.
An air bubble of 16 cubic cm volume : An air bubble of 16 cubic cm volume is at the bottom of a lake 75 m deep where the temperature is 4.0 degrees C. The bubble rises to the surface, which is at a temperature of 20 degrees C. Take the temperature of the bubble to be the same as that of ..
French philosopher voltaire famously : French philosopher Voltaire famously said that the first person who said "This is mine!" should have been killed on the spot. Locke, however, fervently disagrees with him and Marx follows Voltaire like a hungry puppy.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How a non-it senior manager would arrive at the decision

Describe the process of how a non-IT senior manager would arrive at the decision to support one IT diffusion model over another. List the factors that would have to be considered. Determine which model you would choose and explain why.

  What are the benefits of using tangible interfaces

What are the benefits of using tangible interfaces compared with other interfaces like GUI, pen-based or gesture?

  Explain limitations of operations research technique

Describing your selected operations research technique. You must explain the technique, assumptions and limitations of method, the kinds of problems

  Describe the same task using intelligent software agents

Describe the same task using intelligent software agents

  A disadvantage of the content of approach for lans

A disadvantage of the content of approach for LANs, such as CSMA/CD, is the capacity wasted due to multiple stations attempting to access the channel at the same time. Suppose that time is divided into discrete slots, with each of N stations attempti..

  The sum of the first even integers true or false

The sum of the first 17 even integers is 306. True or False Answer

  What three functions are the most important

DBMS has many functions. What three functions are the most important and why are they most important?

  Calculate the minimal sum logic for each output

How would I do this problem? When it says 4-bit two's complement numbers, what does it mean?

  Basic forms of conducting international business

Discuss the basic forms of conducting international business, and basic international business strategies.

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Finding slowest clock rate used and not lose any data

What is the slowest clock rate that could be used and not lose any data? Assume that the number of instructions to be processed for an interrupt is constant.

  How vulnerable do think the united states is to such attack

How would the actions of a hostile nation be any different than the actions of a hostile (competing) foreign company?

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