Page 50 - Trackpad_V2.1_class8
P. 50

1.  Tick ( ) the correct option.
                      a.  Which of the following languages is used to make dynamic web pages?
                          (i)   HTML                                       (ii)  CSS

                         (iii)   JavaScript                                (iv)  None of these
                      b.  In which year JavaScript was developed?

                          (i)   1995                                       (ii)  1985
                         (iii)   1975                                      (iv)  1997

                      c.  Which of the following tags is used to add JavaScript in web page?
                          (i)  <JavaScript>                                (ii)  <head>

                         (iii)   <script>                                  (iv)  All of these

                      d.  Which of the following is used to add single line comments in JavaScript?
                          (i)  :                                           (ii)  //
                         (iii)  ;                                          (iv)  “”


                  2.  Fill in the blanks using the words from the help box.

                               operator, interpreted, loosely, Brendan Eich, case-sensitive expression

                      a.   JavaScript  was developed  by  _______________, a  Netscape  Communications  Corporation
                         programmer.
                      b.  JavaScript is a _______________ and _______________ language.

                      c.   JavaScript is a _______________ typed language which means it does not require a data type to be
                         declared before using it.
                      d.  An _______________ is a symbol that is used to perform calculations on values or variables.

                      e.  An _______________ is a unit of code that is evaluated to a value.
                  3.  Answer in one or two words.
                      a.   What are the instructions given to the JavaScript interpreter to take some
                         actions called?                                                              _______________
                      b.   What was the original name of the JavaScript?                              _______________
                      c.   Which JavaScript type writes and saves the code in a separate file?        _______________

                      d.   What is a combination of values and operators?                             _______________
                  4.  Think and answer.

                      a.  What is JavaScript?
                         ____________________________________________________________________________






                   48   Trackpad (V2.1)-VIII
   45   46   47   48   49   50   51   52   53   54   55