Nội dung text Web Technology Boards Qns.pdf
Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. 2022 Batch
Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: III Subject: Web Technology 2021 Batch Group B Attempt any SIX questions 2. What is an image map? Describe the key steps involved in creating a client image map in HTML using necessary tags and attributes. 3. What is session? Explain how session works with proper example. 4. What is CSS? Explain CSS Box model along with its related properties and example. 5. What is tier Architecture? Differentiate two-tier technology with three-tier technology. 6. What is web server? Explain different functions of web server. 7. What is well formed XML? Explain different ways of DTD implementation for XML documents. 8. Define XPath? Explain different elements required to create XSLT document. Group C Attempt any TWO questions 9. Design form to accept name, email, phone, gender, country and validate them using server script with following rules and store them into database called "store" and table "information". • All fields are required. • Phone number must contain 10 digit • Email must be valid format 10. Write HTML and CSS code to design following layout. Phone:01-545454545 Address: Kirtipur Kathmandu Social Media List(Link) Logo[Image] Website Name[h1] Menu Recent Posts • Post 1 title • Post 2 title • Post 3 title • Post 4 title • Post 5 title [Image] Description..............(Paragraph) Copyright @unibytes.xyz 11. Write a valid and well-formed xml to store details of visitor list of ABC College with following details and validate record with following information. a) Record must include details of name, mobile, department, related contact person, date, entry time,exit time and visitor number as attribute. b) Mobile must be 10 digit. c) Visitor may not have any contact person . d) Record must belongs to Admin, IT, Account and Exam Department. Don’t Forget to Follow Uni Bytes
Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: III Subject: Web Technology 2020 Batch Group B Attempt any SIX questions 2. Create the following table using the HTML elements. Magic Table 8 7 80 20 40 25 50 60 90 30 3. What are the various font-related attributes in CSS? Explain with suitable example. 4. How does Tier Technology function inside the architectural framework of a web application? 5. How does a web server process and handle HTTP requests and responses with example? 6. Create a server site script to use cookie variables for the login and logout process without using databases. 7. Use server-site scripting to calculate the x using the data from two text boxes. 8. What are the new form elements introduced in HTML5 and how do they differ from previous versions? Group C Attempt any TWO questions 9. Given an XML document that contains a list of products with the following elements: productname, category, price, and quantity, write an XSLT stylesheet that: a) Filters out any products that have a quantity less than 10 b) Groups the remaining products by category and creates a new XML document with a new element called "category" that contains the products within that category as child elements. c) Within each category element, sorts the products by price in descending order. d) Transforms the element "productname" into an attribute of each product element. e) Add a new element called "total-price" to each product element, which contains the total price of the product (price quantity) Don’t Forget to Follow Uni Bytes
Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. 10. Make a script for the server site to display the following data by reading from a database and saving any new values that the user has updated. Think about the specifications of your own database, if any. 11. Make a well-formed XML document as per the diagram below, then use an appropriate XSD document to validate it in consideration with below restrictions. XSD Restrictions: a) The username must have a minimum of 8 characters. b) The character limit for posts is 5 to 8. c) The password must be 8 characters long and begin with Aa-Zz. d) The gender must be one of male, female, or other. e) The salary should range from Rs. 25,000 to Rs. 50,000. Don’t Forget to Follow Uni Bytes