1.) What is the preferred way for adding a background color in HTML?
a.) <body background="yellow">
b.) <background>yellow</background>
c.) < body style="background-color:yellow">
d.) <background color="yellow">text<background>
2.) What is the correct HTML for creating a hyperlink?
a.) <a name="">A</a>
b.) <a>B</a>
c.) <a href="http://www.example.com">example</a>
d.) <a url="http://www.example.com">example</a>
ANSWER: c.) <a href="http://www.example.com">example</a>
3.) How can you create an e-mail link?
a.) <mail href="a@b">
b.) <mail>a@b</mail>
c.) <a href="a@b">
d.) <a href="mailto:a@b.com">
ANSWER: d.) <a href="mailto:a@b.com">
4.) How can you open a link in a new browser window?
a.) <a href="url" new>
b.) <a href="url" target="new">
c.) <a href="url" target="_blank">
d.) <a href="url" target="">
ANSWER: c.) <a href="url" target="_blank">
5.) Which of these tags are all <table> tags?
a.) <table><head><tfoot>
b.) <table><tr><td>
c.) <table><tr><tt>
d.) <thead><body><tr>
ANSWER: b.) <table><tr><td>
6.) Which of the following JavaScript cannot do?
a.) JavaScript can react to events
b.) JavaScript can manipulate HTML elements
c.) JavaScript can be use to validate data
d.) All of the Above
ANSWER: d.) All of the Above
7.) Whats so great about XML?
a.) Easy data exchange
b.) High speed on network
c.) Only B.is correct
d.) Both A & B
ANSWER: d.) Both A & B
8.) Which is not a property of attribute Behavior of <Marquee> tag?
a.) alternate
b.) blur
c.) scroll
d.) slide
ANSWER: b.) blur
9.) _________ keyword is used to declare variables in JavaScript.
a.) Var
b.) Dim
c.) String
d.) None of the above
ANSWER: a.) Var
10.) The attribute used to define a new namespace is.
a.) XMLNS
b.) XmlNameSpace
c.) Xmlns
d.) XmlNs
ANSWER: c.) Xmlns
11.) 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="/">
ANSWER: d.) <xsl:template match="/">
12.) 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="//">
ANSWER: b.) <xsl:template match="PLANET/NAME">
13.) 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
ANSWER: d.) It is used to structure documents
14.) 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
ANSWER: b.) Transitions
15.) Which browser can supports the transition property?
a.) Internet Explorer 10
b.) Firefox
c.) Chrome
d.) All of the above
ANSWER: d.) All of the above
16.) Which tag(s) can handle mouse events in Netscape?
a.) <IMG>
b.) <A>
c.) <BR>
d.) None of the above
ANSWER: b.) <A>
17.) ____________ is the tainted property of a window object.
a.) Pathname
b.) Protocol
c.) Defaultstatus
d.) Host
ANSWER: c.) Defaultstatus
18.) 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
ANSWER: c.) NS_ENABLE_TAINT
19.) 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
ANSWER: a.) a wrapper
20) When a JavaScript object is sent to Java, the run-time engine creates a Java wrapper of type
a.) ScriptObject
b.) JSObject
c.) JavaObject
d.) Jobject
ANSWER: b.) JSObject
21.) How can you make a list that lists the items with numbers?
a.) <ul>
b.) <list>
c.) <ol>
d.) <dl>
ANSWER: c.) <ol>
22.) What is the correct HTML for making a checkbox?
a.) <checkbox>
b.) <input type="checkbox" />
c.) <input type="check" />
d.) <check>
ANSWER: b.) <input type="checkbox" />
23.) What is the correct HTML for making a text input field?
a.) <input type="textfield" />
b.) <textinput type="text" />
c.) <textfield>
d.) <input type="text" />
ANSWER: d.) <input type="text" />
24.) What is the correct HTML for making a drop-down list?
a.) <input type="list" />
b.) <select>
c.) <list>
d.) <input type="dropdown" />
ANSWER: b.) <select>
25.) What is the correct HTML for making a text area?
a.) <input type="textarea" />
b.) <input type="textbox" />
c.) <textarea>
d.) None of these
ANSWER: c.) <textarea>
26.) What is the correct HTML for inserting an image?
a.) <image src="image.gif" alt="MyImage" />
b.) <img href="image.gif" alt="MyImage" />
c.) <img src="image.gif" alt="MyImage" />
d.) <img alt="MyImage">image.gif
ANSWER: c.) <img src="image.gif" alt="MyImage" />
27.) colspan=n can be added to only what tag?
a.) <table>
b.) <td>
c.) <tr>
d.) <thead>
ANSWER: b.) <td>
28.) What tag adds a paragraph break after the text ?
a.) <PARAGRAPH>
b.) <P>
c.) <BR>
d.) <pr>
ANSWER: b.) <P>
29.) All HTML comment tags are enclosed in what ?
a.) <>
b.) <? and ?>
c.) # and #
d.) <!-- and -->
ANSWER: d.) <!-- and -->
30.) The TFOOT section of a table must appear before the TBODY section.
a.) FALSE
b.) TRUE
ANSWER: b.) TRUE
31.) ActiveX can be disabled via browser settings.
a.) TRUE
b.) FALSE
ANSWER: a.) TRUE
32.) What do you add to a template in order to control where page content goes?
a.) Text Frames
b.) HTML Controllers
c.) Editable Regions
d.) Page Content Controllers
ANSWER: c.) Editable Regions
33.) Which of the following is NOT a Style?
a.) Linked
b.) Embedded
c.) Inline
d.)Orthogonal
ANSWER: d.)Orthogonal
34.) Which of the following is NOT a Hotspot tool?
a.) Orthogonal Hotspot Tool
b.) Rectangular Hotspot Tool
c.) Oval Hotspot Tool
d.) Polygon Hotspot Tool
ANSWER: a.) Orthogonal Hotspot Tool
35.) Which of the following is not supported by older browsers?
a.) CSS
b.) Layers
c.) Frames
d.) All of the above
ANSWER: d.) All of the above
36.) Which of the following is the HTML tag to start a Heading Level 3?
a.) <H3>
b.) </H3>
c.) <#H3>
d.) <H3/>
ANSWER: a.) <H3>
37.) Which type of style should you use if you want to use the formats on multiple pages?
a.) Linked
b.) Embedded
c.) Inline
d.) Orthogonal
ANSWER: a.) Linked
38.) Orkut.com is owned by ___________
a.) Google
b.) Yahoo
c.) Microsoft
d.) Apple
ANSWER: a.) Google
39.) What is the correct HTML for referring to an external style sheet?
a.) <style src="mystyle.css">
b.) <stylesheet>mystyle.css
c.) <link rel="stylesheet" type="text/css" href="mystyle.css">
ANSWER: c.) <link rel="stylesheet" type="text/css" href="mystyle.css">
40.) Where in an HTML document is the correct place to refer to an external style sheet?
a.) At the top of the document
b.) At the end of the document
c.) In the section
d.) In the <head> section
ANSWER: d.) In the <head> section
41.) What would be the colours of the RGB where the hexadecimal values are #FF0000, #00FF00 and #0000FF respectively?
a.) Blue, Green, Red
b.) Green, Blue, Red
c.) Red, Blue, Green
d.) Red, Green, Blue
ANSWER: d.) Red, Green, Blue
42.) Identify the most accurate statement about the application of XML:
a.) XML must be used to produce XML and HTML output
b.) XML cannot specify or contain presentation information
c.) XML is used to describe hierarchically organized information
d.) XML performs the conversion of information between different e-business applications
ANSWER: c.) XML is used to describe hierarchically organized information
43.) The elements <DIV> and <SPAN> have the following characteristics
a.) Element <DIV> inherits properties defined for <SPAN> in a stylesheet
b.) Elements <SPAN> and <DIV> define content to be inline or block-level
c.) <DIV> and <SPAN> are used as alternatives for the element <P>
d.) <DIV> is used inside element <P>.
ANSWER: b.) Elements <SPAN> and <DIV> define content to be inline or block-level
44.) Which of the following statement is not true regarding JavaScript?
a.) JavaScript is an object-based language
b.) JavaScript is event driven
c.) JavaScript is a loosely typed language
d.) A JavaScript embedded in an HTML document is compiled and executed by the client browser
ANSWER: d.) A JavaScript embedded in an HTML document is compiled and executed by the client browser
45.) The following is a web-page:
<html>
<head> <title>JavaScript </head>
<body bgcolor=""#0000ff"">
<script language=""JavaScript"">
<!-- document.write(""<h1> hello world </h1>""); //-->
</script>
</body>
</html>
When the above web page is loaded into a browser, what will happen?
a.) The body of the web page will not contain any text
b.) The body of the web page will contain the text "hello world" as an H1 heading
c.) The background color of the web page will be green
d.) document.write("<h1> hello world </h1 >"); is a comment.
ANSWER: a.) The body of the web page will not contain any text
46.) While working on a JavaScript project, in your JavaScript application, which function would you use to send messages to users requesting for text input?
a.) Display()
b.) Prompt()
c.) Alert()
d.) Confirm()
ANSWER: b.) Prompt()
47.) Which property does one use to align text to the right side of a block-level element in Cascading Style Sheets?
a.) horizontal-align
b.) align
c.) block-align
d.) text-align
ANSWER: d.) text-align
48.) A ________ object is a reference to one of the classes in a Java package, such as netscape.javascript .
a.) JavaArray
b.) JavaClass
c.) JavaObject
d.) JavaPackage
ANSWER: b.) JavaClass
49.) The JavaScript exception is available to the Java code as an instance of __________
a.) netscape.javascript.JSObject
b.) netscape.javascript.JSException
c.) netscape.plugin.JSException
d.) None of the above
ANSWER: b.) netscape.javascript.JSException
50.) Which of the following statements is false about event handlers in JavaScript?
a.) They can be included with input tags
b.) They can be associated with end of file processing for a database application
c.) They can be included with the form tag
d.) They are generally used to call functions when triggered
ANSWER: b.) They can be associated with end of file processing for a database application
0 comments:
Post a Comment
Please don't enter any spam link in the comment box.