BIT 4th Semester
Web Technology I Question Paper 2079

Views: ...

BIT 251-2079 ✡
Tribhuvan University
Institute of Science and Technology
2079
Bachelor Level/Second Year/Fourth Semester/Science
Bachelors in Information Technology (BIT 251)
(Web Technology I)
Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks

Section A
Long Answer Questions
Attempt any Two question.
[2x10=20]
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.

2.

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

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.

Section B

Attempt any Eight questions

[8x5=40]
4.

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

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.

6.

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

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.

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.

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.

10.

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

11.

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

CIDCnameMarks
BIT251Web Tech40
BIT 101IIT50

12.

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