Tag: web technology

Questions Related to web technology

String x = new String("Life");System.out.println( x.length);

  1. 4

  2. 5

  3. Runtime Error

  4. Compiler Error


Correct Option: D

What is the output of following.

public static void main(String[]  args)  {
    int b=3;
    byte c=b/2;
    System.out.println("&c="+ &c);
}
  1. 1.5

  2. 1

  3. RuntimeException

  4. CompileTime Error


Correct Option: D

Identify the background process which, is responsible for instance recovery

  1. System Monitor (SMON)

  2. Process Monitor (PMON)

  3. Database Writer (DBWR)

  4. Log Writer (LGWR)


Correct Option: A
  1. The response from ASP.NET web page is modified to suit a mobile device.

  2. It automatically caches the web pages specific for mobile devices to improve performance.

  3. It comes with a set of scripts to check mobile readiness of web pages.

  4. It gives more accurate / enhanced information in Request.Browser object than is available by default in ASP.NET 4.0.


Correct Option: D

What is the location in web page to hook a different master page to it?

  1. Page_PreInit handler

  2. Page_Load handler

  3. Page_Init handler

  4. Page_Unload handler


Correct Option: A
  1. Session_Start method in code behind file of web page

  2. Application_Start method in Global.asax file

  3. Page_Init handler of web page

  4. Session_Start method in Global.asax file


Correct Option: D
  1. System.Network.DisableTranscoder()

  2. Response.Cache.SetNoTransforms()

  3. Microsoft.Network.DisableProxyServer()

  4. Request.Cache.SetNoTransforms()


Correct Option: B