Pass the OMG OMG Certification OMG-OCUP2-FOUND100 Questions and answers with CertsForce

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

Choose the correct answer:

Consider the following diagram:

Question # 1

Which statement is true about the diagram?

Options:

A.

Within G you may refer to v:K by gh.H::v. .


B.

From within H it is impossible to reach the v within G.


C.

The package Pckg cannot have two definitions of v as shown in the diagram.


D.

v will indicate different elements depending on where you refer to v within Pckg


Questions # 2:

Choose the correct answer: Consider the following diagram:

Question # 2

Is this diagram valid?

Options:

A.

No, because a DataType cannot have Associations to a Class.


B.

No, because a DataType cannot have Operations.


C.

No, because a DataType cannot have Attributes.


D.

Yes, it is formally correct.


Questions # 3:

Choose the correct answer:

What is the name of the property represented by the leftmost lifeline in the following diagram?

Question # 3

Options:

A.

v[1]


B.

B


C.

v


D.

m


Questions # 4:

Choose the correct answer:

What represents the most appropriate use of UML during software development?

Options:

A.

forcing management decisions


B.

describing a planned or existing system to non-technical stakeholders


C.

capturing and clarifying the business-level concerns of a planned or existing system


D.

capturing the essential characteristics and design decisions of a planned or existing system


Questions # 5:

Choose the correct answer:

Consider the following diagram fragment:

Question # 5

What makes this fragment invalid?

Options:

A.

A list of elements is not allowed in a package body.


B.

«class»one is missing a visibility.


C.

An *interface» is not allowed in a package


D.

Private elements are not allowed on the list.


E.

Protected elements are not allowed in a package.


F.

Element six is missing its stereotype.


Questions # 6:

Choose the correct answer:

For projects involving complex and strategic systems, what is a key advantage of developing models before starting implementation?

Options:

A.

Developing models ensures that all requirements will be addressed.


B.

Models are useful to provide proof of progress to project management.


C.

Models help to establish a consensus among all the project stakeholders.


D.

Modeling helps to convince developers that models are necessary for good design.


Questions # 7:

Choose the correct answer:

Which statement is always true about the following sequence diagram?

Question # 7

Options:

A.

Sending message x is the first occurrence that happens.


B.

Sending message z will happen after receiving message x.


C.

Sending message y will happen before sending message z.


D.

Sending message p will happen before receiving message y.


Questions # 8:

Choose the correct answer:

Question # 8

Consider the following class definition:

Which diagram fragment shows an instance of the Company class in which name has the value OMG?

A)

Question # 8

B)

Question # 8

C)

Question # 8

D)

Question # 8

E)

Question # 8

F)

Question # 8

Options:

A.

OptionA


B.

OptionB


C.

OptionC


D.

OptionD


E.

Option E


F.

Option F


Questions # 9:

Choose the correct answer:

Consider the following diagram fragment:

Question # 9

Which slot's value is hidden outside of the current Employee9

Options:

A.

age


B.

name


C.

salary


D.

title


E.

gender


F.

company


Questions # 10:

Choose the correct answer:

What is the key difference between DataTypes and Classes?

Options:

A.

Classes can have operations that show that a class reacts to invocations sent by other classes DataTypes do not have this feature.


B.

DataTypes can only be very simple structures with attributes that are Datatypes as well, whereas Classes can be of arbitrary complexity.


C.

Two instances of a Datatype are considered to be equal when all their attributes have the same values, unlike instances of classes.


D.

Classes can inherit attributes, operations and other features of their super classes. DataTypes can only get instantiated.


Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions