Dear students get fully solved SMU MBA Fall 2014 assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
ASSIGNMENT
DRIVE FALL | 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.
- 1 Write down what the following tags will perform
- <table>
- <td width>
- <a>
- <object>
Ans :
- <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.
Example:
- <TD> – Used to define each cell part of the table.
- :
You use the embed tag to deploy applets that are
- <A> -HTML tag that allows aspects of your web page to be
- <OBJECT>
We use the object tag to deploy applets that are to be used only with Internet Explorer. For complete details on the object tag, read the W3
- 2 Write short notes on
- 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
- Web development tools :
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 built in features in web browsers. The most popular web browsers today like, Google Chrome, Firefox, Opera, Internet Explorer, and Safari have built in tools to help web developers, and many additional add-ons can be found in their respective plugin download centres.
- 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,
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 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
- the most efficient and effective way of storing records and information , in other words, paper or electronic forms;
- the confidential nature of the records and information stored;
- the security of the record system/
- 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:
- 5 For the above case study answer the following questions
- 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
- 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.
- With the help of this application , staff and students can now take information directly by just logging into the webpage of the institute.
- Java is one of the most popular programming languages used to create Web applications and platforms. It was designed for flexibility, allowing developers to write code that would run on any machine, regardless of architecture or
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:
- 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.
- Code generated: The code that we write can manually generate exceptions. These are used to report some error condition to the caller of a me
Dear students get fully solved SMU MBA Fall 2014 assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601