About this previous year paper
Web Technology (NCS-504)
Section-Wise Important Questions & Study Notes
SECTION–A
(Attempt all questions | 2 × 10 = 20)
Write short, crisp answers (2–3 lines). No long explanations.
1. Anchor and Table Tag in HTML
Anchor (<a>) tag is used to create hyperlinks.
Table (<table>) tag is used to display data in rows and columns using <tr>, <td>, <th>.
2. Forms in HTML
HTML forms collect user input using <form> tag with elements like <input>, <select>, <textarea> and submit data to server.
3. Difference Between ID and Class Selector in CSS
| ID Selector | Class Selector |
|---|---|
| Unique | Can be reused |
| Uses # | Uses . |
| One element | Multiple elements |
4. Well-Formed vs Valid XML Well-formed XML follows syntax rules.
Valid XML follows syntax + DTD/XML Schema rules.
5. Web Project
A web project is a collection of web pages, scripts, databases, and resources designed to deliver a web application.
6. Client-Server Architecture Client requests services and server processes and responds.
Example: Browser (client) and web server.
7. JDBC Drivers in Java
Types: Type-1: JDBC-ODBC Bridge
Type-2: Native API Type-3: Network Protocol
Type-4: Thin Driver
8. Filters in PHP
Filters validate and sanitize user input to prevent security issues like SQL injection.
9. EJB and Its Types
EJB (Enterprise Java Beans) is used for server-side business logic.
Types: Session Beans
Entity Beans Message Driven Beans
10. JAR Files
JAR stores Java classes and resources in compressed form.
Command: jar cvf test.jar *.class
SECTION–B
(Attempt any THREE | 10 × 3 = 30)
Write descriptive answers with examples.
1. CSS and Its Types
CSS is used to style web pages.
Types: Inline CSS
Internal CSS External CSS
Explain each with example.
2. Exception Handling in Java
Explain: try, catch, throw, throws, finally
Use a simple Java example showing exception handling.
3. Packages in Java Packages group related classes.
Explain: Built-in packages
User-defined package creation using package keyword
