introduction

 

1.  (a) Create a simple HTML page which demonstrates the use of the various types of lists. Try adding a definition list which uses an unordered list to define terms.

     (b) ) Explain how forms are created. What is the difference between group of checkbox buttons and group of radio buttons?

     (c) Create a HTML document that includes 2 rows of frames with 2 frames in each row. The two left frames must occupy 25% of the width of the display. The bottom 2 frames must occupy 40% of the height of the display. The top left frame must display the name of your mother and all of her siblings (min 2). The bottom left frame must display the name of you father and all of his siblings (min2).Each name in the left frame must be a link to a document that is displayed in the right frame when the link is selected. The document in the right frames are short description of the people.

2.a) Discuss various types of styles sheets in CSS with Background, Font, and Border properties with examples.

     b)Show how group and alignment of table’s rows and columns is achieved using HTML. How do you add a border to a create table?

 c)A) Compare and Contrast HTML and DHTML? Explain how images and links are added to WebPages.

3.a)What is JavaScript? Explain objects in JavaScript.

   b) Create a java script which has event handlers for the buttons “red”, “blue”, green”, “yellow” and “orange” which must produce messages stating the chosen favorite color. The event handler must be implemented as a function, whose name must be assigned to the onclick attribute of the radio button elements. The chosen color must be sent to the event handler as a parameter.
  c) Insert an image into a web page. Write a script which displays a message when the mouse is over the image. The co-ordinates of the mouse should be displayed if click is attempted on the image.

4. (a) Write a java script to display the denomination of the amount deposited in the bank in terms of 100’s, 50’s, 20’s, 10’s, 5’s, 2’s & 1’s. (Eg: If deposited amount is Rs.163, the output should be 1-100’s, 1-50’s, 1- 10’s, 1-2’s & 1-1’s)
   (b) What is function? Explain how parameters are passed to functions in java script.

   (c) Write a java script to validate a form consisting of a username. Also navigate to another web page after validation.

5. (a) Give the syntax of an XML document and explain how a basic XML document is created with an example. Explain the following terms related to Document Type Definition:
i. elements
ii. Attributes & entities
iii. Internal & external entities.

   (b) Design an XML schema for hospital information management. Include every feature available with schema.

   (c) What is a namespace? Describe how a namespace is created with a relevant example.

6. (a) Define an XML schema. Show how an XML schema can be created.

    (b) Clearly explain the advantages of XML schemas over DTDs.

    (c)  Show how SAX is an alternative method for parsing XML documents. Also give the advantages of SAX.

7. (a) What is a java Bean? What are the advantages of java Bean? Illustrate with example.

    (b) Explain with example how to develop a simple Bean and connect it to other components using BDK.

    (c) Write about the following:
          (i) Bean methods
          (ii) Bean properties
          (iii) Bean events. 

8. a)Take the Tick Tock Bean available in BDK, build an application which controls the Colors Bean. Develop the necessary code to exhibit the bound properties of java beans with the above mentioned beans.

    b)Write about EJB.

 

 

 

 

 

 

Comments