You are on page 1of 3

SMU MBA SUMMER 2015 -2016

Dear Students,

SMU MBA SUMMER


,Kindly

mail

2015-2016 Assignments are available. For Booking


us

on kvsude@gmail.com OR call

us to +91

9995105420 or S M S your Email ID us in the following Format On


+91 9995105420 we will reach back you with in 24H

DRIVE- SUMMER 2015


PROGRAM- MBADS (SEM 4/SEM 6)
MBAFLEX/ MBA (SEM 4)
PGDISMN (SEM 2)
SUBJECT CODE & NAME
MI0041 JAVA AND WEB DESIGN

Qus:1 a. How is the heading created on a webpage? Explain with an example.


b. Cast light on the various components of a webpage.
a. How is the heading created on a webpage? Explain with an example:
Headings help to define the format and structure of a document and highlight important topics. HTML has
special pre-formatted tags to create headings on a web page. The headings in HTML appear bold by default
and their size depends on their level. HTML has the following six heading tags: <h1>, <h2>, <h3>, <h4>,
<h5>, and <h6>. The

Qus:2 What do you understand by Literals? Put down Integer literals and Floating-point literals in
detail.

Meaning of Literals
Explaining the details of Integer literals and Floating-point literals

Answer:
Meaning of Literals:
A literal is a constant value that does not have an identifier. Literals are commonly used to initialize variables.
It can be any number,
Qus:3 How is file read by using Buffered Output Stream?

Detailed explanation with program

Answer:
Detailed explanation with program:
Normally, whenever we write data into a file using
Qus:4 Elaborate on the try and catch Blocks, its processes and codes.

Describing the try and catch Blocks


Explaining the processes
Writing the codes

Answer:
Describing the try and catch Blocks:
The try block in a Java program is used to enclose a statement that may lead to an exception. A try block must
be followed by a catch block. The catch block acts as an exception handler and contains the object of the
specified exception class, which handles the raised exception. The code written in the catch block is executed
when the exception handler is invoked by the Java runtime system.

Qus:5 Write notes on:


a. The java.sql Package
b. The javax.sql Package
Answer:

a. Describing java.sql Package:


The java.sql package consists of the interfaces and classes that need to be implemented in an application to
access a
Qus:6 Create Simple JSP Pages with proper java application.

Writing simple JSP pages formation through java

Answer:
Writing simple JSP pages formation through java:
In this section, we are creating a simple web application with two JSP pages. As we have not yet discussed the
various constructs used in JSP, such as scriptlets and directives, we create simple JSP pages to give you an idea
of how they can be designed, used, and accessed by a web application. Now, let's create a SimpleApp web
application

SMU MBA SUMMER 2015 -2016

Dear Students,

SMU MBA SUMMER


,Kindly

mail

2015-2016 Assignments are available. For Booking


us

on kvsude@gmail.com OR call

us to +91

9995105420 or S M S your Email ID us in the following Format On


+91 9995105420 we will reach back you with in 24H

You might also like