• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Some more questions

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)Which two of the following are true concerning DOM2 events and validation?
(Choose 2)
A.Document modifications are subject to validation.
B.DOM2 has no way to validate changes after the document is parsed.
C.Mouse actions cause Events, but document modifications do not.
D.MutationEvents will be sent to listeners when the document is changed.
E.MutationEvents indicate which Node was changed, but not the actual action such as add or remove.

2)An XHTML document that contains a large amount of dynamic content, and static embedded style information and JavaScript is several hundreds of kilobytes in size. The document is served by a J2EE web application over HTTP. The end-user performance is unacceptable due to the time taken to download the document because of its size. Which of the following solutions is most likely to improve performance?
(Only 1 choice)
A.Break the document into several smaller fragments and enable HTTP parallel rendering to re-join them on the client.
B.Create a stub XHTML file to load onto the browser and then use AJAX calls to retrieve the remainder of the document in the background.
C.Enable browser caching of the document using directive <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PRIVATE">
D.Extract all style and JavaScript information into an external file for CSS and JavaScript each to enable browser caching.

3)An auto parts supplier stores customer data as XML in a database in the following format:

<customer id="2">
<name>SwellMobile</name>
<address><city>Kansas City</city><state>MO</state></address>
<purchase id="124" totalCost="984.30">
<item id="123" quantity="27" />
<item id="456" quantity="13" />
</purchase>
</customer>

Assume that the function XMLCOLUMN("cust.data") returns the XML documents from the database. Which of the following XQuery statements returns an XML document containing the distinct states where the customers are located?
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic