SlideShare a Scribd company logo
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )
ASSIGNMENT
DRIVE SUMMER 2014
PROGRAM MBADS – (SEM 4/SEM 6) / MBAN2 / MBAFLEX – (SEM 4) /
PGDISMN – (SEM 2)
SUBJECT CODE & NAME MI0041- JAVA AND WEB DESIGN
BK ID B1327
CREDITS 4
MARKS 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> - AllowsyoutoAligntextintables.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.
Example:
<TABLE ALIGN="center"
b. <TD> - Used to define each cell part of the table. See table page for additional information and
examples on tables.
c. <EMBED> :
You use the embed tag to deploy applets that are to be used only with the Mozilla family of
browsers. Following is an example of the embed tag:
d. <A> -HTML tag that allows aspects of your web page to be anchored, such as a link <A HREF=
"Http://www.computerhope.com
e. <OBJECT>
We use the object tag to deploy applets that are to be used only with Internet Explorer. For
complete detailsonthe objecttag, read the W3 HTML specification. Following is an example of the
object tag:
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,
presentingandtraversinginformationresourcesonthe WorldWide Web.Aninformationresource is
identifiedbyaUniformResource Identifier(URI/URL) andmaybe a webpage,image, video or other
piece of content. Hyperlinks present in
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 basicallytwowaysto make a webpage.The firstway isto create the page(s) offline
and then upload them to your Internet Service Provider (ISP) via FTP. The second way is to create
your webpage(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
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 detailsin a computer so as to preventthe damage due to such disasters. One
of the management members suggested that XYZ Company is capable of developing a kind of
applicationfor maintaining records usingjava. 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
appointedan employee whohad goodknowledge 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 webdesignersdevelopedaprototype of an applicationbased on the requirements
of the ABC institute. Now the programmers of XYZ company detailed the process of application
developmentbasedonthe specifiedrequirements.Theydecidedthat 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
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 copyof records.XYZ organisationwaswell efficientindevelopingjavabasedsoftware 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
schoolswill have their own methods of creating and keeping records and sharing information with
staff,students,parentsandthe general public,theyshould be aware that, in doing so, they need to
take account of matters such as
b) Discuss the reason for using JSP in java application.
Ans : Java Server Pages (JSP) is a technology that helps software developers create dynamically
generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun
Microsystems, JSP is similar to PHP, but it uses the Java programming language.
To deploy and run Java Server Pages, a compatible web server with a servlet container, such as
Apache Tomcat or Jetty, is required.
Advantages of JSP Hosting:
Developers can easily maintain web pages with
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
differentmachines.The clientusesadatabase connectiontosendcommands to and receive replies
from the server. A database is stored as a file or a
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.
Q.6 How do you handle exception in java? Give with an example.
Ans : A Java exceptionisnothingbutanobjectthat definesanexceptional condition,oranerror 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 exceptionsrelate tothe fundamental errors that violate the rules of
the Java programming language or the constraints of the Java execution environment.
2. Code generated: The code that we write can manually generate exceptions. These are used to
report some error condition to the caller of a
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

More Related Content

DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
online blogging system
PDF
Mini project in java swing
DOCX
SMU mba sem 4 mis fall 2014 assignments
Mi0041 java and web design
Mi0041 java and web design
Mi0041 java and web design
Mi0041 java and web design
Mi0041 java and web design
online blogging system
Mini project in java swing
SMU mba sem 4 mis fall 2014 assignments

What's hot (20)

DOC
Resume - Malay
PPTX
Placement Cell project
DOCX
DOCX
Project report on blogs
DOC
kamal.docx
DOCX
Siddhartha resume (Update)
PDF
WEB APPLICATION USING PHP AND MYSQL
DOC
javed ahmed
DOCX
Industrial training report
PDF
Resume nistha
PPTX
New Options for Online Student Feedback
DOCX
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
DOC
Online job portal java project report
PPTX
Six Months Industrial Training11
PPT
Virtual Classroom
PPTX
java mini project for college students
PPTX
Design and Implementation of Student Profile and Placement management system
PDF
02.project training and placement cell
PDF
Open source CMS tool for web based job portal and recruitment system Thesis
PPTX
kats.ppt
Resume - Malay
Placement Cell project
Project report on blogs
kamal.docx
Siddhartha resume (Update)
WEB APPLICATION USING PHP AND MYSQL
javed ahmed
Industrial training report
Resume nistha
New Options for Online Student Feedback
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
Online job portal java project report
Six Months Industrial Training11
Virtual Classroom
java mini project for college students
Design and Implementation of Student Profile and Placement management system
02.project training and placement cell
Open source CMS tool for web based job portal and recruitment system Thesis
kats.ppt
Ad

Viewers also liked (18)

DOCX
Mi0040 technology management
DOCX
Mi0041 java and web design
DOCX
Mi0040 technology management
DOCX
Mi0041 java-and-web-design
PDF
DOCX
Mb0053
DOCX
Mi0041 – java and web design winter 2014
DOCX
SMU MBA Solved Assignment MB0053
PDF
Sem 4 mba winter 2013
DOC
Mb0053
DOCX
Mb0052 set 1
DOCX
Mb0052 set 2
DOC
Mb0052
DOCX
MB0053
DOCX
SMU mba sem 4 finance fall 2014 assignments
PDF
Sem4 mba springassignments
Mi0040 technology management
Mi0041 java and web design
Mi0040 technology management
Mi0041 java-and-web-design
Mb0053
Mi0041 – java and web design winter 2014
SMU MBA Solved Assignment MB0053
Sem 4 mba winter 2013
Mb0053
Mb0052 set 1
Mb0052 set 2
Mb0052
MB0053
SMU mba sem 4 finance fall 2014 assignments
Sem4 mba springassignments
Ad

Similar to Mi0041 java and web design (20)

DOCX
Mi0041 java and web design
DOCX
198970820 p-oooooooooo
PDF
PDF
Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007
PDF
Java j2ee job interview companion ebook
PDF
Advance Java Practical file
PPT
Database layer in php
DOCX
TY.BSc.IT Java QB U4
DOCX
Mca 4030 programming in java
DOCX
Mca 4030 programming in java
DOCX
Mca 4030 programming in java
PDF
Java Web Programming Using Cloud Platform: Module 3
DOCX
Mi0041 java and web design
PDF
Java Web Programming [3/9] : Servlet Advanced
DOCX
Mit103 object oriented programming
DOCX
Mi0041 java and web design
ODP
CISSP Week 13
PDF
PDF
Preview java j2_ee_book
PPT
MarvelSoft SchoolAdmin Dev Framework
Mi0041 java and web design
198970820 p-oooooooooo
Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007
Java j2ee job interview companion ebook
Advance Java Practical file
Database layer in php
TY.BSc.IT Java QB U4
Mca 4030 programming in java
Mca 4030 programming in java
Mca 4030 programming in java
Java Web Programming Using Cloud Platform: Module 3
Mi0041 java and web design
Java Web Programming [3/9] : Servlet Advanced
Mit103 object oriented programming
Mi0041 java and web design
CISSP Week 13
Preview java j2_ee_book
MarvelSoft SchoolAdmin Dev Framework

Mi0041 java and web design

  • 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 (Prefer mailing. Call in emergency ) ASSIGNMENT DRIVE SUMMER 2014 PROGRAM MBADS – (SEM 4/SEM 6) / MBAN2 / MBAFLEX – (SEM 4) / PGDISMN – (SEM 2) SUBJECT CODE & NAME MI0041- JAVA AND WEB DESIGN BK ID B1327 CREDITS 4 MARKS 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> - AllowsyoutoAligntextintables.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. Example: <TABLE ALIGN="center" b. <TD> - Used to define each cell part of the table. See table page for additional information and examples on tables. c. <EMBED> : You use the embed tag to deploy applets that are to be used only with the Mozilla family of browsers. Following is an example of the embed tag:
  • 2. d. <A> -HTML tag that allows aspects of your web page to be anchored, such as a link <A HREF= "Http://www.computerhope.com e. <OBJECT> We use the object tag to deploy applets that are to be used only with Internet Explorer. For complete detailsonthe objecttag, read the W3 HTML specification. Following is an example of the object tag: 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, presentingandtraversinginformationresourcesonthe WorldWide Web.Aninformationresource is identifiedbyaUniformResource Identifier(URI/URL) andmaybe a webpage,image, video or other piece of content. Hyperlinks present in 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 basicallytwowaysto make a webpage.The firstway isto create the page(s) offline and then upload them to your Internet Service Provider (ISP) via FTP. The second way is to create your webpage(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 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 detailsin a computer so as to preventthe damage due to such disasters. One of the management members suggested that XYZ Company is capable of developing a kind of applicationfor maintaining records usingjava. 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 appointedan employee whohad goodknowledge 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 webdesignersdevelopedaprototype of an applicationbased on the requirements of the ABC institute. Now the programmers of XYZ company detailed the process of application developmentbasedonthe specifiedrequirements.Theydecidedthat for display purpose they can use JSP (Java Sever Pages) and to retrieve the details of a particular student, they would create
  • 3. 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 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 copyof records.XYZ organisationwaswell efficientindevelopingjavabasedsoftware 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 schoolswill have their own methods of creating and keeping records and sharing information with staff,students,parentsandthe general public,theyshould be aware that, in doing so, they need to take account of matters such as b) Discuss the reason for using JSP in java application. Ans : Java Server Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems, JSP is similar to PHP, but it uses the Java programming language. To deploy and run Java Server Pages, a compatible web server with a servlet container, such as Apache Tomcat or Jetty, is required. Advantages of JSP Hosting: Developers can easily maintain web pages with 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 differentmachines.The clientusesadatabase connectiontosendcommands to and receive replies from the server. A database is stored as a file or a 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.
  • 4. 2. With the help of this application , staff and students can now take information directly by just logging into the webpage of the institute. Q.6 How do you handle exception in java? Give with an example. Ans : A Java exceptionisnothingbutanobjectthat definesanexceptional condition,oranerror 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 exceptionsrelate tothe fundamental errors that violate the rules of the Java programming language or the constraints of the Java execution environment. 2. Code generated: The code that we write can manually generate exceptions. These are used to report some error condition to the caller of a Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )