Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject and rs
700/sem
if urgent then
call us on 08791490301, 08273413412
DRIVE
SUMMER 2016
PROGRAM
MASTER OF BUSINESS ADMINISTRATION (MBA)
SEMESTER
IV
SUBJECT CODE & NAME
MI0041 – JAVA AND WEB DESIGN
1 Write short notes on the following:
a. Java Servlet
b. Java Server Pages
Answer: a) Java Servlet
A Servlet is a Java program module that processes and
answers client requests. A Servlet runs on the server and acts as an interface
between the client and the server. Java Servlet provides high level,
component-based, platform-independent and server-independent standards for
developing web applications in Java. To appreciate the significance of Java
Servlet in developing web application, we first need to understand the
challenges that the developers were facing. When we use a web
2 Briefly explain the basic structure of
an HTML document.
Explain
the basic structure of an HTML document
Answer: The structure of an HTML
document is made of several elements and attributes such as !DOCTYPE, html,
head, and body.
The <!DOCTYPE> Tag
The
<!DOCTYPE> tag is the first element in an HTML document and it specifies
the Document Type Definition
3 What is Cascading Style Sheets (CSS)?
Briefly explain any four ways of creating the CSS in a web page.
Explain
Cascading Style Sheets (CSS)
4 different ways of creating CSS
Answer: CSS or simply style sheets are text files that contain
one or more rules in the form of property/value pairs to determine how the
elements in a Web page should be displayed. In other words, CSS is used to
style a Web page. Use CSS style properties carefully and make sure that the
chosen
4 Explain any four types of operators
available in Java.
Explain
any four types of operators available in Java
Answer: 4 types of operators available in Java
Arithmetic
Operators
We can use arithmetic
operators, such as addition (+), subtraction (-), and multiplication (*), to
perform arithmetic operations.
5 With an example, explain the
following:
a. if Statement
b. if-else Statement
c. while loop
d. do-while loop
Answer: a. if Statement
The if statement is a
conditional construct that is used to evaluate an expression for a boolean
value (true or false). In case the expression returns true, the statements
following the conditional expression are executed, but if the expression
returns false, the code following the conditional expression is not executed
and the program moves to the next statement. The syntax of the if statement is
as
6 Explain the stages of JSP (Java Server
Pages) life cycle.
5
Stages of JSP life cycle
Answer: Stages of JSP
The Page
Translation Stage
In the page translation
stage of the JSP life-cycle, the web container translates the JSP document into
an equivalent Java code—that is a Servlet. Usually, a Servlet contains Java
code with some markup language tags, such as HTML or XML. JSP, on the other
hand, consists primarily of markup language with some Java code. The objective
of page translation, therefore, is to convert a document chiefly consisting of
HTML/XML code, to one that has more of Java code, which can be
Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject and rs
700/sem
if urgent then
call us on 08791490301, 08273413412
No comments:
Post a Comment