Step 1. Analyze web programs in order to test, debug, and improve them Visit htt
ID: 3830323 • Letter: S
Question
Step 1. Analyze web programs in order to test, debug, and improve them
Visit http://www.w3schools.com/canvas/ (Links to an external site.) and http://www.w3schools.com/canvas/canvas_clock.asp (Links to an external site.). Read the clock lecture . Explain how the beginPath and endPath works. Explain how to draw an image on the canvas. Explain how the setInterval method works. Provide your own code examples.
. Discuss three benefits and limitations to using JavaScript/HTML for animations or gaming over Flash and Java.
Explanation / Answer
Firstly we have to know what is a debug,
In software development, debugging involves locating and correcting code errors in a computer program. Debugging is part of the software testing process and is an integral part of the entire software development lifecycle.
Some tools, especially open source tools and scripting languages, do not run in an IDE and require a more manual approach to debugging. Such techniques include dropping values to a log, extensive "print" statements added during code execution or hard-coded "wait" commands that simulate a breakpoint by waiting for keyboard input at specific times.
Flash Pros:
->Extensive features
->3D Capabilities
->Consistent appearance in supported browsers
->Supports vector artwork
->Built-in UI & other features
->Many free and Commercial tools available
Flash Cons:
->Not compatible with all browsers including iPhone, iPad and cell phones
->Moderate learning curve to use
->Cost of purchasing Flash software
Javascript Pros:
->Small size
->Using jQuery or other libraries reduces the learning curve
->Hundreds of free professional quality programs
->Can add interactivity to web page elements and tags
Javascript Cons:
->Features not as extensive as Flash
->Complex features may not perform as quickly as flash
->3D features are limited
These are the benifits and limitations that i have known,this will help you.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.