We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 26
www.techiya.in
BCA Solved Assignment 2019-20
Course Code : BCS-053
Course Title: Web Programming
Assignment Number: BCA (5)/53/Assignment/2019-20
Q1. a) What are the features of Web 2.0 that makes it different than that of
Web 1.0? What is Web 3.0? What is a search engine? Explain how it is able to
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.
‘Ans: Adobe Flash, Microsoft Silverlight and JavaScript are used as rich web
technologies in delivering web 2.0 in addition to Ajax, RSS and Eclipse. Its
applications are based on the reorganized download methodology that made
BitTorrent so fruitful that each downloader of content is also a server, sharing the
workload and making the content more accessible.
It can be a powerful lure for an enterprise; with interactivity promising to fetch
more employees into daily contact at a lower cost. The use of web 2.0
technologies and tools aids greater participation in projects and idea sharing, thus
ideally leading to better thought out design and more efficient production,
strengthening bonds with customers and improving communications with
partners.
Web 3.0 is slated to be the new paradigm in web interaction and will mark a
fundamental change in how developers create websites, but more importantly,
how people interact with those websites. Computer scientists and Internet
experts believe that this new paradigm in web interaction will further make
people's online lives easier and more intuitive as smarter applications such as.
better search functions give users exactly what they are looking for, since it will
be akin to an artificial intelligence which understands context rather than simply
comparing keywords, as is currently the case.Search engine is a service that allows Internet users to search for content via the
World Wide Web (WWW). A user enters keywords or key phrases into a search
engine and receives a list of Web content results in the form of websites, images,
videos or other online data.
Our gateway to the world: the World Wide Web (WWW) is made from
information that travels across the Internet. When you look at a website, a
program running on your computer (a web browser such as Google Chrome or
Mozilla Firefox) pulls the information you need off a powerful, centralized
computer (a web server). Each server may be firing pages out to hundreds,
thousands, or millions of browsers at more or less the same time. A single web
page might be downloaded from just one server orit could be built from separate
parts downloaded from dozens of different servers all over the world.
Web services
The term Web services describes a standardized way of integrating Web-based
applications using the XML, SOAP, WSDL and UDDI open standards over an
Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer
the data, WSDL is used for describing the services available and UDDI is used for
listing what services are available. Used primarily as a means for businesses to
communicate with each other and with clients, Web services allow organizations
to communicate data without intimate knowledge of each other's IT systems
behind the firewall
Streaming
Streaming media is video or audio content sent in compressed form over the
Internet and played immediately, rather than being saved to the hard drive.
With streaming media, a user does not have to wait to download a file to play it.
Because the media is sent in a continuous stream of data it can play as it arrives.
Users can pause, rewind or fast-forward, just as they could with a downloaded
file, unless the content is being streamed live.
Web 2.0 technologies are commonly associated with web development and web
design that facilitates interactive information sharing, interoperability, user-
centered design and collaboration on the World Wide Web. Examples of Web 2.0
services include web-based communities, social-networking sites, video-sharing
sites, wikis, blogs, mashups and folksonomies.Ql. 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 check boxes) 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 for normal text font size of
12 points; font colour should be dark blue for the headings and dark green for
normal text. The background colour of the entire form should be light yellow.
Also write the code using JavaScript that validates the entered data when the
user presses Submit button. You must demonstrate the form at the time of viva.
Ans:
Registration Form
46 || key == 8);www-techiya.in
REGISTRATION FORM
echiya.in
Q1. c) Using tables and Lists create two web pages first showing the timetable of
the theory and practical counselling 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
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
table should have light blue as fill colour. The background of the
table should be light green.
The font of the unordered list should be Arial with font size 12
points.
iv. You must demonstrate how change in CSS can change the
display at the time of Viva.
Ans: Timetable.html
BCA Time Table
The value is
"4(Integer.parselnt(request.getParameter("t1"))*Integer.parselnt(request.getP
arameter("t2"))/Integer.parselnt[request.getParameter("t3")))+"
"%>
in
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.
Ans: Cookie.jsp
<%@ page language="java" contentType="text/html; charset=1S0-8859-1"
pageEncoding="ISO-8859-1"%>
Content-Type" content="text/html; charset=ISO-8859-
Main_cookie,jsp
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%4>
<%
Cookie username = new Cookie("username",
request.getParameter("username"’));
Cookie email = new Cookie("password",
request.getParameter("password")};
username.setMaxAge(60"60*10);
password. setMaxAge(60*60*10);
// Add both the cookies in the response header.
response.addCookie| username );
response.addCookie| password );96>
Cookie JSP
Username:
<%= request.getParameter("username")%>
Password:
<%= request.getParameter("password")%>
ext/html; charset-ISO-8859-1">
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 fee. The
information about the student is recorded in a database table. You must create
two database tables for this application; Student table should keep track of
student ID, name, course code, fee paid; the Course table should have details
like course code, course title, teacher name, start date, duration, fee of course.
Your application should be able to enroll a new student; display list of all the
students of a course; and add or delete a course.
Make and state suitable assumptions.
Ans: The process of software development and deployment services in India goes
through a series of stages in step wise fashion that almost every developing
company follows. Known as the ‘software development life cycle,’ these six steps
include planning, analysis, design, development & implementation, testing &
deployment and maintenance. Let’s study each of these steps to know how the
perfect software is developed.
1. Planning: Without the perfect plan, calculating the strengths and weaknesses of
the project, development of software is meaningless. Planning kicks off a project
flawlessly and affects its progress positively.2. Analysis: This step is about analyzing the performance of the software at
various stages and making notes on additional requirements. Analysis is very
important to proceed further to the next step.
3. Design: Once the analysis is complete, the step of designing takes over, which is
basically building the architecture of the project. This step helps remove possible
flaws by setting a standard and attempting to stick to it.
4, Development & Implementation: The actual task of developing the software
starts here with data recording going on in the background. Once the software is
developed, the stage of implementation comes in where the product goes
through a pilot study to see if it’s functioning properly.
5. Testing: The testing stage assesses the software for errors and documents bugs
if there are any.
6. Maintenance: Once the software passes through all the stages without any
issues, it is to undergo a maintenance process wherein it will be maintained and
upgraded from time to time to adapt to changes. Almost every software
development Indian company follows all the six steps, leading to the reputation
that the country enjoys in the software market today.