Page 132 - DCAP312_WEB_TECHNOLOGIES_II
P. 132

Web Technologies-II



                   Notes            7.  Which action will raise an exception?
                                       (  a)  Dividing by zero
                                       (  b)  Assigning the string “Hi” to an integer variable.

                                       (  c)  Accessing an empty CD drive.
                                       (  d)  All of these.

                                    8.  An Exception is another name for a:
                                       (  a)  compile error            (b)  logic error
                                       (  c)  runtime error            (d)  superficial error
                                    9.  ........... applies to errors that happen within a single page.

                                       (  a)  Page level               (b)  Application level
                                       (  c)  Both (a) and (b)         (d)  None of these.
                                   10.  ……… applies to errors that happen anywhere in the application.

                                       (  a)  Page level               (b)  Application level
                                       (  c)  Both (a) and (b)         (d)  None of these.
                                   11.  Which is not an error mode in an ASP.Net application……..?

                                       (  a)  on mode                  (b)  off mode
                                       (  c)  remote mode              (d)  logic
                                   12.  HTTP stands for ......

                                       (  a)  Hypertext Transfer Protocol   (b)  Hypertool Transfer Protocol
                                       (  c)  Hypertext.Transport.Protocol   (d)  None of these.
                                   13.  Which one is not an aspects of error handling

                                       (  a)  tracing                  (b)  error handling
                                       (  d)  debugging                (d)  All of these.
                                   14.  IIS stands for ……….

                                       (  a)  International Information Services
                                       (  b)  Internet Information Services
                                       (  c)  International Integrated Services

                                       (  d)  None of these.
                                   15.  Web API is a brand new framework that makes it easy to build HTTP services.
                                       (  a)  True                     (b)  False

                                 6.6 Summary


                                    •  When the error attribute is set to “Off “, ASP.Net uses its default error page for both local
                                      and remote users in case of an error.

                                    •  Try-catch is a C# programming construct. The try block holds any code that may or may
                                      not produce error and the catch block catches the error.



        126                               LOVELY PROFESSIONAL UNIVERSITY
   127   128   129   130   131   132   133   134   135   136   137