Tag: web technology

Questions Related to web technology

How will you select type attribute in the document

  1. a. /type

  2. b. /@type

  3. c. //@type

  4. d. type


Correct Option: C

Considering the following XML and XSLT documents, what is the output? XML: <?xml version="1.0"?> <staff> <employee id="45"> <name>John</name> <salary>$100,000</salary> </employee> </staff> XSLT: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:if test="employee/name = 'John'"> true </xsl:if> </xsl:template> </xsl:stylesheet>

  1. a. The transformation will not output anything

  2. b. The transformation will throw an error

  3. c. The output will be true

  4. d. None


Correct Option: A
  1. SQL Injection

  2. Out of Memory exception

  3. Session Management and Tracking

  4. SQL Tracing


Correct Option: A

Which of the following is incorrect

  1. An Interface can have a variable

  2. An Interface can have a public member

  3. An Interface can have a static member

  4. An Interface can have a final member


Correct Option: A
  1. Hashtable can have null value

  2. HashMap can have null value

  3. Hashtable is unsynchronized

  4. HashMap is synchronized


Correct Option: B

Find out the compile time/run time exception/s with below snippet Ans: c try { ------ ------- ------ } finally { ----- ----- }

  1. a. It misses catch block and gives compile time error

  2. b. It misses catch block and give run time excpetion

  3. c. Code above compiles successfully

  4. d. Placement of finally block is not proper


Correct Option: C
  1. a. "un"

  2. b. "unh"

  3. c. "happy"

  4. d. None of the above


Correct Option: C
  1. a.java.lang.Cloneable

  2. b.java.util.Collection

  3. c. java.io.Reader

  4. d. java.lang.Runnable


Correct Option: A

Name of functionality from Google maps through which one can virtually visit any place in the world through internet enabled PC or laptop.

  1. Earth View

  2. Street View

  3. Zoom In

  4. Zoom Out


Correct Option: B
  1. a. MSec

  2. b. Tridion

  3. c. Resource Bundle

  4. d. Content Service


Correct Option: B