This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes IBM Mock Exam: 1 Information Modeling question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "IBM Mock Exam: 1 Information Modeling question" Watch "IBM Mock Exam: 1 Information Modeling question" New topic
Author

IBM Mock Exam: 1 Information Modeling question

Kevin Thompson
Ranch Hand

Joined: May 04, 2001
Posts: 237
Svetlana: Thanks for the answer on the other post!
I have been working on IBM's mock exam all day today also. I currently have 43 correct out of 44.
I think that this is the question that I have answered wrong I am not totally for sure)
QUESTION 07:
Which of the following would raise an error if the empID attribute's data type was defined as type ID in the DTD?
a) <name empID="17563">Joe Smith</name>
b) <name empID="ft:17563">Joe Smith</name>
c) <name empID="a17563">Joe Smith</name>
d) <name empID="">Joe Smith</name>
MY ANSWER:
b) and d)
thanks!
Kevin Thompson
Jayadev Pulaparty
Ranch Hand

Joined: Mar 25, 2002
Posts: 662
I think the answer here is a,d; the reason being that attribute value of type ID cannot start with a number.
Svetlana Petrova
Ranch Hand

Joined: Sep 26, 2002
Posts: 50
Yes, the answers are A and D.
I was mistaken myself with answer B also. But I thought that A,B and D all three are correct answers. But than when I found this in XML Recommendation:
"Note:
The Namespaces in XML Recommendation [XML Names] assigns a meaning to names containing colon characters. Therefore, authors should not use the colon in XML names except for namespace purposes, but XML processors must accept the colon as a name character."
I understood my mistake.
Good luck,
Svetlana.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: IBM Mock Exam: 1 Information Modeling question
 
Similar Threads
Need help with a practice question
Questions clarification
Doubt in Final Mock Exam of HFEJB
JSP: GetProperty - Scope
Type ID in DTD