Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam OMG-OCUP2-FOUND100 Topic 1 Question 59 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 59
Topic #: 1
Choose the correct answer:
Consider the following diagram:

According to the diagram, which statement describes the property db?

Suggested Answer: B Vote an answer

In UML, a static property is one that belongs to the class itself rather than any instance of the class. In UML diagrams, static properties are denoted by underlining the property name.
Now, let's review the options:
A: There is no UML notation in the diagram that specifies whether the property db is a primary key. Primary keys are a database concept and UML does not have a standard way to denote them.
B: The property db is underlined, which indicates that it is a static property. This is the correct UML notation for depicting a class-level attribute.
C: There is no indication in the diagram that db is inherited from a superclass. Inherited properties typically are not underlined (unless they are also static), and there is no superclass shown in the diagram.
D: Underlining in UML does not signify importance or emphasis by the modeler, it indicates that a property is static.
Therefore, the answer isB: The property db is a static property. This is based on standard UML notation as outlined in the UML 2.5 Specification by the Object Management Group (OMG), which dictates that static members (attributes or operations) are underlined in class diagrams.

by Ira at Mar 19, 2025, 12:19 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.