1. Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
ASSIGNMENT
DRIVE
PROGRAM
SUBJECT CODE & NAME
BK ID
CREDITS
MARKS
WINTER 2013
MBADS – (SEM 4/SEM 6) / MBAN2 / MBAFLEX – (SEM 4) /
PGDISMN – (SEM 2)
MI0041- JAVA AND WEB DESIGN
B1327
4
60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be
approximately of 400 words. Each question is followed by evaluation scheme.
Q. 1 Write down what the following tags will perform
a. <table>
b. <td width>
c. <embed>
d. <a>
e. <object>
Ans :
a. <TABLE> - Allows you to Align text in tables. You can see an example of this on our Support page.
How you do this is start with <Table> and if you want borders, just use the below commands.
Q. 2 Write short notes on
a. Web browsers
Ans : A web browser (commonly referred to as a browser) is a software application for retrieving,
presenting and traversing information resources on the World Wide Web. An information resource is
identified by a Uniform Resource Identifier (URI/URL) and may be a web page, image, video or other
piece of content. Hyperlinks present in resources enable users easily to navigate their browsers to
related resources. Although browsers are primarily intended to use the World Wide Web, they can
also be used to access information provided by web servers in private networks or files in file
systems. The major web browsers are Google Chrome
b. Web development tools :
2. Web development tools allow web developers to test and debug their code. They are different from
website builders and IDEs in that they do not assist in the direct creation of a webpage, rather they
are tools used for testing the user facing interface of a website or web application. Web
development tools come as browser add-ons or
Q. 3 Write a programme to create a webpage that prints the name of the STUDENT database in
Wide Latin font and set the subtitle with description of the STUDENT to the screen. Set the page
layout to the webpage. Insert one image after the database with a Thank you note.
Ans : There are basically two ways to make a web page. The first way is to create the page(s) offline
and then upload them to your Internet Service Provider (ISP) via FTP. The second way is to create
your web page(s) online using a Telnet program by accessing your UNIX account, if you have one. If
you are creating your web page(s) offline, do so in any text editing or word processing document.
Make sure that when you save your document, you save it as a "text", "plain text" or "text only"
document. Otherwise it will not be read properly by a web browser. Once you have created your
page(s), you will need to contact your ISP about how to go about uploading them to your server.
Q.4 Read the following case study thoroughly and answer the following questions:
ABC is an educational institute which is reputed for its management courses. It has 3 branches in
different places and is planning to launch 2 more branches in some other places. The institute
used to maintain the student details in the form of a hard copy file. One day, a fire broke out in
the record section and all such records were destroyed. Next day the management decided to
maintain the student details in a computer so as to prevent the damage due to such disasters. One
of the management members suggested that XYZ Company is capable of developing a kind of
application for maintaining records using java. The member further told other members that in his
friend’s organisation the same java application developed by the sXYZ company was working very
effectively and it also offered enough security parameters. Immediately the management
appointed an employee who had good knowledge of java language to oversee the implementation
of the required application. That employee prepared an outline of the company’s requirements
and submitted it to the XYZ Company. The requirements of institute were: For institute’s
employees–student details, course details, materials, and access rights. For students it was–
Course material, feedback on assignments, course details and faculty details.
XYZ company’s web designers developed a prototype of an application based on the requirements
of the ABC institute. Now the programmers of XYZ company detailed the process of application
development based on the specified requirements. They decided that for display purpose they can
use JSP (Java Sever Pages) and to retrieve the details of a particular student, they would create
JDBC connection to the all branches. The student details can be stored in a database table (server
side) by using MySql.
They also decided to use servlets for internal process. That is, sending of request and obtaining
response from the server. After developing the application, they submitted it to ABC institute for
testing purpose. During the testing process, it was found that there is no proper security
mechanism in the application. That is, the application permitted ‘Login’ by every member. So ABC
company asked XYZ company to install security mechanism in the application such that it gives
separate access to the employees and students. XYZ company modified the application by giving
only limited and absolutely necessary access rights to the concerned users. Also a new security
3. parameter added to the application, prevented access by a user for 24 hours if he/she entered
incorrect ‘Login’ details for three consecutive times.
a) Give reasons as to why ABC institute decided to choose XYZ Company for the development of
Java application.
Ans : ABC institute decided to choose XYZ for the development of Java application because the
institute understood the importance of e-records. As it had already faced the problem in keeping
hard copy of records. XYZ organisation was well efficient in developing java based software so it was
chosen. Other important reason was maintenance of records . It is very essential to keep records
safe. Each school has a responsibility to maintain its records and record keeping systems. Although
schools will have their own methods of creating and keeping records and sharing information with
staff, students, parents and the general public, they should be aware that, in doing so, they need to
take account of matters such as
Q. 5 For the above case study answer the following questions
a. State the reason for using database connection in the application.
Ans : Database connection is the means by which a database server and its client software
communicate with each other. The term is used whether or not the client and the server are on
different machines. The client uses a database connection to send commands to and receive replies
from the server. A database is stored as a file or a set of files on magnetic disk or tape, optical disk,
or some other secondary storage device. The
b. Explain the purpose of creating a java application for the ABC institute.
Ans : 1. It is clear from above discussion that java application is important for ABC institute for
keeping and maintaining its record and to collaborate with its other branches. Manual record
maintenance is very tedious job and is not reliable.
2. With the help of this application , staff and students can now take information directly by just
logging into the webpage of the institute.
3. Java is one of the most popular programming languages used to create Web applications and
platforms. It was designed for flexibility, allowing
Q.6 How do you handle exception in java? Give with an example.
Ans : A Java exception is nothing but an object that defines an exceptional condition, or an error that
has occurred in a piece of code. In Java, we can handle this exception by creating an object that
represents the exception, and throwing that object into the method that triggered the error.
There are two ways by which exceptions can occur. They are as follows:
1. Java run-time system: These exceptions relate to the fundamental errors that violate the rules of
the Java programming language or the constraints of the Java execution environment.
4. Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601