Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM140 mock exam, question 9

 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From IBM140 sample Test
9. Which of the following is LEAST useful in identifying structural relationships in documents?
a) Font size and style
b) Indentation
c) Content
d) Numbering
answer given: a)
explanations given: All the answers are not useful, but this one is least useful
It is not clear if �document� here means �XML document� or �somehow formatted text�? If the first, then the entire question doesn�t make a lot of sense. If the second... I felt that font size and especially style ARE useful in identifying structural relationships, and recently a proof was found.
Charles F.Goldfarb, The XML Handbook, p. 441.
Style and structure
�The tags in an abstract XML document and the styling in a rendered print document do the same thing � they just do it differently. XML communicattes structure literally, using element types and nesting. Print publications communicate structure visually, using formatting and arrangement�.
The whole chapter describes avenue.quark tool, that converts documents created by the QuarkXPress publishing system into XML. It does it by associating an element type with some stylistic properties. Such as font size and style.
Note: The XML Hanbook is one of three recommended books for IBM test140 exam.
My answer would be that content is least useful for identifying structure, unless somebody already wrote damn sophisticated software that can UNDERSTAND content.
Any ideas?
 
Sanjay Mishra
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me which are the other two books recommended for
certification.
Thanks
Sanjay
 
octavyn pittman
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My sympathy to you!
I also had a problem with this question, but I then took it to mean a general source document and not necessarily an XML document. In other words, one usually indents paragraphs to form a logical cohesion between the paragraphs within the paragraph. One uses a numbered list to relate elements within the list. And finally logical cohesion is only useful if the actual content is somehow related.
Contrast this with boldtype thrown in mainly to emphasize a point (and italics thrown in to set a point a side), and I can see where the question writers came up with their answer. Having taken (and passed quite nicely) test 140, I can tell that I did not see a question in this form on the test.
However, what I did see related to this test question were questions which gave some content or relationships between elements, and I had to then come up with the best XML/DTD to describe the source material.
Hope this helps,
OP
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjay,
Recommended books are listed here (and I noticed that there are four, not three of them):
Structuring XML Documents, Prentice Hall Computer Books;
ISBN#: 0136422993
The XML Handbook, Prentice Hall;
ISBN#: 0130811521
XML: The Annotated Specification, Prentice Hall;
ISBN#: 0130826766
Applied XML: A Toolkit for Programmers, John Wiley & Sons;
ISBN#: 0471344028
I found The XML Handbook not very useful, Structuring XML Documents looks better for me, although I should admit I did not read it. There is a free chapter from it on http://journal.iftech.com/books/9906_megginson_xml/
Octavyn,
thanks for your response! It feels good to know that we can expect meaningful questions (and answers ) on real exam. If you could give some examples of DTD design questions (not too close to �real exam�, but not too far either ) � then your name would be glorified by generations of XML aspirants...
 
David Roberts
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Man, that question is weak!
Do you guys think "Inside XML" will suffice? The other books aren't rated that well on Amazon, but this one was. It's a heavy thousand pages though, so save me if I'm making a mistake please.
------------------
David Roberts - SCJP2,MCP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic