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 /index.html
- 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, Node.js).
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='submit.php'>
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. Node.js. b) Explain Web 3.0 features.
a) PHP: Synchronous, traditional websites
Node.js: Asynchronous, real-time apps
b) Web 3.0: Semantic, decentralized, AI-powered, user-owned data.