Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM Mock Exam: 2 Information Modeling questions

 
Kevin Thompson
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen previous posts commenting on these 2 questions - but I don't see a concensus on what the answers are?
QUESTION 13:
Processing instructions can be used for all of the following EXCEPT:
a) a method for passing the name of a stylesheet.
b) Use ID and IDREF attributes to represent bi-directional relationships.
c) Copy the data in a relationship into the element for the row containing the foreign key.
d) Copy the data in a relationship into the element for the row containing the primary key.
MY ANSWER:
a) and b)
QUESTION 18:
A developer needs to convert records from a relational database into XML. Each row in a table is represented as an element in the document. How can the developer represent relationships in the database?
a) Use ID and IDREF attributes to represent unidirectional relationships.
b) Use ID and IDREF attributes to represent bi-directional relationships.
c) Copy the data in a relationship into the element for the row containing the foreign key.
d) Copy the data in a relationship into the element for the row containing the primary key.
MY ANSWER:
a) and d)
Do other people agree with this?
thanks!
Kevin Thompson
[ October 10, 2002: Message edited by: Kevin Thompson ]
 
Svetlana Petrova
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kevin,
You're absolutely right about answers to #18. They're A and D.
And I have to repeat that though this doesn't make any sense, but correct answers to #13 are A and D as well. This question is a complete mess in terms how it's formed, or better to say, in terms of how irrelevnat answers are. I figured correct answers while experimenting with different combinations of answers, when I already had 43 correct out of 44. So it turned out to be A and D.
Good luck,
Svetlana.
 
Vasan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Svetlana,
the #13 states that "Processing instructions can be used for all of the following EXCEPT:"
except is the keyword here....we can pass the name to a PI (xsl syntax) so my choice goes for b,c
Vasan
 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vasan,
Please justify how the option "d" can be used as PI ---
d) Copy the data in a relationship into the element for the row containing the primary key.
Thanks.
 
Himal Chuli
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could anyone explain me how PI is related with options b, c and d in the following question. I am sure that PI is used for option a.
QUESTION 13:
Processing instructions can be used for all of the following EXCEPT:
a) a method for passing the name of a stylesheet.
b) Use ID and IDREF attributes to represent bi-directional relationships.
c) Copy the data in a relationship into the element for the row containing the foreign key.
d) Copy the data in a relationship into the element for the row containing the primary key.
himal
 
ZEESHAN AZIZ
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I am still waiting for someone to clearly explain the logic behind Q 13.
 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The TRULY correct answer for 13) would be "a" (unless someone comes forward and justifies the validity of "d"). If they mention two of them to be correct, then mark "d" also. That's it
 
Lakshmi Kishore
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
For the question choices are messed up. they belong to question #18.
here is the correct Question and options.
Processing instructions can be used for all of the following EXCEPT:


a) a method for passing the name of a stylesheet.

b) a method of extending documents without altering DTD validation.

c) a mechanism for extending schemas that cannot otherwise be modified.

d) a mechanism for indicating hierarchical levels of structure.

e) a hook for scripts or server-side includes.
i am still on the way to find the answer.
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a much better version!!! Thanks!
My answer would be d). Not 100% sure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic