Professional Documents
Culture Documents
General Instructions:
SECTION A (3 + 2 = 5 marks)
1
SECTION B (5 + 6 + 6 = 17 marks)
Answer any 05 questions out of the given 07 questions 1x5=5
Q.7 Write the output of the following code:
a. value-name pairs
b. name-value pairs
c. name-name pairs
d. value-value pairs
Q.10 The _________ object provides methods and properties for string manipulation 1
and formatting.
Q.11 ____________ is a feature that automatically provides you a list of codes and 1
attributes as a popup when you work in the code view mode.
Q.12 One can apply special effects to web pages in the MEW software just as we do in 1
presentation software. This helps present special effects to visitors. These special
effects are called as _______________________
Q.15 What are “Events” in JavaScript? Explain any 2 commonly used events. 2
Q.16 Naman has written following code to accept a name from the user and display it 2
on the browser. His code is not running properly. Identify and underline the
syntax errors in the following code and write the corrected code:
function myFunction
{
var x;
var person;
person=prompt("please enter your name"," ");
If(person!=null)
{
x=("hello" +person+ "!how are u today?");
}
Myfunction();
2
Q.17 Explain the purpose of Site Summary 2
Q.20 What are Objects? Explain the Built-in objects available in JavaScript. 3
Q.21 Write a function in JavaScript which accepts a number from the user and
displays if it’s an even or an odd number.
3
Q.22 What is Dynamic Web Template? Write any 2 features of DWT. 3
SECTION C (2 x 4 = 8 marks)
(COMPETENCY BASED QUESTIONS)
a. icecreams.push(“Butterscotch”)
b. icecreams.sort()
c. icecreams.reverse()
d. icecreams.pop()
You need to determine the contents of the array. After every method, write the
output that will be displayed on the browser.
Q.25 Rekha created a website. Before she publishes the website, she needs to verify if 4
there are any pending issues. This will help her save time and unnecessary
problems that may arise post publishing the website. Give her necessary steps to
cleanup your web page for any unnecessary code, if any.