Está en la página 1de 2

Fahaheel Al-Watanieh Indian Private School, Ahmadi, Kuwait

Model Examination - II
Multimedia and Web Technology (067)
Class XII
Time: 3 Hours Maximum Marks: 70

1. Answer the following questions based on HTML:


(a) Fill in the blanks with the structural tags to complete the basic structure of an HTML (1)
document:
< ________ >
<HEAD>
< ________ > . . . </TITLE>
< ________ >
<BODY>
.
.
< ________ >
(b) Write the HTML code to generate the web page in the format as shown: (8)

Consider the following points while writing the HTML code:


1. The title of the webpage is ‘Dances of India’.
2. The page background colour is lightyellow.
3. The heading is in Curlz MT font and red in colour.
4. The line is Green in colour and its width covers 75% of the webpage.
5. The image used is dance.jpg with width 200 pixels and height 200 pixels.
6. The bulleted list items Classical Dance, Folk Dance and Popular Dance are
hyperlinked to the pages classical.html, folk.html, and popular.html respectively.
7. Border color of the table is Red.
8. Use an email link to the email id doi@csoi.com in the last line.

(c ) Differentiate between

XII 1st Weekly Test March 2018 Page 1 / 2 Subject: MMWT (067)
2 Answer the following questions based on JavaScript:
(a) Name the event that occurs when: (1)
(i) The mouse is double clicked
(ii) The cursor comes over an element.
(b) What is conditional operator? Explain with example. (2)
(c) Analyse the given program segment and determine how many times the (2)
loop will be executed. What will be the value of A, B and S after loop is terminated.
var A , B;
A=10;
B=20;
S=0;
while(A>=5)
{
A=A-2;
S+=A-- + (--B)
B = (--B)
}

(d) Change the while loop to for loop in above program without affecting the output (2)
(d) Point out the errors in the following script and rewrite the corrected code with the (2)
corrections underlined:
<SCRIPT LANGUAGE = "JavaScript">
function Change(a, b)
{
a = a*a+1.5
b = b-1;
result = a+b;
ret result
}
x = 2.5
y==-5
Change(x);
CHANGE(x,y)
z = Change(y,x)
</SCRIPTING>
(e) Write the HTML code to generate the following form: (4)

Write the embedded JavaScript code to display the Movie category in alert box on the
click of the CATEGORY button. Note that the category should be displayed as:
 “New” if the year of release is greater than 2016.
 “Still in Mind” if the year of release is between 2012 and 2016.
 “Old” if the year of release is less than 2012.

XII 1st Weekly Test March 2018 Page 2 / 2 Subject: MMWT (067)

También podría gustarte