This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes help needed to answers  sample questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "help needed to answers  sample questions" Watch "help needed to answers  sample questions" New topic
Author

help needed to answers sample questions

Eesha Ali
Greenhorn

Joined: Feb 08, 2002
Posts: 5
Hi Ranchers!
new to this forum. I'm preparing for IBM 141 and u people help is needed to answer the following questions
1.When working with XML on an object-based application, XML data binding is used to:
a) marshal and unmarshal the database schema to and from XML.
b) marshal and unmarshal the object model to and from XML.
c) exercise XML APIs from an object-based programming language.
d) use XSLT to generate object-based code

2.An online parts supplier is creating an XML-based application to deliver data to B2B suppliers and vendors, and also for use by B2C clients of various types. Which of the following provides the BEST design solution for the various clients consuming the XML data?

a) Use a single XSL stylesheet to transform XHTML1.1 linking to a CSS2 stylesheet for formatting.
b) Let the application process the HTTP request and execute client-specific XSL transformations according to the client's capabilities.
c) Let the application evaluate the client's needs based on the HTTP request and deliver formatted HTML to the client.
d) Let the application deliver XML content to B2B clients and XHTML/HTML to B2C clients.
e) Pass XML directly to B2B clients, and use Active Server Pages or Java Server Pages to deliver customized HTML to B2C clients.

3.What is the implication of the fact that XSLT is a side-effect free, declarative programming language?"

a) XSLT does not support recursion.
b) XSLT does not support inclusion of one stylesheet into another.
c) XSLT does not support if-then-else, while, for statements.
d) XSLT cannot support data structures.
e) XSLT cannot interact with an external system.
f) Value of a variable cannot be updated.

4.An XML-based employee records application is populated from a back-end relational database. Each employee has a unique numeric employee ID number that serves as the database key for that employee. The XML has an associated DTD. Validating the employee ID data would be:

a) Handled by the parser associating the employee name to a unique ID attribute with the XML employee application providing the business logic or functionality.
b) Handled by the parser associating a unique ID element with the XML employee application providing the business logic or functionality.
c) Handled by the XML parser using a SAX parser and relying on event-handling to capture the value of a unique ID attribute and the XML employee application would deal with user interface and rendering issues.
d) Handled by the XML parser as a non-unique CDATA attribute, with verification, business logic and functionality being provided by the XML employee application.
e) Stored in an empID element, with a SAX parser capturing the element's character content and evaluating it, reporting the result to the XML employee application for further processing.

5.A development team has moved an XML application from the development server to the staging server. While testing the XML application on the new server, the application returns a message indicating that there is an "invalid entity reference" error in the DTD. The MOST likely cause of this error is:

a) Someone forgot to recompile the DTD on the new server, and the parser is failing to recognize the entities in the XML document instance.
b) The DTD references external entities that were not migrated.
c) The DTD needs to be converted to an XML Schema that uses tokens instead of entities.
d) The parser is incompatible with the XML application.
e) The application must be recompiled on the new server.

Thanks for ur help in advance
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Have you read this post?


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Eesha Ali
Greenhorn

Joined: Feb 08, 2002
Posts: 5
Thanks Mapraputa Is for the Useful link that is really great help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help needed to answers sample questions
 
Similar Threads
IBM 140 and 141 Sample tests
sample questions
Right Answer
Sample Questions
Let's discuss the sample test