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.

b) Create a registration form using HTML for a Banking application. The form asks for the following information – Account Number (it should be of 16 decimal digits), Name of Account Holder (assume that joint accounts are not allowed), City and State of account holder (both should be selected from drop-down lists, default value for City should be Lucknow and State be Uttar Pradesh), email ID (it should be validated), and selectable list of choice of services (using checkboxes) such as Passbook Viewing, Money Transfer, Cheque Book issues, Bank Draft Issue, etc. The form should include a SUBMIT button. You must also create a CSS file for this form. This CSS file should define font family; a bigger font size (16 points) for headings and normal text font size of 12 points; font color should be dark blue for the headings and dark green for normal text. The background color of the entire form should be light yellow. Also, write the code using JavaScript that validates the entered data when the user presses the Submit button. You must demonstrate the form at the time of viva.

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.

e) Write and demonstrate JavaScript code that changes the text entered in a text box of a form to uppercase when the user leaves that text box. You must use event handling. Make suitable assumptions, if any.

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
 Table
 Images
 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
(v) JSP and JavaScript

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.

(ii) Demonstrate the use of cookies by creating two cookies using JSP – username, and password. Also, write the JSP code to displays the values stored in these cookies on a web page.

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.

About Abhishek Pandey

My name is Abhishek Pandey, I am fond of writing the best content and apart from writing I am an SEO specialist as well. I have written many blogs and post so far that have ranked on the first page. I am a video editor as well and I have got three-channel on youtube. In nutshell, I am the allrounder of digital marketing and I want to flourish more and more.

Leave a Reply