Course Code: BCS-53
Course Title: Web Programming
Assignment Number: BCA (5)/53/Assignment/2019-20
Maximum Marks: 100
Last Date of Submission: 15th October 2019 (For July 2019 Session)
15th April 2020 (For January 2020 Session)
This assignment has two questions of 80 marks. Answer all the questions. Rest 20 marks are for viva voce. You may use illustrations and diagrams to enhance explanations. Please go through the guidelines regarding assignments given in the Programme Guide for the format of the presentation. Please give precise answers. The word limit for each part is 300 words.
Q1. (Covers Block 1)
a) What are the features of Web 2.0 that make it different than that of Web 1.0? What is Web 3.0? What is a search engine? Explain how it can find information from the WWW. Explain the term “Web Services” and “Streaming”. List the protocols/software that would be required to implement Web Services. List the features of any four different Web 2.0 technologies.
c) Using tables and Lists create two web pages first showing the timetable of the theory and practical counseling sessions of BCA with proper headings. This table should include Semester, course code, course name, batch number, session date and time and Venue (lecture room number or lab number). The second page should display an unordered list, displaying batch number and name of students in that batch. You should use <div> tags and create an internal CSS file which formats the web pages as follows:
(i) The content of the table heading should be in Italics.
(ii) The table heading should be shaded and every alternate row of the table should have light blue as the fill color. The background of the table should be light green.
(iii) The font of the unordered list should be Arial with font size 12 points.
(iv) You must demonstrate how a change in CSS can change the display at the time of Viva.
d) A Book store maintains the list of its Books using XML. Each book has a unique ISBN (you may use 13 digit ISBN only) and should be used as an attribute in an XML document. The document should also store the Book Title, One or more author names, price of the book and number of copies available in the store. Create an XML document containing information of five such Book records. Also, create the DTD for the XML document created by you.
f) What are the Objectives of WAP? Explain the working of the WAP model. Explain the following WML elements with the help of an example
Select and Input
Q2. (Covers Block 2) (10×4=40)
a) Differentiate between the following with the help of a diagram/example, if needed:
(i) Three-tier architecture and MVC architecture
(ii) GET and POST methods
(iii) Client-side scripting and Server-side scripting
(iv) The HTTP server and Web Container
b) Explain with the help of an example/diagram or write code for the following using JSP:
(i) The use of dynamic includes the option in JSP.
(ii) Write a Scriptlet that displays first n natural numbers and their sum. You may assume n=10. You must use a looping construct for the same.
(iii)JSP Life cycle
(iv) Use of JSP implicit objects -request and response
(v) Anyone action element other than include.
c) Write JSP code which can perform the following task:
(i) A page requires an input of three variables x, y, and z, it then calculates and displays the value x*y/z. Also, the program must make sure that division by zero error, if occurs, is reported.
d) Explain the process of application development and deployment; and develop and deploy the following application using this process:
Develop and deploy a student management system for a small institute. A student can enroll for only one course at the institute by paying a fee. The information about the student is recorded in a database table. You must create two database tables for this application; the Student table should keep track of student ID, name, course code, the fee paid; the Course table should have details like course code, the course title, teacher name, start date, duration, a fee of course. Your application should be able to enroll a new student; display a list of all the students of a course, and add or delete a course.
Make and state suitable assumptions.