Series X4YZW
Question Paper Code 327 Set 4
WEB APPLICATIONS
(Session 2024-25)
Time allowed : 3 hours
Maximum Marks : 60
General Instructions :
- Please read the instructions carefully.
- This question paper consists of 24 questions, in two Sections : Section A and Section B.
- Section A has Objective type questions, whereas Section B contains Subjective type questions.
- Out of the given (6 + 18 =) 24 questions, a candidate has to answer (6 + 11 =) 17 questions in the allotted (maximum) time of 3 hours.
- All questions of a particular section must be attempted in the correct order.
- Section A : Objective Type Questions (30 marks) :
- This section has 6 questions.
- There is no negative marking.
- Do as per the instructions given.
- Marks allotted are mentioned against each question/part.
- Section B : Subjective Type Questions (30 marks) :
- This section has 18 questions.
- A candidate has to do 11 questions.
- Do as per the instructions given.
- Marks allotted are mentioned against each question/part.
SECTION – A (Objective Type Questions) (30 Marks)
1. Answer any 4 questions out of the given 6 questions on employability skills.
(i) What is ‘me’ in the following sentence?
a) Subject
b) Verb
c) Direct object
d) Indirect object
(ii) Rohit is a manager in an organisation. Due to some bad incident a few days ago, he is feeling upset, annoyed and hopeless. This state of his mind is categorised as:
a) Criminal
b) Happiness
c) Inferiority complex
d) Stress
(iii) Which of the following is not a way to maintain positive outlook in a long run?
a) Physical exercise and fresh air
b) Healthy diet
c) Not going out for vacations
d) Organised academic life
(iv) Ramesh is working on a presentation and has copied an image. Which key combination should he press to paste the image.
a) Ctrl + P
b) Ctrl + V
c) Shift + P
d) Shift + V
(v) An entrepreneur should continue to work hard and never give up, even in difficult situations. This competency of an entrepreneur is known as _____.
a) Laziness
b) Stubborness
c) Perseverance
d) Decision making ability
(vi) Which of the following is an important of green jobs?
a) Identify more areas to dump waste
b) Creating more IT related jobs
c) To protest against the use of solar fuels
d) Protecting and restoring the ecosystem
2. Answer any 5 out of the given 7 questions. (5X1=5)
(i) Which of the following software should be used to create 3D animated educational content for all abilities?
a) VirtualDub
b) Wax
c) Moviestorm
d) AviTricks
(ii) _____ is an offline playback, editing, encoding, animation and visual effects tool based on the Jahshaka technology that allows you to create professional digital media on your desktop.
a) VirtualDub
b) Wax
c) Cinefx
d) AviTricks
(iii) _____ is just a graphical user interface that uses some fine programs to edit movie files using lot of keyboard shortcuts.
a) Moviestorm
b) Movica
c) VideoSpin
d) Aviedit
(iv) Atul is using Windows Movie Maker to create a video using some video clips. He wants to give a title on a clip. The title should be visible for the entire duration of the clip. Where should he give this title?
a) At the beginning of the clip
b) At the beginning of the movie
c) At the end of the movie
d) Title overlaying the clip
(v) While creating a movie we can remove some portion from the beginning and/or the end of any clip. What is this process called?
a) Splitting the clip
b) Trimming the clip
c) Overlaying the clip
d) Hiding the clip
(vi) In Windows Movie Maker we can publish a movie in WMV format. Write the full form of the acronym WMV.
Ans: Windows Media Video
(vii) Which of the following is not correct about GIF images?
a) GIF images support 256 colors
b) GIF images use lossy compression technique
c) Format was first popularised by CompuServe
d) GIF images can be opened by almost all graphics programs
3. Answer any 6 out of the given 7 questions. (6X1=6)
(i) Xavier has embedded an audio file in a web page using <object>
tag as follows:<object> <param name= "src" value="123.mp3"> </object>
He wants to file to start playing as soon as the page loads. Write the appropriate <param>
tag to be included for that the file starts playing as soon as the page loads.
Ans: <param name= "autostart" value="true">
(ii) Identify the video file from the following:
a) Pic.wav
b) Pic.svg
c) Text.mp3
d) Text.mp4
(iii) Identify the vector file format from the following:
a) .gif
b) .jpg
c) .eps (Encapsulated PostScript)
d) .tga
(iv) Ashraf has a movie file into different formats – .avi and .mov. Which of these is an Apple QuickTime movie?
Ans: .mov
(v) Which of the following formats is native to Sun workstations?
a) .au
b) .mid
c) .mod
d) .snd
(vi) ______ are programs which can be stand on their own but are referred to from within a WWW browser to enhance it’s capability to play/display multimedia file formats.
a) Helper applications
b) Internet browsers
c) Plug-ins
d) Media files
(vii) WHAM is example of a/an _____ that plays many types of sound files.
a) Browser
b) Helper application
c) Plug-in
d) Operating system
WHAM – Web Hypermedia and Application Model
4. Answer any 5 out of the given 6 questions. (5X1=5)
(i) The acronym MIDI stands for:
a) Musical Instrument Digital Interface
b) Musical Instrument Dynamic Interface
c) Musical Interface Digital Instrument
d) Media Instrument Digital Interface
(ii) To make the most of HTML5 videos, we have to prepare the video in three variants. One variant is H.264. Name the other two variants.
Ans: WebM (.webm) and Ogg Theora (.ogv)
(iii) In general, what is the extension of an external JavaScript file?
a) .jac
b) .js
c) .jaf
d) .jss
(iv) Evaluate the following JavaScript expression and write its value:
6 + 18 % 4 * 3
a) 24
b) 12
c) 0
d) 1
(v) What will be the output of the following JavaScript code?document.write(parseInt("110",2));
a) 110
b) 2
c) 4
d) 6
(vi) Write a JavaScript statement to declare a variable, named amt, without assigning any value to it.
Ans: var amt; or let amt;
5. Answer any 5 out of the given 6 questions. (5X1=5)
(i) What will be the output after the following statement in JavaScript is executed?console.log(-10/0);
a) Infinity
b) -Infinity
c) NaN
d) Error
(ii) How many times will the following loop run?for (i=5; i<=10, ++i)
a) 4
document.write(i);
b) 5
c) 6
d) 7
(iii) Which of the following is not a comparison operator?
a) <=
b) !=
c) = (assignment operator)
d) <
(iv) Statement (A): NaN is toxic in JavaScript.
Statement (B): The statement NaN +15 in Java Script will return the output as NaN.
a) Both statement (A) and statement (B) are correct
b) Both statement (A) and statement (B) are incorrect
c) Statement (A) is correct and statement (B) is incorrect
d) Statement (B) is correct and statement (A) is incorrect
(v) Write an expression in JavaScript to round 154.94 to the nearest integer.
Ans: Math.round(154.94)
(vi) Search engines crawl a website to create the _____ of content.
a) Web pages
b) Index
c) Images
c) SEO
6. Answer any 5 out of the given 6 questions. (5X1=5)
(i) Name the open source WYSIWYG HTML editor which complies with the W3C’s web standards.
Ans: KompoZer or TinyMCE or CKEditor
(ii) _____ extend the capability of the main program by adding enhanced custom commands and specialised features.
a) Add-ins
b) Snippets
c) DWTs
d) Menus
(iii) While web designing, this feature is available when you work in code view. It automatically provides your list of course and attributes as a pop up. Name this feature.
a) Cookies
b) Add-ins
c) Intellisence
d) Menus
(iv) Expand the term IIS.
Ans: Internet Information Services
(v) This process affects the the website visibility for ranking when displaying search results. What is this process called?
Ans: SEO (Search Engine Oprimization)
(vi) State true/false:
If a DWT is updated, all webb pages in a website are automatically updated.
Ans: True
SECTION B (Subjective Type Questions) (30 Marks)
Answer any 3 questions out of the given 5 questions on employability skills. Answer each question in 20 – 30 words. (3X2=6)
7. ‘Receiving’ is the first stage of active listening. Name the other four stages of active listening.
Ans: (i) Understanding
(ii) Remembering
(iii) Evaluating
(iv) Responding / Acknowledging
8. Give any two characteristics traits of a person with Dependent Personality Disorder.
Ans: i) Lack of self-confidence
ii) Need help in making everyday decisions
9. Jahanvi is working on a spreadsheet, She wants to calculate the sum of cells B2 and C2, in the cell D2. For this she has entered the formula as shown in the following image. But, instead of the sum, she is getting the text B2+C2 in the cell D2.
a) What correction should be made in the cell D2 so as to get the desired sum?
Ans: =B2+C2
b) If the corrected formula is copied from cell D2 to the D3, what value will it show in D3?
Ans: 49
10. Write any four qualities of a successful entrepreneur.
Ans: Four qualities of a successful entrepreneur are:
i) Initiative
ii) Decision-making ability
iii) Risk taker
iv) Ability to learn from experience
v) Motivation, Self-confidence
11. Name any two green jobs in the following sectors:
A) Solid Waste Management
Ans: (i) e-waste recycling (ii) waste reduction
B) Agriculture
Ans: (i) Organic Farming (ii) Agriculture Tourism (iii) Integrated Pest Management (iv) Farm Mechanisation
Answer any 3 out of the given 5 questions in 20 – 30 words each. (3X2=6)
12. Explain any two advantages of using multimedia on web pages.
Ans: Greater Immersion: Adding multimedia elements to a web page make it easier to draw in viewers, and hold their attention.
Better Branding: Multimedia sites are frequently preferred by marketing departments because of their ability to completely present branding.
Enhanced Page Rankings for SEO: Video content, done correctly, is a major benefit to a site’s overall SEO strategy.
13. Define Event Handler with respect to JavaScript. When do the following events occur on a web page?
Ans: An Event Handler is a command that is used to specify actions in response to an event.
a) onMouseOver
Ans: occurs when you point to an object
b) onLoad
Ans: occurs when a page loads in a browser
14. David wrote the following JavaScript code to display all odd numbers from 1 to 20. The code is not working due to some errors. Help David by rewriting the code after correcting all the error so that the code gives the desired result. (underline all the corrections made)
num==1
While (num<=20)
{
document.write(num,” “);
num=+2;
}
Ans: Var num=1;
While (num<=20)
{
document.write(num,” “);
num+=2;
}
15. Write a function in JavaScript which accepts three numbers as parameters. If the sum of these numbers is more than 50, then the functions should return their sum, otherwise the function should return their product.
Ans: function calculateResult(a, b, c)
{
const sum = a + b + c;
if (sum > 50) {
return sum;
} else {
return a * b * c;
}
}
16. Rukhsana is developing a website using Microsoft Expression Web. She has attached some pages to a DWT. Now she wants to detach all these web pages from the DWT. Help Rukhsana by writing the steps to detach all the web pages from the DWT.
Ans: Step 1: Select all the web pages.
Step 2: Select Format > Dynamic Web Template > Detach from Dynamic Web Template.
Step 3: Notice the message displayed, select Close.
Answer any 2 out of the given 3 questions in 30 – 50 words each. (2X3=6)
17. Write any three differences between Storyboard view and Timeline view of Windows Movie Maker.
Ans: The three differences between Storyboard view and Timeline view of Windows Movie Maker are:
Storyboard View | Timeline View |
1. The storyboard is the default view in Windows Movie Maker. | 1. The timeline view provides a more detailed view of movie project and allows us to make finer edits. |
2. The storyboard to look the sequence or ordering of the clips and easily rearrange them, if necessary. | 2. Trim video clips, adjust the duration of transitions between clips, and view the audio track. |
3. The storyboard is use to see any video effects or video transitions that have been added. | 3. Review or modify the timing of clips in your project. |
18. Write the purpose of each of the following Array methods:
a) concat ()
– Joins two arrays, and returns a copy of the joined arrays
b) Join ()
– Joins all elements of an array into a string
c) shift ()
– Removes and returns the first element of an array.
19. What are Snippets with reference to Website development? How are the snippets useful in website development? Write any two categories of snippets.
Ans: Snippets are pieces of programs re-used by most developers. Snippets are useful as you can keep reusing the code created many times across multiple web pages or websites saving enormous amount of time and effort.
Two categories of snippets are : CSS, HTML, JavaScript, jQuery, Doctypes, IE Meta Tags, PHP (Any 2)
Answer any 3 out of the given 5 questions in 50 – 80 words each. (3X4=12)
20. (a) What is meant by ‘splitting a clip’?
Ans: Splitting a clip means dividing the clip into two parts.
(b) Can we split an Audio clip in Windows Movie Maker?
Ans: Yes
(c) Write the steps to split a clip.
Ans: Steps to Split a Clip are:
Step 1: In the Contents pane or on the storyboard/timeline, click the video or audio clip that need to be split.
Step 2: Under the preview monitor, click the Play button.
Step 3: When the clip reaches a point near the place you want to split the clip, click Pause.
Step 4: Under the preview monitor, use the playback controls to find the point where you want to split the clip.
Step 5: Under the preview monitor, click the Split button.
21. (a) Write steps to embed a YouTube video into a web page.
Ans: Step 1: Open YouTube.
Step 2: Start the video which you want to embed in your web page.
Step 3: Acquire the Embed code and paste it in your web page.
(b) Write HTML code using <video>
tag to insert an HTML5 video, named Nature.mp4, in a web page. The height and width of the player should be 200 pixels and 300 pixels respectively.
Ans: <video controls height=200 width=300>
<source src=Nature.mp4 type=video/mp4>
</video>
22. (a) Write a JavaScript code to generate three random numbers using Math object. The code should then display the largest and the smallest of these three random numbers in the browser window.
Ans: <script>
r1=Math.random();
r2=Math.random();
r3=Math.random();
high=Math.max(r1,r2,r3);
low=Math.min(r1,r2,r3);
document.write(high,low);
</script>
(b) What is the use of an array object in JavaScript?
Ans: The array object is used to store multiple values in a single variable
23. Write a JavaScript code to input a spring from the user, and do the following tasks:
> Display the length of the string.
> Display the position of occurrence of text, “the” in the entered string.
> Replace all occurrence of ‘a’ with ‘#’ and then display the new string.
s1=prompt ("Enter a string :");
var len = s1. length;
document.write(len);
var pos = s1.indexOf ("the");
document.write (pos);
var news1 = s1.replace(‘a’,‘#’);
document.write (news1);
24. Observe the JavaScript code segment given below and answer the questions that follow:<script language = JavaScript>
function calc (A1, A2)
{
if (A1 > A2)
A1 = A2 * 2;
else
A1 = A2/2;
document.write(A1, A2);
}
</script>
<body>
<button onclick = "calc(5,6)"> Try </button>
</button>
a) Write the output of this code.
Ans: 3 6
b) Rewrite the given Code by using the conditional operator instead of if…else statement.
Ans: (A1 > A2) ? A1 = A2 * 2 : A1 = A2/2;
c) Write the statement to display current date and time.
Ans: document.write(new Date());