Tải bản đầy đủ (.pdf) (177 trang)

bộ tài liệu trắc nghiêm RnD_Quiz3_OODAUML

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (486.06 KB, 177 trang )

Part 1 of 2 -

15.0/ 50.0 Points

Question 1 of 20
0.0/ 5.0 Points
Which is true about following diagram:



A. A staff member need not be associated with any grades, or it can be associated with an
indeterminate number of grades; a grade must be associated with one or more staff
members.


B. A grade cannot be associated with a staff member but a staff member can be
associated with a grade.


C. A grade need not be associated with any staff members, or it can be associated with an
indeterminate number of staff members; a staff member must be associated with one or
more grades.


D. None of these answers

Question 2 of 20
5.0/ 5.0 Points
Which design model elements are used to depict a model of information represented from the
user's view?





A. Data design elements


B. View history data


C. Architectural design elements


D. Component-level design elements

Question 3 of 20
0.0/ 5.0 Points
Which of following is true about OMT?



A. OMT has five phases:
- Object-oriented analysis builds a real-world model
- System design determines overall architecture of system
- Object design decides upon data structures and algorithms
- Implementation translates design into programming language
- Testing to ensure quality of designed system.


B. OMT has two phases:
- Object-oriented analysis builds a real-world model

- System design determines overall architecture of system


C. OMT has three phases:
- Object-oriented analysis builds a real-world model
- System design determines overall architecture of system
- Object design decides upon data structures and algorithms




D. OMT has four phases:
- Object-oriented analysis builds a real-world model
- System design determines overall architecture of system
- Object design decides upon data structures and algorithms
- Implementation translates design into programming language

Question 4 of 20
5.0/ 5.0 Points
The importance of software design can be summarized in a single word



A. accuracy


B. complexity


C. efficiency



D. quality

Question 5 of 20
0.0/ 5.0 Points
Which of the following best describes how composition differs from aggregation?



A. A part that belongs to a composition cannot have associations with any other classes,
whereas a part that belongs to an aggregation can have associations with other classes.




B. A part can belong to only one composition, whereas a part can belong to more than
one aggregation.


C. A part cannot be removed from a composition, whereas a part can be removed from an
aggregation.

Question 6 of 20
0.0/ 5.0 Points
Which step of following is not belonged to Class Modelling?



A. Organize object classes using inheritance



B. Identify associations between objects


C. Identify objects and classes


D. Draw Class diagram

Question 7 of 20
0.0/ 5.0 Points
OMT is abbreviation of which of following?




A. Object Modelling Thread


B. Option Modelling Technique


C. Object Modeling Technique


D. Option Modelling Thread

Question 8 of 20
0.0/ 5.0 Points

Which statement is true about the following diagram?



A. a Handler create a Query Command but a Query Command detroy itself.


B. A Query command create a Database statement but a Database statement detroy itself.




C. a Hander create both Query Command and Database statement


D. All of these

Question 9 of 20
5.0/ 5.0 Points
OMT contains which of following model?



A. Class Model


B. Functional Model


C. Dynamic Model



D. All of these

Question 10 of 20
5.0/ 5.0 Points
How do abstract and concrete classes differ from each other?




A. Abstract classes represent intangible concepts in the application domain, whereas
concrete classes represent physical things.


B. Abstract classes are superclasses, whereas concrete classes are subclasses.


C. Abstract classes have no instances, whereas concrete classes have instances.

Part 2 of 2 - Part 2
Question 11 of 20
5.0/ 5.0 Points
Which of following can be a user of a use case diagram?



A. Client



B. Administrator


C. Librarian


D. All of these

Question 12 of 20
0.0/ 5.0 Points
Which shape represents start and end of concurrent activities?

30.0/ 50.0 Points




A. Rounded rectangle


B. Diamond


C. Bar


D. Encircle black circle

Question 13 of 20
5.0/ 5.0 Points

What is a class diagram?



A. A diagram that shows the system's classes, their attributes and behaviors, and the
relationships between the classes


B. A diagram that show iteration between objects in the systems


C. A diagram what describes structure of an object type with their attributes and methods


D. A diagram that show iteration between actor and their behavior in the system


Question 14 of 20
0.0/ 5.0 Points
Which factor is used to describe option in sequence diagram



A. loop


B. pal


C. if



D. alt

Question 15 of 20
5.0/ 5.0 Points
Which of following is true for Composition relationship in Class diagram?



A. Strong type of association


B. One class is the collection of other class


C. Strong life cycle dependency between container objects and contained objects




D. All of these

Question 16 of 20
5.0/ 5.0 Points
Which diagram is used to represent iteration between a user (human or machine) and the system?



A. Use case diagram



B. Class diagram


C. Sequence diagram


D. Activity Diagram

Question 17 of 20
0.0/ 5.0 Points
Use case relationship is which of following



A. Include, Extend, Specialization, Generalization, Inheritance


B. Include, Extend, Specialization




C. Include, Extend, Generalization


D. Include, Extend, Specialization, Generalization

Question 18 of 20

5.0/ 5.0 Points
Which of following is best described Activity Diagram?



A. Activity Diagram is diagram to show all actors and their behaviours in a system


B. Activity diagrams are graphical representations of workflows of stepwise activities
and actions with support for choice, iteration and concurrency.


C. Activity diagram is diagram to show overall flow of iteration between class in the
system.


D. Activity diagram is used to describe flow of iteration between of objects in the system.

Question 19 of 20
5.0/ 5.0 Points


Which relationship between the 2 classes Student and Professor:



A. Composition


B. Aggregation



C. Generalization


D. None of these answers

Question 20 of 20
0.0/ 5.0 Points
Which of diagram is used to best describe iteration between objects



A. Sequence diagram



B. Activity Diagram


C. Class diagram


D. Use case diagram
Question 1 of 20
5.0/ 5.0 Points
What are entity classes?




A. Classes that contain data.


B. Classes that contain persistent data.


C. Classes that represent something or some concept in the application domain.


D. None of these answers

Question 2 of 20
5.0/ 5.0 Points
How do you express that some persons keep animals as pets?




A.


B.


C.


D.

Question 3 of 20

0.0/ 5.0 Points
One of the following is a bad guideline for deciding the class where an operation should be
located. Which one?



A. The operation represents a service that objects of that class should provide to objects
of other classes.




B. The operation needs to access or update data that is stored in another class that has an
association with that class.


C. The operation needs to access or update data that is stored in an attribute of that class.


D. None of these answers

Question 5 of 20
0.0/ 5.0 Points
The importance of software design can be summarized in a single word



A. accuracy



B. complexity


C. efficiency


D. quality

Question 6 of 20


0.0/ 5.0 Points
One of the following can't directly affect the state of an object. Which one?



A. A change in the value of one of its attributes.


B. The creation or destruction of another object of the same class.


C. The creation or destruction of a link with another object.


D. None of these answers

Question 7 of 20
5.0/ 5.0 Points
Which of the following are areas of concern in the design model?




A. Architecture
Data
Interface


B. Architecture
Interface
Data
Project Scope



C. Architecture
Data
Project Scope


D. Architecture
Interface
Project Scope

Question 8 of 20
0.0/ 5.0 Points
Consider the following situation:
a company realizes projects; each project is executed by a team of employees.
Which would be a suitable conceptual UML diagram?




A.


B.




C.


D.

Question 9 of 20
0.0/ 5.0 Points
OMT contains which of following model?



A. Class Model


B. Functional Model


C. Dynamic Model




D. All of these

Question 10 of 20
5.0/ 5.0 Points
Which funtions are implemented in a Query Command class?



A. new(), execute(), extract results(), detroy()


B. new()


C. new(), extract results()


D. new(), execute(), detroy()

Part 2 of 2 - Part 2

20.0/ 50.0 Points


Question 11 of 20
0.0/ 5.0 Points
Which shape isn't included in Activity diagram?




A. Rounded rectangle


B. Black circle


C. Ellipse


D. Diamond

Question 12 of 20
0.0/ 5.0 Points



A. Aggregation


B. Association




C. Generalization


D. Composition


Question 13 of 20
5.0/ 5.0 Points
Which diagram is used to represent iteration between a user (human or machine) and the system?



A. Use case diagram


B. Class diagram


C. Sequence diagram


D. Activity Diagram

Question 14 of 20
0.0/ 5.0 Points
Use case diagram can be used in all of following documents, except



A. URD




B. DDD



C. ADD


D. SRS

Question 15 of 20
5.0/ 5.0 Points
Which of following is best described Activity Diagram?



A. Activity Diagram is diagram to show all actors and their behaviours in a system


B. Activity diagrams are graphical representations of workflows of stepwise activities
and actions with support for choice, iteration and concurrency.


C. Activity diagram is diagram to show overall flow of iteration between class in the
system.


D. Activity diagram is used to describe flow of iteration between of objects in the system.

Question 16 of 20
0.0/ 5.0 Points


Which of following isn't a use case?




A. View history data


B. Sell book


C. Get information


D. ATM system

Question 17 of 20
5.0/ 5.0 Points
Which relationship between the 2 classes Student and Professor:



A. Composition



B. Aggregation


C. Generalization



D. None of these answers

Question 18 of 20
0.0/ 5.0 Points
There is a pseudo code:
class Book;
class Library {
Book * booklist;
….
}
Which is relationship between class Library and Book?



A. Aggregation


B. Generalization


C. Composition


D. Dependency

Question 19 of 20


5.0/ 5.0 Points
What is a class diagram?




A. A diagram that shows the system's classes, their attributes and behaviors, and the
relationships between the classes


B. A diagram that show iteration between objects in the systems


C. A diagram what describes structure of an object type with their attributes and methods


D. A diagram that show iteration between actor and their behavior in the system

Question 20 of 20
0.0/ 5.0 Points
Use case diagram contains all following factors except



A. Action


B. User


C. Relationship




×