Page 330 - Web Applications (803) Class 12
P. 330

Q 10.   Describe  the  role  of  “green  education”  in  promoting  environmental  awareness  and  sustainable  practices.  How  can
                    educational institutions contribute to building a more eco-conscious society?                     2
                Q 11.  Explain any two ways by which aspiring entrepreneurs can identify new business opportunities.   2
              Answer any 3 out of the given 5 questions in 20 – 30 words each.                           (2 × 3 = 6 marks)
                Q 12.  Differentiate between <object> and <embed > tag . Can we use embed tag and object tag in a single web page?   2

                Q 13.  Explain the terms object properties and object methods in JavaScript.                          2
               Q 14.   Write a function to accept response of a confirm box in javaScript from the user and display whether user has pressed “OK”
                    button or “Cancel” button.                                                                        2
                Q 15.   Nitish has written a function in JavaScript to print the rounded value of sum of the two float numbers passed as arguments
                    and the square root of the rounded value, but the code is showing some errors. Rewrite the corrected code:   2
                    function rval(num1, num2)
                    { var m = num1 + num2 ;
                    document.write(round(m))
                    document.write(sqrt(num1))
                    }
                Q 16.  Differentiate between dynamic and static websites.                                             2
              Answer any 2 out of the given 3 questions in 30 – 50 words each.                           (3 × 2 = 6 marks)
                Q 17.   Explain the advantage of splitting video clips in Windows movie maker. Can the split files be combined together in Windows
                    movie maker.                                                                                      3
                Q 18.   Give any three applications of JavaScript.                                                    3

                Q 19.  Explain following terms:                                                                       3
                   (a)  Add-ins                                   (b)  Snippets
                   (c)  IntelliSense
              Answer any 3 out of the given 5 questions in 50 – 80 words each.                           (4 × 3 = 12 marks)

                Q 20.  (a)  Explain trimming Movie Clips with respect to Windows Movie Maker
                     (b)  Explain the use of preview monitor in Windows Movie Maker.                                  4
               Q 21.  Consider the following code and answer the questions given below:                               4
                    <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=”false” autoplay=”true” autostart=”True”
                    type=”audio/wav” />
                    </object>
                     (a)  Name the file embedded in above code.   (b)  How many times will the file run/play?
                     (c)  Explain use of autostart attribute.     (d)  Does browser display the controller to viewers?

                Q 22.  (a)  Explain event handler in javaScript with two examples.                                    4
                     (b)  Write a code snippet in JavaScript to generate a random number between 1–100 and display whether it is even or odd.
               Q 23.  Write a function in JavaScript to display the current date on the web page as soon as the page is loaded.   4
                Q 24.  (a)   Write function in JavaScript to remove last element of an array ar1 of name passed to it as an argument and display it
                        in uppercase.
                     (b)   Write function in JavaScript to display the index value of first occurrence of text ‘the’ in the string ‘S1’ and length of
                        string ‘S1’.                                                                                  4



                328   Touchpad Web Applications-XII
   325   326   327   328   329   330