Tag: programming languages

Questions Related to programming languages

XSL processors do parses the XML source and tries to find out the matching _______ rule.

  1. template

  2. file

  3. page

  4. directory


Correct Option: A

An _____ instruction do contains the template, which is been applied to each node selected with the select attribute.

  1. xsl:for

  2. xsl:for-each

  3. xsl:do-while

  4. xsl:while


Correct Option: B

The ____ instruction do enables the conditional processing.

  1. xsl:if

  2. xsl:do-while

  3. xsl:while

  4. xsl:ifelse


Correct Option: A

AI Explanation

To answer this question, you need to understand the conditional processing instructions in XSL (Extensible Stylesheet Language).

Option A) xsl:if - This option is correct because the xsl:if instruction allows for conditional processing in XSL. It evaluates a specified condition and executes the associated code block if the condition is true.

Option B) xsl:do-while - This option is incorrect because there is no xsl:do-while instruction in XSL. The xsl:do-while loop does not exist in XSL.

Option C) xsl:while - This option is incorrect because there is no xsl:while instruction in XSL. The xsl:while loop does not exist in XSL.

Option D) xsl:ifelse - This option is incorrect because there is no xsl:ifelse instruction in XSL. In XSL, the if-else functionality is achieved using the xsl:choose and xsl:when instructions.

The correct answer is A) xsl:if. This option is correct because the xsl:if instruction enables conditional processing in XSL.

"Position" function do returns the number equal to context position

  1. TRUE

  2. FALSE

  3. CAN'T SAY

  4. NONE OF THESE


Correct Option: A

An xsl:numbers do inserts a formated numbers into the ______

  1. browser

  2. file

  3. input

  4. output


Correct Option: D

Who developed Perl (Practical Extraction and Report Language)?

  1. santa banta

  2. larry walls

  3. george bush

  4. zeev soraski


Correct Option: B

Who developed PHP?

  1. Zeev Soraski

  2. Andy Gutmans

  3. Rasmus Lerdorf

  4. Romenov Martin


Correct Option: C