Web Development Basics

EducatedSamarium avatar
EducatedSamarium
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the main difference between 2-tier and 3-tier architecture in e-commerce?

In 2-tier architecture, the client interacts directly with the server, whereas in 3-tier architecture, the client interacts with an intermediate layer (application server) that interacts with the server, providing better scalability and maintainability.

What is the purpose of a Servlet Engine in a web container?

A Servlet Engine is responsible for managing the lifecycle of Servlets, including instantiating, initializing, and destroying them, as well as handling requests and responses.

What is the difference between a static and an active web page?

A static web page is a pre-built HTML page that is served as-is, whereas an active web page is a dynamic page that is generated in response to user input or other factors, using technologies such as JavaScript or server-side scripting.

What is the purpose of a DTD in XML?

A DTD (Document Type Definition) is used to define the structure and constraints of an XML document, including the relationships between elements and attributes.

What is the difference between SAX and DOM parsers in XML?

SAX (Simple API for XML) is a streaming parser that processes XML documents incrementally, whereas DOM (Document Object Model) is a tree-based parser that loads the entire document into memory.

What is the purpose of the META tag in HTML?

The META tag is used to provide metadata about an HTML document, such as the author, keywords, or description, which can be used by search engines or other applications.

What is the advantage of using CSS over HTML for styling?

CSS (Cascading Style Sheets) allows for separate styling of HTML documents, making it easier to maintain and update the layout and design of a web page.

What is the purpose of the ID selector in CSS?

The ID selector is used to select a specific HTML element based on its unique ID, allowing for precise styling of that element.

What is the role of JDBC in Java-based web applications?

JDBC (Java Database Connectivity) is used to connect to a database and perform CRUD (Create, Read, Update, Delete) operations, allowing Java-based web applications to interact with a database.

What is the purpose of RMI (Remote Method Invocation) in Java?

RMI is used to enable remote method invocation between Java objects, allowing them to communicate with each other over a network.

Study Notes

`

  • Example of an HTML page:

  
    My Page
  
  
    Welcome to my page
  

Test your knowledge of web development fundamentals, including HTTP, CSS, HTML, and Servlets.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser