Question

In: Computer Science

In an event-driven program, you design the screens, define the objects, and define how the screens...

In an event-driven program, you design the screens, define the objects, and define how the screens will connect. Within an event-driven program, a component from which an event is generated is the source of the event.

  1. Other than changes to the planning stage, how is the development of an event-driven program different from that of a procedural program?
  2. How would a programmer create a plan for an animation?

Solutions

Expert Solution

Development of both procedural and event-driven program differ from each other:

  • For procedural programs, programming is used as a means of procedure development where the main focus is on how procedure directs the flow of data as well as control. For event driven programming, focus is on procedure and its response to certain data flow and control.
  • Procedural programming development considers the Character UI. Event driven development considers the graphical UI.
  • Commands in procedural development execute in linear order. Commands in event-driven development execute when there is mouse click or keyboard strokes.
  • Procedural development works step by step in a sequential manner. Event driven development is more about the user's selection of action.

Creating plan for animation:

First off, it is very crucial to decide which programming language to use. There are many languages used for animation such as C++, SQL, Java, JavaScript, etc. There are also many software that are best for such programming. Adobe animator is one of these software. Deciding about the animation requires programming to automate objects. There are condition bound scenarios and time bound scenarios. Professional animators need to reflect on the best idea for the emerging platforms.



Related Solutions

List the events in developing an event-driven program.
List the events in developing an event-driven program.
Program Design As you design your training program, you must consider three stages: pre-training, learning event,...
Program Design As you design your training program, you must consider three stages: pre-training, learning event, and post-training. Select one stage and discuss the critical elements of that stage. What can you do as a designer to assure learning in that stage and promote transfer of learning to the workplace?
This lab is designed to design an event driven animation application which JavaFX application implementing a...
This lab is designed to design an event driven animation application which JavaFX application implementing a racing car image. The car moves from left to right. When it hits the right end, it restarts from the left and continues the same process. Let the user pause/resume the animation with a button press/release and increase/decrease the car speed by pressing the up and down arrow keys. The car used for this application has the following attributes. Task(s) Task 1: Create a...
Python 1.Suppose you were going to design an event-driven application like the famous wack-a-mole game. Do...
Python 1.Suppose you were going to design an event-driven application like the famous wack-a-mole game. Do the following: a) draw a mockup of the layout of the screen--this is usually easiest by hand. Submit a legible picture of your drawing. b) List the events your game would have to respond to (such as when certain keys are pressed). 2.Explain why you should avoid using loops to repeat actions in a GUI application. What should you do instead?
Explain event-driven programming in Python. Give 2 examples of code where event-driven programming is used.
Explain event-driven programming in Python. Give 2 examples of code where event-driven programming is used.
How do you design a quality control program?
How do you design a quality control program?
What is meant when an operating system is said to be "event driven"?
What is meant when an operating system is said to be "event driven"?
This is an exercise for a menu-driven program. Program should use shell functions. Write a program...
This is an exercise for a menu-driven program. Program should use shell functions. Write a program that displays the following menu: Geometry Calculator 1. Calculate the area of a circle 2. Calculate the area of a rectangle 3. Calculate the area of a triangle 4. Quit Enter your choice (1-4) If the user enters 1, the program should ask for the radius of the circle and then display the area. Use the following formula to calculate the circle’s area: ?...
Define the Poisson distribution when you are interested in the number of times an event occurs...
Define the Poisson distribution when you are interested in the number of times an event occurs in a given area of opportunity. Elaborate how the Area of opportunity is a continuous unit or interval of time, volume, or such area in which more than one occurrence of an event can occur?
Define the Poisson distribution when you are interested in the number of times an event occurs...
Define the Poisson distribution when you are interested in the number of times an event occurs in a given area of opportunity. Elaborate how the Area of opportunity is a continuous unit or interval of time, volume, or such area in which more than one occurrence of an event can occur?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT