CLASS 12TH WEBAPPLICATION(CODE 803) PRACTICAL FILE
CLASS 12TH WEBAPPLICATION(CODE 803) PRACTICAL FILE OUTPUT
PDF PRACTICAL FILE OUTPUT:-
https://drive.google.com/file/d/1AhXdxUud1PI4mNxnojpBl7GxIaOxByMr/view?usp=drivesdk
CLASS 12TH WEBAPPLICATION(CODE 803) PRACTICAL FILE
https://drive.google.com/file/d/1agQJgPavGQ2FEAEWr0_JcbhA12us4Lnx/view?usp=drive_link
Program-1
Explain the various steps to save and publish the video generated in window movie maker.
Solution:
Steps
to Publish a Movie to your Computer
1) Click File, click Publish Movie.
2) Click this computer, and then click
Next.
3) In the File name box, type a name for
your movie.
4) In the Publish to box, choose where
ever want to save the movie once it's published,
and then click Next.
5) Choose the settings to be used to
publish the movie, and then click Publish.
6) To watch the movie after it has been
published, select the Play movie after clicking
Finish check box.
7) Click Finish.
Program-2
Write a steps to implementation of embed sound in the web page.
Solution:
1) Open the Web page in an HTML
editor. HTML editor must have the ability to
edit the source code to follow these
steps.
2) Start with an object element:
<object>
3) We'll add 4 parameters to the
object. The first is "src" that tells the browser
where to find the sound file. In
this example, the sound file is eureka.wav and
is found in the same directory as
the Web page:
<param name="src"
value="eureka.wav" />
4) If you want the sound file to
play immediately after it's loaded, make the auto
start parameter "true"
otherwise make it "false":
<param name="autostart"
value="true" />
5) The parameter autoplay is similar
to autostart, just used by other browsers,
set it the same as the autostart
parameter:
<param name="autoplay"
value="true" />
6) Use the controller parameter to
tell the browser if a controller should be
displayed to give your readers more
control over the sound:
<param
name="controller" value="true" />
7) Inside the
<object></object> element, add an embed element:
<embed />
8) Add the following four attributes
that are the same as the parameters to the
object:
<embed src="eureka.wav"
controller="true" autoplay="true"
autostart="True" />
9) Add the correct MIME type for
your sound file into the type attribute:
<embed src="eureka.wav"
controller="true" autoplay="true"
autostart="True"
type="audio/wav" />
10) Add the pluginspage attribute so
that people who don't have the correct
plugin for your sound file can go
download it. For WAV files, I recommend
QuickTime:
<embed src="eureka.wav"
controller="true" autoplay="true"
autostart="True"
type="audio/wav"
pluginspage="http://www.apple.com/quicktime/download/" />
11) When you're done, your HTML
should look like this:
<object>
<param name="autostart"
value="true">
<param name="src"
value="eureka.wav">
<param name="autoplay"
value="true">
<param
name="controller" value="true">
<embed src="eureka.wav"
controller="true" autoplay="true"
autostart="True"
type="audio/wav" />
</object>
Program-3
Write a program using JavaScript to input three value and display the largest value.
Solution:
<html>
<head>
<title> largest value</title>
</head>
<body>
<script>
var a=10,b=20,c=15;
document.write("a=",+a);
document.write("<br>");
document.write("b=",+b);
document.write("<br>");
document.write("c=",+c);
document.write("<br>");
if(a>b && b>c)
{
document.write("largest number=",+a);
}
else
if(b>c)
{
document.write("largest number=",+b);
}
else
{
document.write("largest number=",+c);
}
</script>
</body>
</html>
Program-4
Write a program using JavaScript to show the prompt box
Solution:
<html>
<head>
<title> Prompt Box</title>
</head>
<body>
<script>
var x;
var p;
p=prompt("enter your name");
if(p!=null)
{
x=("Hello" + " " + p + " " + "How are you?");
}
document.write(x);
</script>
</body>
</html>
Program-5
Write a program using JavaScript to join two array using concat.
Solution:
<html>
<body>
<p>There three array list</p>
<p>fruits=["Apple","orange"]</p>
<p>vegetables=["Cucumber","Carrot","Raddish"]</p>
<p> grains=["Wheat","Maize"]</p>
<p id="demo">click the button to join three arrays </p>
<button onclick="myFunction()">click me</button>
<script>
function myFunction()
{
var fruits=["Apple","orange"];
var vegetables=["Cucumber","Carrot","Raddish"];
var grains=["Wheat","Maize"];
var mix=fruits.concat(vegetables,fruits);
document.write(mix);
}
</script>
</body>
</html>
Program-6
Write a program using JavaScript to reverse the order of element in the array.
Solution:
<html>
<head>
<title> Reverse order</title>
</head>
<body>
<script>
var a=["z", "k", "j", "h", "e"];
var b;
document.write("array list are");
document.write("<br>");
document.write(a);
document.write("<br>");
b=a.reverse();
document.write("Reverse array list are");
document.write("<br>");
document.write(b);
</script>
</body>
</html>
Program-7
Write a program to function with two arguments that return multiplication a value.
Solution:
<html>
<head>
<title> Reverse order</title>
</head>
<body>
<p> function with arguments that return the result</p>
<script>
function multiplication(x,y)
{
return(x*y);
}
var a;
a=multiplication(5,8);
document.write("multilication=",a);
</script>
</body>
</html>
Program-8
Execute a java scripts when a button clicked.
Solution:
<html>
<head>
<title> Reverse order</title>
</head>
<body>
<p> click on button to display result</p>
<button onclick="m()">sum</button>
<script>
function m()
{
var a=10,b=45;
var sum;
sum=a+b;
document.write("sum=",sum);
}
</script>
</body>
</html>
Program-9
Write a step to export existing website to a web package.
Solution:
a) Open the website
b) Select Site > Export to Web Package....
3) Export Web Package dialog box
appears.
4) You can select individual files or
folders or, package the entire website. To package
the entire website,
a) Place the cursor at the top (image
above). Click Add. Notice the entire website is
added to the right pane.
b)
You can use a friendly name for this package. Select Properties...,and the Web
Package Properties dialog box appears.
c) You can enter company name, author, a
suitable title for this package. External
dependencies: has a list of external
resources that this website uses. This is
helpful when you are using any files,
folder or links that need to be verified before
sending the package to someone.
(i) Enter a title in Title: textbox, for
example: WEBPACKAGE.
(ii) Enter a description in Description:
textbox, for example: created using
MEW.
(iii) Enter your name in the Author:
textbox
(iv) Click OK.
Comments
Post a Comment