Вы находитесь на странице: 1из 5

PROGRAM - MBA - SEMESTER IV

SUBJECT CODE & NAME MI0041 JAVA AND WEB


DESIGN
1. Write short notes on the following:
a. Web browsers
b. World Wide Web
c. Uniform Resource Locator
d. Hypertext Transfer Protocol
e. Cookies
a. Web browsers
A web browser is the application software that allows users to access and
navigate the World Wide Web. A web browser allows the users to make
request to the web server for a particular task, which is then processed by
the server and the desired result is sent to the web browser. The types of
web browsers can be classified under the following categories:
Graphical: Such web browsers allow you to access text, images, audio,

and video present in documents over the web. Examples of such web
browsers are Internet Explorer, Firefox, Apple Safari, Google Chrome and
Netscape. These web browsers are available for Windows, Mac, Linux and
other operating systems. Usually, navigation of web pages or links in
the Graphical web browsers is done by using a mouse pointer. Although
you can

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY
Call : - +91 9540358147, Whatsapp: +91 8285115522
Website: - www.smudoc.in, Email ID :
smudoc@gmail.com

2.
Briefly explain the basic structure of an HTML
document.
Document Object Model (DOM)
DOM is a cross-platform, language-independent interface that allows
programs and scripts to dynamically access and update the content,
structure, and style of HTML or XML documents. Every element in an HTML
document represents a DOM node. These nodes are related to each other
through a parent-child relationship. Although DOM is designed to work
independently of a programming language, it is often used with JavaScript to
design dynamic and interactive HTML pages.

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY
Call : - +91 9540358147, Whatsapp: +91 8285115522
Website: - www.smudoc.in, Email ID :
smudoc@gmail.com

3. What is Cascading Style Sheets (CSS)? Briefly explain


any four ways of creating the CSS in a web page.
Cascading Style Sheets (CSS)
CSS are text files that contain one or more rules in the form of
property/value pairs to determine how elements in a web page should be
displayed. They are developed with the aim to create the structure, look and
feel of a web page and its elements. Below figure shows an HTML page
without the application of CSS:

In addition, CSS deals with all the style-related aspects to create a


web page. W3C has developed some specifications (or rules) to create and
use style sheets. These specifications are called as the Cascading Style
Sheet (CSS) specifications. The two versions of CSS

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY
Call : - +91 9540358147, Whatsapp: +91 8285115522
Website: - www.smudoc.in, Email ID :
smudoc@gmail.com

4. a. What are the common issues that are while designing


a website? Briefly explain. considered
b. Explain the steps involved in publishing a website.
Answer: - 4 (a) : - Design Issues
Before creating a website, you
its design. Some of the most
designing a website relate to
styling (HTML and CSS), etc.
follows:

need to consider various issues related to


common issues that are considered while
content, page layout, usage of colours,
These issues can be briefly explained as

Content: When a user visits any website for some information, he/she
usually gets only 50-60% of the information. This is because most of
the space of any Web page focuses on displaying advertisements and
other similar elements. In addition, confusing or

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY

Call : - +91 9540358147, Whatsapp: +91 8285115522


Website: - www.smudoc.in, Email ID :
smudoc@gmail.com

5. With an example, explain the following:


a. if Statement
b. if-else Statement
c. while loop
d. do-while loop
(a). The 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 follows:
if (conditional expression)
<Statements to be executed when conditional expression is
evaluated to true>;

(b) The if-else Statement: - The if-else statement is used in situations


where you want to provide an alternative course of action. For example,
when the conditional expression for the if clause evaluates to false, the
statements coded in the else clause are executed.

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY
Call : - +91 9540358147, Whatsapp: +91 8285115522

Website: - www.smudoc.in, Email ID :


smudoc@gmail.com

6. Explain the stages of JSP (Java Server Pages) life cycle.


The stages of JSP (Java Server Pages) life cycle are as follows:
1. 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 codethat 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 executed by the Java Virtual
Machine (JVM).
The web server automatically does the translation of JSP that can take place
either at the time of deploying the JSP (a process generally known as JSP precompilation) or at the time when a request for the JSP is received for the first time.

READY MADE SOLVED ASSIGNMENTS, PROJECT


REPORTS, MODEL QUESTION PAPERS, GUIDE,
SYNOPSIS ETC. OF SIKKIM MANIPAL UNIVERISTY
Call : - +91 9540358147, Whatsapp: +91 8285115522
Website: - www.smudoc.in, Email ID :
smudoc@gmail.com

Вам также может понравиться