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

v.  Which of the following program over the web runs sound card?                                  1
                      (a)  midi file                              (b)  presentation
                      (c)  html                                   (d)  image
                   vi.  .cgm ( Computer Graphic Metafile) is an example of ................................ graphic.( Raster/ Vector)   1
                  vii.  Free Video Coding is an online service which helps us to create a ................................ .
                      (a)  image files                            (b)  web video player
                      (c)  movies                                 (d)  movie editor
              Q 4.  Answer any 5 out of the given 6 questions.                                           (1 × 5 = 5 marks)

                    i.  What is WHAM?                                                                                 1
                   ii.  An IFF is a ................................ file playable on Pentium computers.              1
                      (a)  video                                  (b)  sound
                      (c)  image                                  (d)  animated
                   iii.  JavaScript was developed in 1995 by ................................ .                       1
                      (a)  Microsoft                              (b)  Brendan Eich
                      (c)  Mark Zuckerberg                        (d)  Larry Page
                   iv.   Consider the JavaScript code given below and write necessary code to alert the browser that the code following this is
                      in JavaScript.                                                                                  1

                       <script type=................................ src=”simples.js”></script>
                    v.  Give a statement in JavaScript to declare a float variable ‘percent’ and initialize if with value 74.75.    1
                   vi.  Write an expression in JavaScript to display “Good Morning “Message” using console object.    1
              Q 5.  Answer any 5 out of the given 6 questions.                                           (1 × 5 = 5 marks)

                    i.   Select the option that shows correct value for content of array a after execution of the JavaScript code snippet given
                      below:                                                                                          1

                       var a= [“Pen”, “Eraser”, “Ruler”, “Sharpener”]

                      a[4]=”Pencil”
                      (a)  [“Pen”, “Eraser”, “Ruler”, “Pencil”]
                      (b)  [“Pen”, “Eraser”, “Ruler” , “Pencil”, “Sharpener”]
                      (c)  [“Pen”, “Eraser”, “Ruler” , “Sharpener” , “Pencil”]
                      (d)  [“Pen”, “Eraser”, “Ruler”, “Sharpener”]
                   ii.   How many times will the following loop run                                                   1

                          for(c = 1; c < 20; c=c+5) {
                              document.write(“C : “ + c );
                              document.write(“<br />”);

                          }
                   iii.   To  import  scripts  from  external  JavaScript  files,  save  the  code  in  a  text  file  with  the  .js  extension  without  the
                      ................................ and comments.                                                  1
                      (a)  filename                               (b)  javascript code
                      (c)  script tags                            (d)  images
                   iv.  Consider the following JavaScript code and predict the output:                                1
                      <html> <body>

                      <p id=”demo”></p>
                      <script>

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