Web programming MCQs for placement and interview - Set 4
1.) To match the root node in XMLT transform the syntax will be.a.) <xsl:template match="Document">
b.) <xsl:template match="Root">
c.) <xsl:template match="RootNode">
d.) <xsl:template match="/">
View Answer / Hide AnswerANSWER: d.) <xsl:template match="/">
2.) To match the specific XML elements child like of parent element is the syntax will be.a.) <xsl:template match="PLANET_NAME">
b.) <xsl:template match="PLANET/NAME">
c.) <xsl:template match="/NAME">
d.) <xsl:template match="//">
View Answer / Hide AnswerANSWER: b.) <xsl:template match="PLANET/NAME">
3.) Which of the following options is correct with regard to HTML?a.) It is a modelling language
b.) It is a scripting language
c.) It is a partial programming language
d.) It is used to structure documents
View Answer / Hide AnswerANSWER: d.) It is used to structure documents
4.) Which CSS property can provide to add an effect when changing from one style to another,without using Flash animations or javascript?a.) Associations
b.) Transitions
c.) Transistor
d.) None of the above
View Answer / Hide Answer5.) Which browser can supports the transition property?a.) Internet Explorer 10
b.) Firefox
c.) Chrome
d.) All of the above
View Answer / Hide AnswerANSWER: d.) All of the above
6.) Which tag(s) can handle mouse events in Netscape?a.) <IMG>
b.) <A>
c.) <BR>
d.) None of the above
View Answer / Hide Answer7.) ____________ is the tainted property of a window object.a.) Pathname
b.) Protocol
c.) Defaultstatus
d.) Host
View Answer / Hide AnswerANSWER: c.) Defaultstatus
8.) To enable data tainting, the end user sets the _________ environment variable.a.) ENABLE_TAINT
b.) MS_ENABLE_TAINT
c.) NS_ENABLE_TAINT
d.) ENABLE_TAINT_NS
View Answer / Hide AnswerANSWER: c.) NS_ENABLE_TAINT
9.) In JavaScript, _________ is an object of the target language data type that encloses an object of the source language.a.) a wrapper
b.) a link
c.) a cursor
d.) a form
View Answer / Hide Answer10) When a JavaScript object is sent to Java, the runtime engine creates a Java wrapper of type a.) ScriptObject
b.) JSObject
c.) JavaObject
d.) Jobject
View Answer / Hide Answer