Java UML MCQ Questions-08

Posted by: | Published: Saturday, January 09, 2016 | Categories:
Java UML MCQ Questions-08 What is use case? What is the purpose of use case? Ans. Use case is descriptions of the functionality of the system from the user’s perspective. Use case diagrams are used to show the functionality that the system will provide and to show which users will communicate with the system in some way to use that functionality. Purpose: Use case is supported by behavior specifications there specify the behavior of each use case either using UML diagrams. Such as collaboration diagrams or sequence diagrams or in text from as use case descriptions. Textual use case description provides a description of the interaction between the users of the system, termed actors and the high level functions within the system the use case. - See more at: http://www.webschoolbd.com/2016/01/java-uml-mcq-questions-07.html#sthash.BYcZVkYS.dpuf
1. . _________ are services that objects of a class can provide to other objects.
Attributes
States
Operations
Associations

2. . CRC stands for _____________________.
Class–Reusability–Collaboration
Class–Responsibility–Collaboration
Class–Repository–Collaboration
Class–Responsibility–Correction

3. . Which one involves in producing CRC cards?
Interviewing
Brainstorming
Observing
Background reading

4. Operations are implemented by ___________.
Interviewing
Brainstorming
Observing
Background reading

5. Operations are implemented by ___________.
Properties
Methods
Events
States

6. of the following can be called Component-based development?
Assembling software from pre-existing components
Assembling software by building separate units and integrating these units together
Building components for others
Both A&C

7. Which one is not a contribution of object-orientation to component-based development?
Encapsulation of internal details makes it easier to use components in systems for which they were not designed
Generalization hierarchies make it easier to create new specialized classes when they are needed
Composition and aggregation structures can be used to encapsulate components
typed nature of object-orientation makes data secure

8. How two classes may differ
In behaviour (operations or methods)
In data (attributes)
In associations with other classes
All

9. Which of the following are the elements of a pattern?
A context
Forces
A software configuration
All

10. _________patterns are groups of concepts useful in modelling requirements.
Analysis
Architectural
Design
Structural

11. ________patterns describe the structure of major components of a software system.
Analysis
Architectural
Design
Structural

12. ________patterns describe the structure and interaction of smaller software components.
Analysis
Architectural
Design
Structural

13. Objects communicate by ___________________.
sending messages
firing events
using API calls
using objects of Control class

14. . How do we describe Object Interaction?
Using use case diagram
Using state chart
Using the metaphor of Model
Using the metaphor of message passing

15. '’The structure of Instances playing roles in a behaviour and their relationships “– what do we call it?
Event
State
Collaboration
Association

16. Which of the following is or are the benefits of distributing responsibilities appropriately among the classes?
Each class does not become unduly complex and the class is easier to develop and maintain
Each class becomes self-contained and has a much greater potential for reuse
System becomes more resilient to changes in requirements
All

17. Which is the focus of a model of object interaction?
To determine links between objects in order to support a particular user requirements
To determine the user interface requirements in order to support a particular user requirements
To determine the most appropriate scheme of messaging between objects in order to support a particular user requirement
To determine the object instances those play a role to support a particular user requirement

18. An interaction diagram should he consistent with the associated class diagram in various ways. Which of the following statements is true?
It is always correct to show a message between two objects if there is an association between their classes.
The sending object must have the object reference of the receiving object before sending an object-scope message
A message should not be shown between two objects if there is no association between their classes.
None is true

19. is the reason for specifying operations from design perspective?
Ensure users’ needs are understood
Guide programmer to an appropriate implementation
Verify that the method does what was originally intended
Whether methods produce results within response time assumed

20. . What is the reason for specifying operations from analysis perspective?
Ensure users’ needs are understood
Guide programmer to an appropriate implementation
Verify that the method does what was originally intended
Whether methods produce results within response time assumed

Score =
Correct answers:


Previous
Next Post »

আপনার কোন কিছু জানার থাকলে কমেন্টস বক্স এ লিখতে পারেন। আমরা যথাযত চেস্টা করব আপনার সঠিক উত্তর দিতে। ভালো লাগলে ধন্যবাদ দিতে ভুলবেন না।
- শুভকামনায় ওয়েব স্কুল বিডি
ConversionConversion EmoticonEmoticon