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?
Using Java, design a program that creates an array of Card objects, shuffles them, then recursively...
Using Java, design a program that creates an array of Card objects, shuffles them, then recursively sorts them by value and then recursively sorts them by value and suit You will need to create a Card class with the following two fields: • value (a String) • suit (a String) You may include any other fields, constructors, or methods as needed. Your single array will need to contain 52 card objects, one for each value of each suit. The values...
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"?
The Menu-driven Program: Write a menu-driven program to implement a roomsboard for a classroom reservations system....
The Menu-driven Program: Write a menu-driven program to implement a roomsboard for a classroom reservations system. The menu includes the following options: Add new room. The program will prompt the user to enter the roomID, courseID and time of the new reserved room, then will call the add() method from the RoomsBoard class. Remove all occurrences of a room. The program will prompt the user to input the room ID to be removed, then call the remove() method from the...
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