Web Technology (CSC329) 2081 BS Past Questions & Solutions

Tribhuvan University (TU) 2081 BS board exam question paper with verified step-by-step solutions for BSc CSIT Fifth Semester.

TRIBHUVAN UNIVERSITY

INSTITUTE OF SCIENCE AND TECHNOLOGY

2081 B.S.

Bachelor Level: B.Sc. CSIT

Semester: Fifth Semester

Subject: Web Technology (CSC329)

Full Marks: 60 / 80

Pass Marks: 24 / 32

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

Group A

Long Answer Questions

Attempt any Two questions.

  1. 1
    Describe the rules for creating XML document. Create a XML file with simple type and elements with attribute and nested elements. Write its equivalent XSD. [3+3+4]
  2. 2
    Create an HTML file containing form with textbox, select, and radio button. Write javascript function for validation (required, value selected, radio checked). [10]
  3. 3
    Write a PHP program to create a form. Create an insertdb() method to insert values into database and displaydb() to display them. [10]

Group B

Short Answer Questions

Attempt any Eight questions.

  1. 4
    Describe client server architecture with its types. [5]
  2. 5
    Write a HTML script to create a table with $3\times3$. Second row third column has text "TU" linked to www.tu.edu.np. Height of second row is 200px. [5]
  3. 6
    What is onload event in HTML? Write a script that displays "Hello Nepal" alert in onload. [2+3]
  4. 7
    How internal and external CSS differ? Illustrate with examples. [5]
  5. 8
    How can you define array in javascript? Create array Fruit with elements and print it. [5]
  6. 9
    How can you transform XML document into HTML using XSLT? Support with an example. [5]
  7. 10
    Write a PHP function add that takes two arguments and returns their sum. [5]
  8. 11
    Define cookie. Write PHP program to create and retrieve a cookie. [1+4]
  9. 12
    What is text-overflow property in CSS? How can you use clip and ellipsis? [1.5+3.5]