Quiz - UML 2.0 - Structural Diagram

9 Questions | Total Attempts: 615

SettingsSettingsSettings
Please wait...
Quiz - UML 2.0 - Structural Diagram

The quiz involves modeling the problem domain for the business problem given below. Business Problem: A company is trying to move away from paper based visitor register to a computer based visitor register. The current process requires anybody without a valid ID card need to make an entry in the register and issued a temporary card. This card needs to be returned while exiting.


Questions and Answers
  • 1. 
    Which one of the following is a least likely class to be present in the structural model?
    • A. 

      Visitor Register

    • B. 

      ID Card

    • C. 

      Visitor Entry

    • D. 

      Security Guard

  • 2. 
    Which one of the following is the least likely behavior/operation on Visitor Register Class?
    • A. 

      Add Entry

    • B. 

      Update Entry

    • C. 

      Delete Entry

    • D. 

      Remove Entry

  • 3. 
    What is the kind of relationship between VisitorRegister and VistitorEntry class?
    • A. 

      (i)

    • B. 

      (ii)

    • C. 

      (iii)

    • D. 

      (iv)

  • 4. 
    Pick the most appropriate VistorEntry model given below
    • A. 

      (i)

    • B. 

      (ii)

    • C. 

      (iii)

    • D. 

      Not enough information

  • 5. 
    Business Scenario Extension:On further enquiries it was revealed that there is a separate register for Employees who have valid ID card but not carrying it at that point of time. What all you can interpret from the below diagram?
    • A. 

      There are two type of gate register, one is for Visitor and other is for Employee

    • B. 

      Security Guard maintain visitor register

    • C. 

      Security Guard maintain employee register

    • D. 

      Employee Register has entry for employee who are not carrying the card

  • 6. 
    Which of the following captures the missing information in the last question diagram?
    • A. 

      (i)

    • B. 

      (ii)

    • C. 

      (iii)

    • D. 

      (iv)

  • 7. 
    Business Scenario Extension: Also, the Visitor ID Card issued to Employees has a different color and sequence number and referred as Temporary ID Card. Both  are kept in different boxes. Many times people forget to return their card. On the last day of the month the missing cards are counted and if they are less than 50 then they reorder it in a lot of 100 from their Vendor. Sometime the Security Guard does not have enough Temporary ID and Visitor ID card and they deal with the scenario by creating a hand made paper-card.  The sequence numbers on the cards are unique and can not be reused. The below diagram try to capture some of this information in a model. Identify what can't be interpreted  from this model?
    • A. 

      The CardBox can contain a collection of 100 elements

    • B. 

      The CardBox can hold VisitorIDCard

    • C. 

      The CardBox can hold TempraryIDCard

    • D. 

      A single CardBox can contain both VisitorIDCard and TempraryIDCard

  • 8. 
    Which of the following diagram correctly represent the relationship between CardBox and VistitorCard
    • A. 

      (i)

    • B. 

      (ii)

    • C. 

      (iii)

    • D. 

      (iv)

  • 9. 
    Identify what can't be interpreted  from this model?
    • A. 

      Each Security Guard has a Name and ID and can issue and collect back ID Cards

    • B. 

      One or more security guards maintain more than one gate register

    • C. 

      One or more security guards maintain two Card Boxes

    • D. 

      One or more security guards maintain at most two Card Boxes