Q1: a) What is Web 2.0? How is it different to Web 3.0? What is the basic concept of Web 4.0? Explain the term WWW and its uses. Explain the term “Blogging”. List any 10 protocols/software that can be used as Web 2.0 technologies.
b) Create a registration form, using HTML for opening an email account with an organisation. The form asks for the following information: Proposed email id (it can be of the type email@example.com) Proposed password (should have a minimum size of 6 characters)
-Name of the person requesting for email account
-City and State of the person requesting for email account (both should be selected from drop down lists, default value for City should be Jaipur and State be Rajasthan)
-desired email services, which can be selected from “Basic Service” or “Advanced Service”.
-The form should include a SUBMIT button.
c) Using table and lists create two web pages, first displaying the schedule of assignments that are to submitted by the students of BCA first year. This first web page should include the course code and course name of the courses of BCA first year for which assignments are to be submitted, the assignment number, the last date of submission of assignment and the date and time of viva-voce for the students. The second page should display an unordered list, displaying the suggestions for writing assignment responses. You should use tags, wherever needed, and create an internal CSS file, which formats the web pages as follows: (You must submit the HTML and CSS code and the display of pages in a browser)
(i) Table must have a proper heading. The content of the table headings should be in Bold.
(ii) The table heading should be shaded and every alternate row of table should have a light green as the fill colour. The background of the table should be light yellow.
(iii) The font of the unordered list should be “Times New Roman” with font size of 11 points.
(iv) You must demonstrate how changes in CSS can change the display at the time of Viva.
d) A store maintains the list of its Customers using XML. Each Customer is assigned a unique Customer Identifier (CustID) of 6 digits. This CustID is used as an attribute in XML document. The document stores the customer name, customer address (at least one address is required), customer phones (at least one phone number is required) and customer profession (optional). Create an XML documents containing information of five such customers. Also create the DTD to verify the XML document created by you
f) Discuss the WAP model. Explain the following WML elements with the help of an example
Q2: a) Explain the following with the help of a diagram/example, if needed:
(i) MVC architecture
(ii) GET and POST methods
(iii) Server side scripting and its tools
(iv) Web Container
(v) N Tier architecture
Q2. b) Explain with the help of an example/diagram or write code for the following using JSP:
a) The process of generating dynamic content using JSP and advantages of using JSP.
b) page and include directives of JSP
c) Declaration, expressions and scriptlets in the context of scripting elements
d) <jsp:getProperty> and< jsp:setProperty> action elements
e) session and out implicit objects
Q2. c) Write JSP programs which can perform the following tasks:
(i) A page requires input of four variables a, b, c and d, it then computes and displays the value a*b/(c+d). In addition, the program must make sure that, in case there is division by zero error, it is reported. Write the JSP code for the above.
(ii) Why are cookies created? Explain their use with the help of two cookies namely customerID and customername. The example should demonstrate the use of the cookie.
Q2. d) Explain the process of application development and deployment; and develop and deploy the following application using this process:
Develop and deploy a “Staff Management System” for an organisation using JSP and any database backend. This system stores the following information about the staff members: A database table stores the basic information about the staff, which includes:
StaffmemberID, Name, qualification, date of joining, address, phone and designation. A second table stores the information about designation and the fixed monthly salary for that designation (assume that salary is fixed) This system is used by the Human Resource Management team, which can enter information of a new staff member; or delete the data of a member who has left the organisation; or
change the designation of a staff member; or computes the total salary to be paid for all the staff members. Submit the program and database for the given system. You must demonstrate this system at the time of viva. Make and state suitable assumptions