Test On Use Case Modeling

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Anita Devkar
A
Anita Devkar
Community Contributor
Quizzes Created: 1 | Total Attempts: 3,979
Questions: 20 | Attempts: 3,992

SettingsSettingsSettings
Test On Use Case Modeling - Quiz

Following quiz help to test your knowledge and understanding about the use case modeling


Questions and Answers
  • 1. 

    What are the basic elements of a Use Case Diagram?

    • A.

      Actors

    • B.

      Relationships

    • C.

      Use Cases

    • D.

      Classes

    • E.

      Scenarios

    • F.

      Activities

    Correct Answer(s)
    A. Actors
    B. Relationships
    C. Use Cases
    Explanation
    A Use Case Diagram is a visual representation of the interactions between actors (users or external systems), use cases (specific tasks or actions), and relationships (connections between actors and use cases). The diagram helps to depict the functionality of a system and how different elements interact with each other. Actors represent the different roles that interact with the system, relationships depict the associations between actors and use cases, and use cases represent the specific actions or tasks that the system performs. Classes, scenarios, and activities are not basic elements of a Use Case Diagram.

    Rate this question:

  • 2. 

    An Extend is a relationship between two use cases showing that one use case can take longer to execute then the other use case.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The given statement is false. An Extend relationship in use case modeling actually represents a scenario where one use case adds optional behavior to another use case. It allows for the modularization and reusability of common behavior across multiple use cases. It does not indicate that one use case takes longer to execute than the other.

    Rate this question:

  • 3. 

    When creating a use case diagram, each use case must have a direct relationship to at least one actor.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    In a use case diagram, each use case does not necessarily have to have a direct relationship with at least one actor. Use cases can be related to other use cases or can be independent as well. Therefore, the statement is false.

    Rate this question:

  • 4. 

    Use case are means of capturing the requirements of a system and they specify what a system is supposed to be able to do.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement is true because use cases are indeed a means of capturing the requirements of a system. Use cases describe the interactions between users and the system, outlining the desired functionality and behavior of the system. They help in understanding the system's purpose, defining its boundaries, and identifying the key functionalities it should possess. By documenting use cases, stakeholders can have a clear understanding of what the system is expected to do and ensure that it meets the desired requirements.

    Rate this question:

  • 5. 

    Which UML diagram below can not be used to illustrate the detailed behavior of a use case?

    • A.

      Activity Diagram

    • B.

      Sequence Diagram

    • C.

      Class Diagram

    Correct Answer
    C. Class Diagram
    Explanation
    A class diagram is a static UML diagram that represents the structure and relationships of classes in a system, rather than the dynamic behavior of use cases. It is used to illustrate the static design of a system, including classes, attributes, methods, and their relationships. On the other hand, activity diagrams and sequence diagrams are dynamic UML diagrams that depict the flow of activities and interactions between objects, making them suitable for illustrating the detailed behavior of a use case. Therefore, a class diagram cannot be used to illustrate the detailed behavior of a use case.

    Rate this question:

  • 6. 

    Which of the following statements are applicable to an Actor in a Use Case Diagram? 

    • A.

      Each Actor in a use case diagram can interact with only one Use Case.

    • B.

      An Actor is represented in the use case diagram with a "stickman" icon

    • C.

      An Actor can be placed inside the system boundary to show it belongs to the system.

    • D.

      An Actor specifies a role played by a user or an external system that interacts with the system being depicted.

    Correct Answer(s)
    B. An Actor is represented in the use case diagram with a "stickman" icon
    D. An Actor specifies a role played by a user or an external system that interacts with the system being depicted.
    Explanation
    An Actor in a Use Case Diagram is represented with a "stickman" icon and specifies a role played by a user or an external system that interacts with the system being depicted. This means that the actor can be any entity outside the system, such as a user or another system, and it represents the role or responsibility that entity has in interacting with the system. The use case diagram is a visual representation of the interactions between actors and use cases, and the "stickman" icon is commonly used to represent actors in this diagram.

    Rate this question:

  • 7. 

    When creating a use case diagram, each use case must have a direct relationships to at least one actor.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    In a use case diagram, each use case does not necessarily have to have a direct relationship with at least one actor. Use cases can be related to other use cases through associations or generalizations. Therefore, the statement is false.

    Rate this question:

  • 8. 

    A Use Case is depicted graphically by the following system:

    • A.

      Square

    • B.

      Rectangle

    • C.

      Circle

    • D.

      Oval

    Correct Answer
    D. Oval
  • 9. 

    In the following diagram, which use case can not stand alone but is incorporated in the behavior of another use case?

    • A.

      F

    • B.

      D

    • C.

      E

    • D.

      G

    • E.

      H

    • F.

      I

    • G.

      None

    Correct Answer
    E. H
    Explanation
    Use case H cannot stand alone but is incorporated in the behavior of another use case.

    Rate this question:

  • 10. 

    In the following diagram, which actors could trigger the behavior of use cases F and G?

    • A.

      C

    • B.

      A

    • C.

      B

    • D.

      K

    • E.

      J

    • F.

      L

    • G.

      None

    Correct Answer(s)
    A. C
    C. B
    Explanation
    Actors C and B could trigger the behavior of use cases F and G because in the diagram, use cases F and G are connected to actors C and B respectively. This indicates that these actors have the ability to initiate or interact with the functionality represented by use cases F and G. The other actors listed (A, K, J, L) are not connected to either use case F or G, suggesting that they do not have a direct involvement in triggering their behavior.

    Rate this question:

  • 11. 

    In the following diagram, which actors cannot invoke the behavior of any use case?

    • A.

      K

    • B.

      J

    • C.

      B

    • D.

      None

    • E.

      C

    • F.

      L

    • G.

      A

    Correct Answer(s)
    A. K
    B. J
    F. L
    Explanation
    Actors K, J, and L cannot invoke the behavior of any use case because they are not connected to any use case in the diagram. Actors B, C, and A are connected to at least one use case, so they can invoke the behavior of those use cases. Therefore, the actors that cannot invoke the behavior of any use case are K, J, and L.

    Rate this question:

  • 12. 

    Select the best name for a use case from the following options:

    • A.

      Enroll Student

    • B.

      Student

    • C.

      Enrollment

    • D.

      EnrollStudent()

    • E.

      Student Enrollment

    Correct Answer
    A. Enroll Student
    Explanation
    The best name for a use case would be "Enroll Student" as it clearly and concisely describes the action being performed. The other options either do not accurately describe the use case or are not in a proper naming format for a use case.

    Rate this question:

  • 13. 

    The generalization relationshio shows:

    • A.

      One use case inherits the behavior of another use case

    • B.

      One use case includes the behavior of an external actor in its behavior

    • C.

      That a use cases optionally provides additional functionality to another use case at certain points.

    • D.

      Behavior of one use case that does not stand alone but is incorporated as part of some larger use

    Correct Answer
    A. One use case inherits the behavior of another use case
    Explanation
    The correct answer is that one use case inherits the behavior of another use case. This means that one use case can reuse or extend the behavior of another use case, allowing for modular and reusable design. Inheritance promotes code reuse and helps to avoid duplication of functionality.

    Rate this question:

  • 14. 

    The <<include>> relationship shows:

    • A.

      Behavior of one use case that does not stand alone but is incorporated as part of some larger use case

    • B.

      One use case includes the behavior of an external actor in its behavior

    • C.

      That a use cases optionally provides additional functionality to another use case at certain points

    • D.

      One use case inherits the behavior of another use case

    Correct Answer
    A. Behavior of one use case that does not stand alone but is incorporated as part of some larger use case
    Explanation
    The relationship shows the behavior of one use case that is incorporated as part of some larger use case. This means that the included use case cannot stand alone and is dependent on the larger use case for its execution. It represents a modular approach where a common behavior is extracted from multiple use cases and included in a single use case to avoid duplication and improve reusability.

    Rate this question:

  • 15. 

    A use case speciļ¬cation contains which of the following components?

    • A.

       Use Case Name

    • B.

      Derived attributes

    • C.

      Failure Conditions

    • D.

      Actors

    Correct Answer(s)
    A.  Use Case Name
    C. Failure Conditions
    D. Actors
    Explanation
    A use case specification typically includes the use case name, failure conditions, and actors involved in the use case. The use case name is important as it provides a clear and concise description of the specific use case being documented. Failure conditions outline the potential scenarios or situations where the use case may fail or encounter errors. Actors refer to the individuals or entities that interact with the system being described in the use case. These components are essential in accurately documenting and understanding the use case.

    Rate this question:

  • 16. 

    Identify the correct statement(s)

    • A.

      NRFC customer does not execute Open Account

    • B.

      Customer executes Open Account

    • C.

       Bank Employee executes Open Account

    • D.

      None of the above

    Correct Answer(s)
    B. Customer executes Open Account
    C.  Bank Employee executes Open Account
    Explanation
    The correct statement is that both the NRFC customer and the bank employee can execute an Open Account. This means that either the NRFC customer or the bank employee can initiate and carry out the process of opening an account.

    Rate this question:

  • 17. 

    In the following diagram, which actors could invoke the behavior of at least one use case?

    • A.

      A

    • B.

      L

    • C.

      K

    • D.

      C

    • E.

      J

    • F.

      B

    • G.

      None

    Correct Answer(s)
    A. A
    D. C
    F. B
    Explanation
    Actors A, C, and B could invoke the behavior of at least one use case. This means that these actors have a direct involvement in the system and can initiate or participate in the use cases. Actors L, K, and J are not mentioned in the answer, so they may not have any direct involvement in the use cases. The "None" option indicates that there are no actors who can invoke the behavior of any use case, but this is not the correct answer in this case.

    Rate this question:

  • 18. 

    Select the best name for an actor from the following options:

    • A.

      Immediately

    • B.

      Enroll Student

    • C.

      Enroll Immediately

    • D.

      Student()

    • E.

      Student

    • F.

      Enroll

    Correct Answer
    E. Student
    Explanation
    The correct answer is "Student" because it is the most suitable name for an actor. The other options are either unrelated or do not make sense in the context of an actor. "Student()" is not a valid name for an actor as it includes parentheses, which are typically used for functions or methods. "Enroll Student" and "Enroll Immediately" are phrases rather than names. Therefore, "Student" is the best option for an actor's name.

    Rate this question:

  • 19. 

    Which of these statements are truly acceptable?

    • A.

      A precondition is an assertion guaranteed to be true when the activity or operation finishes

    • B.

      A post condition is an assertion guaranteed to be true when the activity or operation begins

    • C.

      Trigger is an event which cause a use case to begin

    • D.

      None 

    Correct Answer
    C. Trigger is an event which cause a use case to begin
    Explanation
    A trigger is an event that initiates or starts a use case. It can be seen as the catalyst that sets the use case into motion. When a trigger occurs, it prompts the use case to begin its execution. This statement correctly defines the concept of a trigger in the context of use cases.

    Rate this question:

  • 20. 

    Which template below would be best suited to name actors:

    • A.

      [verb]

    • B.

      [adverb]

    • C.

      [noun]

    • D.

      [noun][verb]

    • E.

      [verb][noun]

    Correct Answer
    C. [noun]
    Explanation
    The template best suited to name actors is [noun]. This is because actors are typically referred to by their names, which are nouns. Using a noun template allows for the straightforward identification and recognition of actors.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 30, 2020
    Quiz Created by
    Anita Devkar
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.