Page 78 - 2611_SmartGPT Pro V(5.0) C-8
P. 78

Periodic Assessment                         2

                                                     (Based on chapters 3 & 4)



                  1.   Find the error in the given code:
                        <HTML>
                        <TITLE> My First JavaScript </TITLE>

                        <SCRIPT TYPE="text/javascript" SRC="external.js">
                        </SCRIPT>
                        </HEAD>
                        </BODY>
                        This message box is displayed using external JavaScript.
                        <BODY>
                        </HTML>

                  2.   Identify and list the SQL data types used in the given examples:
                      a.  40, 45                                ____________________

                      b.  True                                  ____________________


                      c.   ‘Priya Gupta’, ‘Sanjay’               ____________________

                      d.  ‘2025-08-15’                          ____________________




                  3.  Write the SQL syntax for the following:

                      a.   To create a database.
                         __________________________________________________________________
                         __________________________________________________________________


                      b.   To view a database
                         __________________________________________________________________

                         __________________________________________________________________

                      c.   To delete a database.

                         __________________________________________________________________

                         __________________________________________________________________












                   76   Computer Science (V5.0)-VIII
   73   74   75   76   77   78   79   80   81   82   83