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
|
SUMMER 2015
|
PROGRAM
|
MBADS (SEM 4/SEM 6)MBAFLEX/ MBA (SEM
4)PGDISMN (SEM 2)
|
SUBJECT CODE & NAME
|
MI0041 – JAVA AND WEB DESIGN
|
BK ID
|
B2016
|
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. a. How is the heading created on a webpage?
Explain with an example.
Answer:Heading structure is important not only to
present a clear structure to the web page but also in consideration of those
using text readers and the search engines.
First let’s go over what Heading tags are.
Heading Tags
Heading tags are used to define the headings in
your page. There are 6 available, h1 set of heading tags being the biggest and
boldest and the h6 set
b. Cast light on the various components of a webpage.
Answer:A Web page is divided into 5 parts: banner,
corner, sidebar, body, and continuation. ht2html lets you control which of
these parts are included, and you control what goes in each of these parts.
Here's a picture:
Q. 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:In computer science, a literal is a notation
for representing a fixed value in source code. Almost all programming languages
have notations for atomic values such as integers, floating-point numbers, and
strings, and usually for booleans and characters; some also have notations for
elements of enumerated types and compound values such as arrays, records, and
objects. An anonymous function is a literal for the function type.
Q. 3. How is file read by using Buffered Output
Stream?
Answer:In our previous discussions we came across
‘Byte Streams’ and ‘Character Streams’ in Java. In this particular blog we will
dive into ‘Buffered Streams’. We will come to know how to read from and write
to a file in java using ‘Bufferd Streams’ and why this is a good practice to
use buffered streams over byte and character streams.In case of ‘byte’ and
‘character’ streams every byte or piece of data that s being read or write
requires an direct support from underlying OS because of not having an
intermediate buffer included. This makes a extensive use of memory and
resources. On the other hand Buffered streams works as a
Q. 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:You see it all over in Java examples and code:
EmptyCatchClauses;
try
{
someObject.something();
}
catch(Exception e) {
//
should never happen
}
Either code can handle the exception, then the
Q. 5. Write notes on:
a. The java.sql Package
Answer: java.sql: java.sql is an API to access and process the
data stored in a database, typically a relational database using the java.
Different drivers can be installed dynamically for the access of various
databases, using a framework which in-built in this JDBC API.
The java.sql package contains the entire JDBC
API that sends SQL (Structured Query Language) statements to relational
databases and retrieves the results of executing those SQL statements. Figure
18-1 shows the class hierarchy of this package. The JDBC 1.0 API became part of
the core Java API in Java 1.1. The JDBC 2.0 API supports a variety of new
features and is part of the Java 2 platform.
b. The javax.sql Package
Answer: javax.sql: javax.sql is a JDBC API for the server side for
accessing and processing the data from the databases typically a relational
database using java. It is the essential part for J2EE. This API provides the
facilities such as connection pooling, distributed transactions and row sets
for the enterprise applications. An interface by name DataSource is provided in
this API as an alternative to DriverManager to establish the connection.
Q. 6. Create Simple JSP Pages with proper java
application.
Answer:A JSP document is a JSP page
written in XML syntax as opposed to the standard syntax described in Chapter 5,
JavaServer Pages Technology. Because it is written in XML syntax, a JSP
document is also an XML document and therefore gives you all the benefits offered
by the XML standard:
·
You can author a JSP document using one of the
many XML-aware tools on the market, enabling you to ensure that your JSP
Dear students get fully solved
assignments
Send your semester &
Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.