Web Technology - Unit Wise Questions

Unit 1: Introduction
37 Questions

1.  Explain the web server concept. Why internet is a client/server technology?

10 marks | Asked in 2068 |

1. Differentiate between 2-Tier, 3-Tier and n-Tier.

10 marks | Asked in 2073 |

1.  Explain the 2-Tier, 3-Tier and n-Tier technology with its architecture.

10 marks | Asked in 2069 |

1.  Define HTTP. Explain the overall function of HTTP with example.

10 marks | Asked in 2074 |

1.  How does a web server link physically on the Internet? How do we navigate from one URL to another from a page displayed at a browser? Explain.

10 marks | Asked in 2068-II |

1.  Explain the architectural issues of web layer with example.

10 marks | Asked in 2075 |

2.  List the protocols and their use at the application layer in the Internet. Why World Wide Web is use? Explain.

10 marks | Asked in 2068-II |

2.  What is FTP? Discuss its functions in detail.

10 marks | Asked in 2071 |

2.  Differentiate between HTTP and FTP. Discuss 3-tier technology with suitable example.

10 marks | Asked in 2072 |

2.  Explain the client tier with example.

10 marks | Asked in 2073

3.  What is HTTP? Discuss its function in detail.

10 marks | Asked in 2071-II |

4.  List the common application of web server.

5 marks | Asked in 2068 |

4.  Discuss internet as a client/server technology.

5 marks | Asked in 2071 |

4.  What is client/server technology? Differentiate between web client and web server.

5 marks | Asked in 2071-II |

4. Describe client server architecture with its types.

5 marks | Asked in Model Question |

4.  What is client/server technology? Discuss Internet as a client/server technology.

5 marks | Asked in 2072 |

4.  Explain the uses of a web server.

5 marks | Asked in 2069 |

5.  Explain the functions of web caches.

5 marks | Asked in 2068 |

5.  Explain the SMTP with example.

5 marks | Asked in 2069 |

5.  Write short notes on various services offered by the Internet.

5 marks | Asked in 2068-II |

6.  What are the different types of headers in an HTTP message from a client? Explain.

5 marks | Asked in 2068 |

6.  What is the functionality and purpose of HTTP?

5 marks | Asked in 2068-II |

4. What is HTTP protocol? Define HTTP Request and Response.[2+3]

5 marks | Asked in 2076(new) |

8.  Explain the client/server concepts of web.

5 marks | Asked in 2069 |

8.  Describe HTTP with its header fields.

5 marks | Asked in 2076 |

9. Explain about domain name and domain name system.

5 marks | Asked in 2073 |

9.  Discuss different types of client server architectures.

5 marks | Asked in 2076 |

9.  What is FTP?

5 marks | Asked in 2071-II |

9.  What is HTTP?

5 marks | Asked in 2071 |

10.  What is Web server software? Discuss its role on the Internet.

5 marks | Asked in 2075 |

10.  What is web client? Discuss its role on the internet.

5 marks | Asked in 2074 |

11.  What are the essential features of web browser? Explain.

5 marks | Asked in 2069 |

11.  Explain briefly, how the domain names are translated to IP addresses.

5 marks | Asked in 2068-II |

12.  Explain the client/server concepts of web.

5 marks | Asked in 2068-II |

12.  Differentiate between domain name and domain name system.

5 marks | Asked in 2068 |

12.  Describe the significance of IP addresses and their types.

5 marks | Asked in 2069 |

13.  Write short notes on:

        a)       SMTP

        b)       XQuery

5 marks | Asked in 2075 |

Unit 2: Hyper Text Markup Language
20 Questions

1. Explain the structure of HTML file with example. How is HTML different from CSS? Explain three different ways for inserting CSS code into an HTML file.

10 marks | Asked in Model Question |

2.  Define DTD. What are its applications? Create the HTML document with the paragraph using <p>,<h1>, <strong> for the first word for every sentence and <em> for all the capital letters.

10 marks | Asked in 2068 |

3.  Using test structuring toys, create a homepage for the curriculum vitae. Save at web server that is local or on the internet. Later view it using the browser.

10 marks | Asked in 2069 |

4.  What are the tags and attributes for a table in HTML document?

4 marks | Asked in 2068-II |

4.  What is HTML? Differentiate between "get" and "post" methods used to send form data.

5 marks | Asked in 2074 |

4.  What is the structure of HTML file? Explain with example.

5 marks | Asked in 2075 |

5.  How can you draw a table in HTML? Discuss with suitable example.

5 marks | Asked in 2071-II |

5.  Discuss the structure of HTML document with suitable example.

5 marks | Asked in 2071 |

5. Write a HTML script to insert audio file in a HTML page? Use the controls and autoplay properties.

5 marks | Asked in Model Question |

5.  Write and HTML code to display a simple form for user login.

5 marks | Asked in 2072 |

6.  What are the color attributes in HTML? Explain.

5 marks | Asked in 2069 |

6.  Write and HTML code to display the following:

                                

5 marks | Asked in 2071-II |

6.  Write an HTML code to display the following:

ID

Name

Address

Age

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 marks | Asked in 2072 |

6.  Write HTML script for displaying table with following output.

 

5 marks | Asked in 2076 |

6.  Write an HTML code to display the following:

                   

5 marks | Asked in 2071 |

7.  What are the attributes of list tag? Explain.

5 marks | Asked in 2068 |

7.  What are the visibility and display properties of HTML elements? Explain with example.

5 marks | Asked in 2076

5. Create a HTML page with tags header, article and footer. Insert alink containing mail to info@iost.edu.np in the footer tag. Set the keywords "iost", "csit" using Meta tag in the page.[5]

5 marks | Asked in 2076(new) |

12. Write HTML script for displaying div with following output. The div should be floating right.



5 marks | Asked in Model Question |

12. Why inline frames are used? Create a HTML page containing iframe within a paragraph. The iframe have source to http://www.tuiost.edu.np and its height and width are 200px and 400px respectively.[1+4]

5 marks | Asked in 2076(new) |

Unit 3: Cascading Style Sheets
13 Questions

4.  Explain with example the basic concept of cascading and inheritance in CSS.

5 marks | Asked in 2073

4.  How external style sheets can be inserted in a HTML document? Illustrate with example.

5 marks | Asked in 2076 |

3. How positioning of HTML elements can be done using CSS? Create a HTML page with a div with some content and two paragraph with some contents having id p1 and p2. Write external CSS for the div tag having fixed position with border style solid and width 2 px. the p1 should have relative position. The font type of p1 should be Arial and color should be red. The p2 have absolute position  with top 0px and left 200px.[2+8]

10 marks | Asked in 2076(new) |

5.  Define CSS? How can you use an external CSS? Explain.

5 marks | Asked in 2075 |

5.  What is CSS? How can you use an internal CSS? Explain.

5 marks | Asked in 2074 |

6. What is CSS selector? Compare id selector with class selector.

5 marks | Asked in Model Question |

7.  How can you insert inline style sheet in the HTML document? Discuss with example.

5 marks | Asked in 2072 |

7.  How can you insert external style sheets in your HTML document? Discuss with example.

5 marks | Asked in 2071-II |

7.  How can you insert internal style sheet in your HTML document? Discuss with example.

5 marks | Asked in 2071 |

8. Write a HTML script containing use of media query for changing the background-color of html page to black if the viewport is 600 pixels wide or more than that otherwise if the viewport is less than 500 pixels, the background-color should be changed to red.

5 marks | Asked in Model Question |

9.  How XSL is different from CSS? Explain.

5 marks | Asked in 2068 |

12.  Discuss about normal flow box layout in CSS and also discuss about positioning in CSS.

5 marks | Asked in 2073

11. How web pages can be made responsive using media queries ? Illustrate with an example.[2+3]

5 marks | Asked in 2076(new) |

Unit 4: Client Side Scripting with JavaScript
22 Questions

1.  Design a form containing text box for username, password field for password, radio button for gender and checkbox for hobbies. Write a program for  client-side validation of the form for the username and password field as required fields, length of username should be 5, the radio button and checkbox should be checked.

10 marks | Asked in 2076 |

2. Write HTML Script for creating a form containing text box for username, password field for password, and checkbox for Education fields. Write a JavaScript function for the validation of the form for all of the fields as required. In addition length of username should at least 4, the password should start with digit and end with $.

10 marks | Asked in Model Question |

3.  Design DOM for the time table of your classes in the present semester. Save at web server that is local or on the Internet. Later view it using the browser.

10 marks | Asked in 2068 |

3.  What is DOM Hierarchy? Explain the use of *, ? and + in defining a DOM element.

10 marks | Asked in 2068-II |

2. How can you create objects in Javascript? Create a HTML page containing a division with image and its description in paragraph. Write a javascript function to change the value of description in the paragraph during onmouseover and mouseout event on the image.[4+6]

10 marks | Asked in 2076(new) |

5.  What are the two traditional ways of assigning event handlers in DOM? Explain.

5 marks | Asked in 2073 |

5.  What do you mean by cookie? Write a Javascript code to handle cookie?

5 marks | Asked in 2076 |

6.  Explain about to charge an HTML element with the help of DOM.

5 marks | Asked in 2073

6.  How can you define event handler? Write a Javascript to demonstrate event handling. 

5 marks | Asked in 2075 |

6.  How can you define event handler? Write a JavaScript to demonstrate event handling.

5 marks | Asked in 2074 |

7.  What are the important uses of cookies? Give some examples.

5 marks | Asked in 2069 |

7. Write a JavaScript code to create an array of elements {csit, it, bca, bim}. Display the array in body of HTML.

5 marks | Asked in Model Question |

8.  Write an example of client side script to validate a form.

5 marks | Asked in 2071 |

8.  Write a simple client side script to set and retrieve cookies.

5 marks | Asked in 2071-II |

8.  Discuss the use of Cookies with suitable example.

5 marks | Asked in 2075 |

9.  Write a simple client-side script to set and retrieve cookies.

5 marks | Asked in 2072 |

10. Discuss different types of jQuery Selectors with examples.

5 marks | Asked in Model Question |

6. How jQuery animate can be used to create custom animation? Write syntax with sample script.[2+3]

5 marks | Asked in 2076(new) |

7. What is the use of JSON? How can you parse a JSON, illustrate with an example.[1+4]

5 marks | Asked in 2076(new) |

11.  Explain about client side programming with example?

5 marks | Asked in 2073 |

13.  Write short notes on:

a.       HTML DOM

b.       Tag libraries


5 marks | Asked in 2071-II |

13.  What do you mean by cookies? Explain with example.

5 marks | Asked in 2068-II |

Unit 5: AJAX and XML
33 Questions

2.  Create a small XML file designed to contain information about student performance on a module. Each student has a name, roll no, a subject mark and an exam mark.

10 marks | Asked in 2069 |

2. Define XML schema. Compare it with DTD. Write a schema to describe "name" as a root element and "first_name","middle_name" and "last_name" as child elements.

10 marks | Asked in 2074 |

2.  Explain the use of XML in web development. Write internal and external DTD to describe "mail" as a root element and "to", "from", and "subject", and "message" as child elements.

10 marks | Asked in 2075 |

2.  What is the use of XSLT? Create a XML file with elements and elements having attributes. Write the equivalent XSLT of the XML for rendering as a HTML document in a browser.

10 marks | Asked in 2076 |

2.  What is XML? Discuss the structure of XML file with example. Write an XML schema to describe “address” as an element and “city, state, street and house-no” as its attributes.

10 marks | Asked in 2071-II |

3.  Discuss the benefits of using XML. Differentiate XML schema with DTD. Write an XML DTD to describe “person” as an element and “Name, address, phone-no, and Age” as its attributes.

10 marks | Asked in 2071 |

3. Explain about XML and how to create HTML document with the help of XML.

10 marks | Asked in 2073 |

3.  What are elements and attributes of XML document? What is XML schema? Differentiate XML schema with DTD. Write a simple example of DTD.

10 marks | Asked in 2072 |

7.  How to transform XML documents to others forms? Explain.

5 marks | Asked in 2073 |

7.  What are the advantages of using XML? Explain the rules for writing XML.

5 marks | Asked in 2074 |

7.  Compare XML schema with DTD.

5 marks | Asked in 2075 |

7.  Explain the XML syntax and structure rules.

5 marks | Asked in 2068-II |

8.  How to represent data types in XML schema? Explain.

5 marks | Asked in 2073 |

8.  Mention the application of XSL.

5 marks | Asked in 2068-II |

8.  What are the advantages of XML over the HTML?

5 marks | Asked in 2068 |

9.  How is XML defined? What are the benefits of using XML namespace?

5 marks | Asked in 2069 |

9. What is XML namespace? How it is used in XML files?

5 marks | Asked in Model Question |

10.  Discuss the rules of writing XML document.

5 marks | Asked in 2071 |

9.  Why do we need XSLT? Explain XSL <xls:for-each> Element.

5 marks | Asked in 2075 |

9.  Why do we need XSLT? Explain XSL<xsl:if> Element.

5 marks | Asked in 2074 |

9.  What are the benefits and drawbacks of using XML name space?

5 marks | Asked in 2068-II |

10.  What are the various contents of an element in a DTD? Explain.

5 marks | Asked in 2069 |

10.  What is the syntax of declaring an attributes in a DTD?

5 marks | Asked in 2068-II |

10.  Why is it important to specify a DTD for an XML document? Explain.

5 marks | Asked in 2068 |

10.  Discuss public external declaration of DTD with example.

5 marks | Asked in 2071-II |

10.  Discuss the private external declaration of DTD with example.

5 marks | Asked in 2072 |

10.  Consider a XML file containing element name city <city> </city>. Now write its equivalent XSD to limit the content of city to a set of acceptable values from "PKR", "KTM", "NPJ".

5 marks | Asked in 2076 |

11.  How attributes and elements are defined in a DTD? Illustrate with an example.

5 marks | Asked in 2076 |

11.  What are the components of an XML file? Explain.

5 marks | Asked in 2068 |

8. What is XML? Create an XML file containing records of employee having elements of simple and complex types.[1+4]

5 marks | Asked in 2076(new)

9. How XSD of a XML file is created? Illustrate with an example.[2+3]

5 marks | Asked in 2076(new)

13.  Write short notes on:

        a) XML Namespace

        b) HTML DOM

5 marks | Asked in 2076 |

13.  Write short notes on:

        a) POP

        b) XPath

5 marks | Asked in 2074 |

Unit 6: Server Side Scripting using PHP
28 Questions

1.  Develop a website that checks validity of a user during the log-in process. Assume that the login data (username and password) are already stored in a database. Use client-side script to validate the user input during login process.

5 marks | Asked in 2071 |

1.  Develop a simple website that stores its contents in a database and displays those contents from the database. Assume at least five different contents.

10 marks | Asked in 2072 |

1.  Develop a simple website that asks the users to register using username, password, and email address. Store these information’s in a database. Use client side script to validate the user input during registration.

10 marks | Asked in 2071-II |

1.Create web form for book search catalog. The form should contain a dropdown defining search type, a text box for search keyword, a radio button for download type true or false, now write PHP script to store data from the form into database table and also retrive the results from stored table in a new page.[10]

10 marks | Asked in 2076(new) |

3.  Develop a simple Web site that takes first name, last name and address from the user and stores this information in the database. Use JavaScript to validate form data.

10 marks | Asked in 2075 |

3. Prepare a form that should contain text box, selection list and radio button. Write PHP script to store data from the form into database using database connection and appropriate query.

10 marks | Asked in Model Question |

3.  Construct a web page that takes name, address, and phone number from the user and stores this information in the database using server side script. Use JavaScript to validate form data for phone number.

10 marks | Asked in 2074 |

3.  Prepare a form that should contain text box for name and email, selection list for country. Write a server side script to store data from the form into database. The script should contain connection to database and appropriate query into the database.

10 marks | Asked in 2076 |

8.  Write an example of server-side script to update data in the database.

5 marks | Asked in 2072 |

8.  Discuss the use of Session with suitable example.

5 marks | Asked in 2074 |

10.  How you can create dynamic content? Explain.

5 marks | Asked in 2073

11.  Discuss the importance of session.

5 marks | Asked in 2072 |

11. Write a PHP script that illustrates handling of cookie.

5 marks | Asked in Model Question |

11.  Write server-side code to select data stored in the database.

5 marks | Asked in 2075 |

11.  Define session. Explain its use with example.

5 marks | Asked in 2071-II |

11.  Why do we need session? Explain with suitable example.

5 marks | Asked in 2071 |

11.  Write a server-side code to insert data in the database.

5 marks | Asked in 2074 |

12.  What are anti-overloaded techniques in web server?

5 marks | Asked in 2071-II |

12.  Discuss server side file handling with example.

5 marks | Asked in 2071 |

12.  Discuss anti-overload techniques in webserver.

5 marks | Asked in 2072 |

12.  Discuss about authentication by IP addressing and domain.

5 marks | Asked in 2074

12.  Discuss integrated window authentication.

5 marks | Asked in 2075 |

12.  How session handling is done in server side scripts?

5 marks | Asked in 2076 |

13.  Differentiate between file handling and form handling.


5 marks | Asked in 2069 |

13.  Explain the form handling with example.

5 marks | Asked in 2068 |

13.  Write short notes on:

a.       X Query

b.      Tag libraries

5 marks | Asked in 2072 |

13.  Write short notes on:

a.       Tag libraries

b.      Anonymous access


5 marks | Asked in 2071 |

10. How can you define variables in PHP? Define any two variable of string types and display their results after concatenation.[1+4]

5 marks | Asked in 2076(new) |