Friday, 19 January 2018


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
call us at : 08263069601


FALL  2017

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.

Question.1.  Write short notes on the following:

a. Java Servlet 

Answer: Servlets were Java's first server side web technology. It was meant as an alternative to the early web technology "CGI scripts". CGI Scripts were programs that were executed on the web server when a request arrived which was to be handled by that CGI script. Thus, a CGI script process was to be started and finished whenever a

B. Java Server Pages
JavaServer Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems,[1] JSP is similar to PHP and ASP,

Question.2. Briefly explain the basic structure of an HTML document.

Answer: Well structured HTML document come in these parts:

1.     A head that identifies a document as HTML and establishes its title.

2.     A body that contains the content for a Web page. This part holds all dispalayed text on a page, as well as most links To graphics, multimedia, locations inside the same file, and to other Web documents.

3.     A footer that tables a page by identifying its author, data of creation, and version number.

Defining HTML document with the HTML Element

Question. 3. What is Cascading Style Sheets (CSS)? Briefly explain any four ways of creating the CSS in a web page.

Answer: A cascading style sheet (CSS) is a Web page derived from multiple sources with a defined order of precedence where the definitions of any style element conflict. The Cascading Style Sheet, level 1 (CSS1) recommendation from the World Wide Web Consortium (W3C), which is implemented in the latest versions of the Netscape and Microsoft Web browsers, specifies the possible style sheets or statements that may determine how a given element is presented in a Web page.

Question. 4. Write a short note on

a. Special operators

Answer: Special operations (S.O.) are military operations that are "special" or unconventional and carried out by dedicated special forces and other special operations forces units using unconventional methods and resources. Special operations may be performed independently of or in conjunction with, conventional military operations. The primary goal is to achieve a political or military objective where a conventional force requirement does

b. Operator precedence and associativity

Answer: Operator precedence determines which operator is performed first in an expression with more than one operators with different precedence. For example 10 + 20 * 30 is calculated as 10 + (20 * 30) and not as (10 + 20) * 30.

Question. 5.  With an example, explain the following:
a.  if Statement 

Answer: Java if (if-then) Statement

The syntax of if-then statement in Java is:

statement is always executed.

b. if-else Statement 
Answer: The Java if statement is used to test the condition. It checks boolean condition: true or false. There are various types of if statement in java.
  • if statement
  • if-else statement
  • if-else-if ladder
  • nested if statement
c. while loop 
Answer: The Java while loop is used to iterate a part of the program several times. If the number of iteration is not fixed, it is recommended to use while loop.
//code to be executed  

d. do-while loop

Answer: Java do-while Loop

The Java do-while loop is used to iterate a part of the program several times. If the number of iteration is not fixed and you must have to execute the loop at least once, it is

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

Answer: In this chapter, we will discuss the lifecycle of JSP. The key to understanding the low-level functionality of JSP is to understand the simple life cycle they follow.

A JSP life cycle is defined as the process from its creation till the destruction. This is similar to a servlet life cycle with an additional step which is required to compile a JSP into servlet.

Paths Followed By JSP

The following are the paths followed by a JSP −

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
call us at : 08263069601

No comments:

Post a Comment