BIT301 Web Technology II

Web Technology II TU Board 2079 question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Information Technology

Semester 5 · TU Board 2079

Course Title: Web Technology II (BIT301)

Full Marks: 60Pass Marks: 24Time: 3 hours

Candidates are required to give their answers in their own words as far as practicable.

Group A

Attempt any Two questions.(2 × 10 = 20)

  1. 1.

    What is the meaning of hypertext and markup in HTML. Create a HTML page having title "Myfirstpage" and a Meta tag with name author having content "Gunnu". The page should have a body part having a div with id DV_1 which should contain an ordered list of fruit items namely Orange, Apple2, Banana3 and Kiwi. The item kiwi should also have link to www.kiwi.com. Insert a comment "This is kiwi" after the item Kiwi. Also display an alert message "Helloworld×" in onload() event of the body.

    10
  2. 2.

    What is CSS? How CSS is inserted in a HTML page? Illustrate with examples.

    10
  3. 3.

    What is the meaning of extensible in XML? Mention the XML naming rules. Create an XML file containing an empty element with content, element with element, and element with attribute. Now write equivalent DTD.

    10

Group B

Attempt any Eight questions(8 × 5 = 40)

  1. 4.

    Justify with an example that how XML namespace provides a method to avoid name conflict.

    5
  2. 5.

    Create a XMl file containing elements Username, Password. Write its XSD and set the restriction of the password must be minimum 4 characters and maximum 8 characters.

    5
  3. 6.

    Write a CSS script to illustrate the concept of Normal Box Layout and Basic Box Layout.

    5
  4. 7.

    Write an external Css and link it to a HTML page containing HTML elements. Use your own assumptions for HTML elements and their CSS.

    5
  5. 8.

    How variables in JavaScript are defined and declared? Write a JavaScript function that will include the variable having values number 5 and character '5' and print the variables.

    5
  6. 9.

    What is form validation? Write a JavaScript function to validate an email field, password having length at least 6 and a collection of checkbox of 3 hobbies having at least one of them to be checked.

    5
  7. 10.

    What is canvas element? Write a HTML script to create a canvas field having id cv1 and draw a circle inside the canvas.

    5
  8. 11.

    What is table in HTML? Create a HTML page containing a DIV with name "divtb". The divtb should contain a table as below CIDCnameMarksBIT251Web Tech40BIT 101IIT50

    5
  9. 12.

    What do you mean by client server architecture? Describe different types of client server architectures.

    5

— The End —