Web Technology 2080 (new)

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2080 (new)
Bachelor Level / Fifth Semester / Science
Computer Science and Information Technology ( CSC318 )
( Web Technology )
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Section A

Official Answer
AI Generated Answer

AI is thinking...

Attempt Any TWO questions. 

[2 * 10=20] marks
Official Answer
AI Generated Answer

AI is thinking...

1. Write HTML script to create HTML form as below and perform form validation using JavaScript.

The validation should be as; the username should be of length at least 4 and is required. The password should start with a character and end with # and is required. The country and gender should be checked.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. How XML is different from HTML? Write XML script to create XML document containing element Person having sub elements Age, Name and Pincode. Write equivalent XSD for validating restrictions on the elements as the Age should be between 10 to 20, the Name should be be only accepting either Ram or Shyam and the Pincode should be 3 digit.

[2+4+4] marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Write a server side script in PHP to illustrate inserting and selecting values to and from database table. Create required connection using your own assumptions.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Section B

Official Answer
AI Generated Answer

AI is thinking...

Attempt Any EIGHT questions.

[8 * 5 = 40] marks
Official Answer
AI Generated Answer

AI is thinking...

4. Describe the WWW, web client and web server.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. What are HTML, keyboard events? Write a script to display a message "Hello World" on onkeypress event.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. How can you define position property for specifying specific positioning of an HTML element? Write internal CSS to illustrate position of an HTML div.

[2+3] marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What is chaining in jQuery? Write a script to illustrate concept of chaining using slideUp and slideDown method. 

[1+4] marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What is XML? Why is it called extensible? Mention the use of XML.

[2+1+2] marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. What is XMLHttpRequest object? Write HTML script AJAX showing the use of XMLHttpRequest object.

[2+3] marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Write a PHP program that includes that will take two strings as input argument and print the concatenation of the two strings.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. How can you handle session in PHP?

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...