Get
fully solved assignments.
For
queries mail us at: subjects4u@gmail.com or
contact at
08894344452, 08728863595
PROGRAM MASTER OF
BUSINESS ADMINISTRATION (MBA)
SEMESTER IV
ISM404 – Java
& Web Design
Q1.Explain the
steps involved in publishing a website.
Answer:
Publishing a Website :
A website consists of multiple Web
pages that may be a combination of text, images, audio, video, animations, and
other multimedia elements. Generally, a website has a home page and some
additional pages. The home page is the anchor of a website, telling the user
all that it contains in a nutshell. It is the first page that a user sees when
he or she visits a website. The other pages should
Q2.(a) Write down
the rules for naming variables in JavaScript.
(b) Write the
usage of break and continue statement in Java.
Answer:
Rules for Naming
Variables:
●
JavaScript has only a few
rules for variable names:
●
The first character must
be a letter or an underscore (_). You can't use a number as the first
character.
●
The rest of the variable
name can include any letter, any number, or the underscore. You can't use any
other characters, including spaces, symbols, and punctuation marks.
● As with the rest of
●
Q3.What is a
method in Java? How do you declare methods in Java?
Answer:
Methods in Java:
A method is a
SET-II
Q1.Write down the
rule for declaring an interface in Java.
Answer:
Rule for declaring an interface in Java :
An interface in Java is
similar to an abstract class. Interfaces do not provide any method
implementations and are therefore abstract by nature. An abstract class can
define both abstract and non-abstract methods, but interfaces can have only
abstract methods. Java does not provide the facility of multiple inheritance (a
subclass inheriting from more than one super class). Instead, it provide
Q2.When do you
use the try and catch Blocks in Java? Write the rules for using the try-catch
block.
Answer:
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
Q3.Explain
briefly how is Session Tracking performed using Cookies?
Answer:
Session Tracking using Cookies: A session can be defined as a collection of
HTTP requests shared between a client and Web server over a period of time.
While creating a session, we require setting its lifetime, which is set to 30
minutes by default. After the set lifetime expires, the session is destroyed
and all its resources are returned back to the Servlet engine. Session tracking
mechanism tracks the details of a user session. Session tracking is a process
of gathering the user information from Web pages, which can be used in an application.
Let’s cite an example; a shopping cart application can be
Get fully solved assignments.
For queries mail us at: subjects4u@gmail.com or contact at
08894344452, 08728863595
No comments:
Post a Comment