Tribhuvan University
Institute of Science and Technology
2082 B.S.
Candidates are required to give their answers in their own words as far as practicable.
Group A
Long Answer QuestionsAttempt any Two questions.
- Question 1Define CSS. What is the use of CSS shadow effects? Write an HTML script with proper CSS to display "CSIT Exam" in a div with id div1, with a horizontal shadow of 3px, vertical shadow of 2px, and color green. Set the div's shadow to 10px blue. [2+3+5]
- Question 2What are jQuery selectors? Explain jQuery callback and chaining effects with appropriate jQuery scripts. [4+6]
- Question 3What is the use of XML? Create a XML file having complex type elements and text. At least one element should contain an attribute. Similarly, there should be elements containing string, integer and date type values. Now write the equivalent XSD. [2+3+5]
Group B
Short Answer QuestionsAttempt any Eight questions.
- Question 4Define web clients and web servers with examples. [5]
- Question 5Write a HTML script using audio tag. Set the autoplay, preload and loop properties to appropriate values. [5]
- Question 6Write HTML script to demonstrate the onkeydown and onkeypress events. [5]
- Question 7Write a HTML script with proper JavaScript that will take an input from prompt box and display the input as output using the alert box. [5]
- Question 8Create an HTML page containing three paragraphs p1, p2 and p3. Write internal CSS to set positions to relative, float, and absolute respectively. [5]
- Question 9What is the use of alert box? Write a JavaScript program to show the use of RegExp object. [1+4]
- Question 10Write a PHP program to demonstrate the concept of inheritance. [5]
- Question 11Write a PHP program to show insertion of multiple data into a database table. [5]
- Question 12Create a PHP form with form elements. Write a program to perform form validation based on your own assumptions. [5]