0% found this document useful (0 votes)
26 views3 pages

Web Technologies: Key Concepts Explained

The document provides answers to questions about web technologies, covering topics such as HTTP request methods, the differences between Web 1.0 and Web 2.0, types of HTML lists, and the distinction between client-side and server-side scripting. It also discusses NoSQL vs. SQL databases, search engine architecture, web mining, types of cookies, and a comparison between PHP and Node.js, as well as features of Web 3.0. Each section includes definitions, examples, and explanations relevant to the respective topics.

Uploaded by

jmnkagency
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views3 pages

Web Technologies: Key Concepts Explained

The document provides answers to questions about web technologies, covering topics such as HTTP request methods, the differences between Web 1.0 and Web 2.0, types of HTML lists, and the distinction between client-side and server-side scripting. It also discusses NoSQL vs. SQL databases, search engine architecture, web mining, types of cookies, and a comparison between PHP and Node.js, as well as features of Web 3.0. Each section includes definitions, examples, and explanations relevant to the respective topics.

Uploaded by

jmnkagency
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Web Technologies - Part B and C Answers

3.2. Part B: Answer any 4 questions (4 × 5 = 20 marks)

1. Explain HTTP request methods with examples.

HTTP defines several request methods:

- GET: Requests data from a server. Example: GET /[Link]

- POST: Submits data to the server. Used in forms.

- PUT: Updates a resource. Example: PUT /user/123

- DELETE: Removes a resource. Example: DELETE /post/1

- PATCH: Partially updates a resource.

- HEAD: Returns headers only.

- OPTIONS: Lists supported methods.

2. Differentiate Web 1.0 vs. Web 2.0.

Web 1.0: Read-only, static, limited interaction.

Web 2.0: Interactive, dynamic, user-generated content.

Examples: Britannica (Web 1.0) vs. Facebook, YouTube (Web 2.0)

3. Explain different types of lists in HTML with examples.

1. Ordered List: <ol><li>Item</li></ol>

2. Unordered List: <ul><li>Item</li></ul>

3. Definition List: <dl><dt>Term</dt><dd>Definition</dd></dl>

4. Differentiate client-side vs. server-side scripting.

Client-side: Runs on browser (JavaScript).

Server-side: Runs on server (PHP, [Link]).

Client-side is faster but less secure.

Server-side handles database, authentication.

5. Explain NoSQL and its differences with SQL.

NoSQL: Non-relational, scalable, schema-less.

SQL: Relational, structured schema.


Web Technologies - Part B and C Answers

Examples: SQL - MySQL; NoSQL - MongoDB.

3.3. Part C: Answer any 4 questions (4 × 8 = 32 marks)

1. Explain search engine architecture with a neat diagram.

Components:

- Crawler: Finds content

- Indexer: Stores processed content

- Database: Indexed storage

- Query Processor: Fetches results

Diagram: [Draw a flowchart from user -> processor -> indexer -> crawler -> web]

2. Write a program to create an HTML form using various input tags.

<form action='[Link]'>

Name: <input type='text'>

Email: <input type='email'>

Password: <input type='password'>

<input type='submit'>

</form>

3. Distinguish between SQL and NoSQL databases with a table.

SQL: Tables, fixed schema, vertical scaling

NoSQL: JSON/docs, dynamic schema, horizontal scaling

Examples: SQL - PostgreSQL; NoSQL - MongoDB

4. Explain web mining in detail.

Web mining types:

- Content Mining: Text/images

- Structure Mining: Link patterns

- Usage Mining: User behavior

Applications: Personalization, recommendations


Web Technologies - Part B and C Answers

5. a) Explain types of cookies. b) What is Bootstrap?

a) Session, Persistent, Secure, Third-party Cookies

b) Bootstrap: CSS framework for responsive design. Includes components like buttons, forms.

6. a) Explain PHP vs. [Link]. b) Explain Web 3.0 features.

a) PHP: Synchronous, traditional websites

[Link]: Asynchronous, real-time apps

b) Web 3.0: Semantic, decentralized, AI-powered, user-owned data.

Common questions

Powered by AI

Web 1.0 and Web 2.0 show significant evolutionary steps in web technology, where Web 1.0 is characterized by read-only, static, limited interactivity, exemplified by websites like Britannica. Web 2.0, on the other hand, is interactive, dynamic, and features user-generated content, as seen in platforms like Facebook and YouTube. This evolution impacts user interaction by transforming users from passive content consumers to active participants and contributors, enhancing engagement and communication .

Web 3.0 distinguishes itself from previous iterations through its semantic web capabilities, decentralization, and enhanced AI integration. Unlike Web 2.0's user-generated content focus, Web 3.0 emphasizes meaningful data interconnectivity with semantic technologies. It also adopts decentralized frameworks, reducing reliance on centralized servers, thus enhancing user data control. AI-powered systems within Web 3.0 provide automated services and better data interpretation. Consequently, Web 3.0 represents a shift towards more intelligent, user-focused web interactions .

A search engine's architecture comprises key components such as the Crawler, Indexer, Database, and Query Processor. The Crawler systematically browses the internet to find new or updated web pages. The Indexer processes and stores the crawled data into an index, allowing efficient access. The Database stores this processed content in an organized manner. The Query Processor manages user queries and retrieves relevant information from the Database to present search results .

HTTP defines several request methods, each with specific functions. The GET method requests data from a server and is typically used to retrieve web pages, such as GET /index.html. POST submits data to the server, often through web forms, without exposing it in the URL. PUT updates an existing resource, like PUT /user/123 to change user information. DELETE removes a resource using a specific identifier, for example, DELETE /post/1 to delete a post. PATCH is used for partially updating a resource. HEAD is similar to GET but returns only the headers without the body content. OPTIONS lists the available HTTP methods that the server supports for a specific URL .

Cookies play significant roles in web development, mainly classified into Session, Persistent, Secure, and Third-party types. Session Cookies store temporary information, erased after the user ends the session. Persistent Cookies, in contrast, remain on the device until expiry, retaining user preferences over time. Secure Cookies transmit data only via HTTPS, enhancing security. Third-party Cookies originate from different domains, often used for advertising and tracking across sites. These functionalities facilitate stateful user interactions and personalized experiences on websites .

Client-side scripting and server-side scripting differ mainly in execution location and interaction. Client-side scripting, such as JavaScript, runs on the user's browser and is fast due to local execution but can be less secure. It handles tasks like form validation and dynamic content adjustments without server interaction. Server-side scripting, using languages like PHP or Node.js, executes on the server, providing security and handling operations like database access and user authentication. It can return complete content to the client based on computations or data retrieval .

SQL databases such as MySQL and PostgreSQL are relational, featuring structured schemas with tables, which emphasizes consistency and relationships through vertical scaling. NoSQL databases, like MongoDB and Cassandra, offer dynamic schemas often using documents or JSON formats, emphasizing scalability and flexibility through horizontal scaling. SQL is suitable for complex queries and transactional consistency, while NoSQL supports distributed data storage and large volumes of data across various formats .

Bootstrap simplifies web development by offering a comprehensive CSS framework specifically focused on building responsive, mobile-first sites. It includes various components such as grids, buttons, and forms that allow developers to construct consistent layouts quickly. Bootstrap's responsive grid system and utility classes enable websites to automatically adjust and optimize for different screen sizes, ensuring a seamless user experience across devices .

HTML offers different list structures: Ordered, Unordered, and Definition Lists, each serving unique purposes. An Ordered List, marked by <ol><li>Item</li></ol>, displays items in a sequential, numbered format. An Unordered List, using <ul><li>Item</li></ul>, presents items with bullets, prioritizing no specific order. A Definition List, constructed with <dl><dt>Term</dt><dd>Definition</dd></dl>, pairs terms with descriptions, efficiently conveying definitions or explanations .

Web mining consists of three types: Content Mining, Structure Mining, and Usage Mining. Content Mining focuses on extracting and analyzing web page data, such as text and images, to derive meaningful insights. Structure Mining examines link patterns and hyperlinks to understand website structure and hierarchy. Usage Mining analyzes user interactions and behavior on websites to improve personalization and make recommendations. Applications of web mining include creating personalized user experiences and enhancing recommendation systems for better user engagement .

You might also like