Download Previous Year Question Paper with Answers of “Web Technology – Code 803” for Class 12 NSQF Vocational, CBSE Session 2021-2022.
CBSE | NSQF – Vocational Education
Web Technology (Subject Code 803)
Class XII (Session 2021-2022)
Question Paper For Term – II
Max. Time Allowed: 1 ½ Hour (90 min) Max. Marks: 30
SECTION A
(3 + 2 = 5 marks)
Answer any 03 questions out of the given 04 questions 1 x 3 = 3
Q.1 What is a business opportunity? 1
Q.2 It is the entrepreneur who takes the first move towards setting up an enterprise. It is called taking ……………….. 1
Q.3 What is the full form of NAPCC? 1
Q.4 Define ecosystem. 1
Answer any 01 question out of the given 02 questions 1 x 2 = 2
Q.5 Name any 2 common fears seen in entrepreneurs. 2
Q.6 List any 2 ways to reduce Greenhouse gases. 2
SECTION B
(5 + 6 + 6 = 17 marks)
Answer any 05 questions out of the given 07 questions 1 x 5 = 5
Q.7 Write the output of the following code:
“india”.toUpperCase() 1
803-XII-SQP-Term II (2021-2022) 3
Q.8 CHOOSE THE RIGHT OPTION.
In JavaScript, the definition of a function starts with____
a. With the Return type, Function keyword, Identifier and Parentheses
b. With the Identifier and Parentheses
c. With the Return type and Identifier
d. With the Identifier and Return type 1
Q.9 “It checks if the value of the left operand is less than or equal to the value of the right operand, if yes then the condition becomes true”. Identify the operator.1
Q.10 ……………………. are used to explain the code and make it more readable in JavaScript programs. 1
Q.11 We can create a fully functional form in a webpage using ……………………….. 1
Q.12 Acronym for IIS is ____________________________. 1
Q.13 You can use the …………………feature in MEW to transfer the contents of your entire website (preserving the structure) to a remote computer. 1
Answer any 03 questions out of the given 05 questions 2 x 3 = 6
Q.14 Name any two methods of the Math () object in JavaScript to help perform mathematical calculations.. 2
Q.15 Define an “event handler” in JavaScript. Name any 2 commonly used “Event handlers”. 2
Q.16 Sunil has written following code to store subjects in an array and display the total number of subjects in the array. His code is not running properly. Identify and underline the syntax errors in the following code and write the corrected code:
function countsubs( )
{
Var Subject = [“Eng” , “Math”, “Science” , “Hindi”];
Document.write (subject.length)
}
Q.17 List any two web authoring tools. 2
Q.18 Explain the purpose of SEO Checker. 2
Answer any 02 questions out of the given 04 questions 3 x 2 = 6
Q.19 Explain the pop () method in JavaScript? Give an example of using the pop () method. 3
Q.20 What are the important properties of an anonymous function in JavaScript? Give an example. 3
Q.21 Write a function in JavaScript which accept three numbers as arguments and display the greatest number 3
Q.22 List any three websites that offer free CSS templates (write complete URL). 3
SECTION C
(2 x 4 = 8 marks)
(COMPETENCY-BASED QUESTIONS)
Answer any 02 questions out of the given 03 questions
Q.23 Write a program in JavaScript to
– Accept first name and last name from the user.
– Display number of characters in his first name
– Display current date, his name as initial letter of first name and complete last name ( hint: it should display K. Kumar for name Krishan Kumar) 4
24.
Q.25 Rita created a website. Before she publishes the website, she needs to verify if there are any pending issues. This will help her save time and unnecessary problems that may arise post publishing the website. Give her the necessary steps to verify and fix errors, if any. 4
ANSWERS
SECTION A
(3 + 2 = 5 marks)
Answer any 03 questions out of the given 04 questions 1 x 3 = 3
Q.1 It refers to an attractive and accessible economic idea which could be implemented to create a business, earn maximum profit, and leads to further growth 1
Q.2 initiative 1
Q.3 National Action Plan on Climate Change (NAPCC) 1
Q.4 All the living organisms in a particular area and, the non-living environment with which the organisms interact, such as air, mineral, soil, water and sunlight, together form an ecosystem. 1
Answer any 01 question out of the given 02 questions 1 x 2 = 2
Q.5
● Fear of failure
● The Fear of not being an expert
● Fear of being pushed into uncomfortable situations
● Fear of taking risks
● Fear of the unknown (Any 2) 2
Q.6
● Use less heat and air conditioning
● Replace your light bulbs with LED bulbs
● Drive less and drive smart
● Buy energy efficient products
● Use less hot water
● Use the ‘off’ switch (Any 2) 2
SECTION B
(5 + 6 + 6 = 17 marks)
Answer any 05 questions out of the given 07 questions 1 x 5 = 5
Q.7 INDIA 1
Q.8 a 1
Q.9 <= 1
Q.10 Comments 1
Q.11 MEW 1
Q.12 Internet Information Services 1
Q.13 Web Package 1
Answer any 03 questions out of the given 05 questions 2 x 3 = 6
Q.14 abs(), log(), pow(), random(), round(), sqrt() [any2] 2
Q.15 The “event handler” is a command that is used to specify actions in response to an event.
Below are some of the most commonly used events: (any 2)
● onLoad – occurs when a page loads in a browser
● onUnload – occurs just before the user exits a page
● onMouseOver – occurs when you point to an object
● onMouseOut – occurs when you point away from an object
● onSubmit – occurs when you submit a form
● onClick – occurs when an object is clicked 2
Q.16
function countsubs( )
{
var Subject = [“Eng” , “Math”, “Science” , “Hindi”];
document.write(Subject.length);
}
Q.17 KompoZer, Dreamweaver 2
Q.18 The SEO checker is a tool that scans any web page for technical errors and SEO issues that can have a negative impact on search engine rankings.
Use it to get a comprehensive list of errors found on your web page and find out where you still have to improve your website. 2
Answer any 02 questions out of the given 04 questions 3 x 2 = 6
Q.19 The pop() method is similar to the shift() method, but the difference is that the Shift method works at the array’s start. The pop() method takes the last element off of the given array and returns it. The array on which it is called is then altered.
Example:
cloth = [“Shirt”, “Pant”, “TShirt”];
cloth.pop();
//Now cloth becomes Shirt,Pant 3
Q.20
A function that is declared without any named identifier is known as an anonymous function. In general, an anonymous function is inaccessible after its declaration.
Anonymous function declaration –
anon = function()
{
alert(‘I am anonymous’);
};
anon(); 3
Q.21
function greatest(n1, n2, n3)
{ if (n1>n2)
If (n1>n3)
alert(“greatest number is : “+ n1);
else
document.write(“greatest number is : “ + n3);
else if ( n2>n3)
document.write(“greatest number is : “ + n2);
else
document.write(“greatest number is : “ + n3);
}
Q.22
● http://html5up.net
● http://www.cssportal.com/css-templates/
● www.freecsstemplates.org
● www.free-css.com
● www.templatemo.com
● www.oswd.org
● www.openwebdesign.org (any 3) 3
SECTION C
(2 x 4 = 8 marks)
(COMPETENCY-BASED QUESTIONS)
Answer any 02 questions out of the given 03 questions
Q.23
Solution :
<html>
<body>
<script >
f=prompt(“enter first name “);
l=prompt(“enter last name “);
d= new Date ();
document.write(“ today’s date : “, d);
document.write(“length of first name is “, f.length);
document.write(“\n Your name is “,f[0]+”. ” +l);
</script>
</body>
</html>
Q.24
100
40
60
10
Q.25 To verify and fix (if there are any errors), do the following:
1) Open the Website.
2) Select Tools > Recalculate Hyperlinks.
A dialog box appears
3) Click Yes. If there are any issues, they will be automatically fixed 4