3i Infotech Placement: Sample Questions 1176 - 1178 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 1176


Write in Short

Short Answer▾

What is client server computing?


Client Server Compuing
  • In client and server model computers communicate over a network.
  • Server takes requests and shares its resources with one or more clients on network.
  • Client is a computing device initiating contact with a server to use shared resource.
  • Clients and servers provide computing distributed access, not a distributed computing.

Question 1177

Appeared in Year: 2004



In a JSP page, a statement is declared as follows:

  1. <%! StringstrTemp =request. GetParameter ( “Name” ); %>
  2. Andbelowthat, an_expressionappearsas:
  3. <% System. Out. Println ( “TheNameofpersonis:” +strTemp); %>

What is the output of the expression, if this JSP page is invoked in browser using URL?


Choice (4)


The name of person is:


The Name of person is: Chetana


The Name of person is: null


All of the above




  • In this case on the page nothing will be displayed as the System. out. println () will display the output to console.
  • So it may be displayed in the file of the application server՚s console output file.

Question 1178


Describe in Detail


How would you use the functions sin () , pow () , sqrt () ?


Sin ()

double sin (double x) returns the sine of a radian angle x.

  • Declaration:
    • double sin (double x)
    • Parameters:
  • x-This is the floating-point value representing an angle expressed in radians.

Pow ()

Calculates power of numbers:

  • Syntax:

    double pow (double x, double y) ;

  • Parameters or Arguments: Here x is raised to the power of y.

Sqrt ()

The C library function double sqrt (double x) returns the square root of x.

  • Declaration:

    double sqrt (double x)

  • Parameters:

    x-This is the floating-point value whose square root needs to be computed

Developed by: