To Notes

IT 130 -- 3/1/10

Review Questions

  1. How do you obtain and display the current date and time?
     
    Ans: Create a new Date object with
        var d = new Date( );
    
    Then display this date with
        document.frmMain.txtDate.value = d.toString( );
    
  2. Explain the difference between client-side processing and server-side processing.
     
    Ans: Client-side means that all computations are performed by the browser. Server-side means that information is sent back to the server, and then the server processes that information, for example by updating its databases.
     
  3. What is a CSS class? Why would you want to use one?
     
    Ans: A class is like a style, but it has a user-defined name starting with a dot. To use a style, use the attribute class=c1, where c1 is the name of the class.

 

Review for Final Exam