4
.
Adobe Flash:
Adobe Flash is a multimedia graphics program that is used to create interactive Webpages, videos and animations. It can be embedded inside any HTML program to create interactive Webpages. Other than being used for creating interactive Web pages it is also widely used in games andadvertisements.Adobe Flash helps you to create interactive videos on the Web. It uses vector graphics. Here, vectorgraphics refers to graphics that can be scaled to any size of our choice without any loss in quality orclarity. We need not have any kind of programming knowledge to use this software as it is very easy tolearn. It captures user input through keyboard, mouse, microphone and camera.
We will now look into some of the uses of Adobe Flash
.
Some of the uses of Adobe Flash are asfollows:
1.
It helps us to load Flash movies at a faster pace when compared to animated GIF's. This isbecause animated GIF's includes numerous images saved in one image. Thus when a Webbrowser loads such an image, the browser may need to load all the frames of the image beforedisplay. Therefore, it takes longer time for a GIF image to load.2.
It helps to create simple animations and buttons quickly and easily.3.
It supports interactivity. Thus, it helps us to control animations using Flash software. Forexample, we can begin animating an image after the user clicks on a button.4.
It is possible to embed the animations created using Flash into a Web page.5.
It is mostly used in the creation of vector based animations and helps in reducing the file sizes.Reduction in the file size helps to quickly download and play movies on the Web pages.
5
.
Firebug Browser:
Firebug is also an excellent Web development tool, which is an add-on for MozillaFirefox. It provides us with various tools to inspect, edit, and debug Web pages. This add-on provides usa tabbed interface that facilitates us to edit as well as debug HTML, CSS and JavaScript codes in any Webpage. It also offers DOM (Document Object Model) inspection and appraisal related to the performanceof Websites.
Some of the uses of Firebug Browser are as follows:
1.
It is very easy to learn the tool as it is user friendly. It also provides you the facility to open theFirebug window within your Web browser, as you saw in Figure 10.1, or as a separate window.2.
It lets us examine and edit the HTML tags. Whenever there is any change in the HTML code theFirebug highlights the modifications made in yellow.3.
It even lets you make modifications to the code and see the output of the change instantly.
Q.
2 Write a Java program to demonstrate the use of control statements (all three statemnts) in Java
.
Answer:
We know that a program is a collection of statements that are carried out to accomplish a task whichwas decided in advance. And, in a program, normally the statements are executed in sequential order,which is called sequential execution or sequential control flow. Thus, you can define Control statementsas the statements which are used for controlling the execution flow in a program. In Java, we can classifythe control statements into three categories namely, looping statements, conditional statements, andspecial control statements, as depicted in the figure below: