Page 76 - Trackpad_V5_Book 8
P. 76

3.  Answer in one or two words.
                a.   What are the instructions given to JavaScript interpreter to take some
                   actions called?                                                              _______________
                b.   What was the first name of the JavaScript?                                 _______________
                c.   In which type of JavaScript, is the code written and saved in a separate file?    _______________
                d.   What is a combination of values and operators?                             _______________

            4.  Think and answer.
                a.  What is JavaScript?
                   ______________________________________________________________________________

                b.  What are statements in JavaScript?
                   ______________________________________________________________________________

                c.   What do you mean by client-side scripting language?
                   ______________________________________________________________________________

                d.  Write any two features of JavaScript.
                   ______________________________________________________________________________

                   ______________________________________________________________________________
                e.  Define Operators with example.

                   ______________________________________________________________________________
                   ______________________________________________________________________________

                f.  Write the syntax for using the External JavaScript code.
                   ______________________________________________________________________________

                   ______________________________________________________________________________

            5.  Differentiate between the following:
                prompt( ) method                      document.write( ) method

                ________________________              ________________________

                ________________________              ________________________
                                                                                         21 st
            6.  Competency-based/Application-based questions:                          Century   #Experiential Learning
                                                                                        Skills
                a.   Chirag created a website using HTML5 and formatted it using CSS. He now wishes to add
                   some interactive elements to the website for the site visitors. How can he achieve this?
                   ______________________________________________________________________________

                b.   Shweta is creating a website in HTML. She wants to add a functionality to accept the roll no of a
                   student online. Which method of JavaScript helps her to do do?

                   ______________________________________________________________________________
                c.   Devansh is a student of class 8. He wants to create a web page to perform different mathematical
                   operations by taking values from the user. But, he does not know which method of JavaScript is
                   used to convert the input value into integer. Suggest him the suitable method.
                   ______________________________________________________________________________


             74   Pro (Ver. 5.0)-VIII
   71   72   73   74   75   76   77   78   79   80   81