Sad Mock Exam 2

18 Questions | Total Attempts: 34

SettingsSettingsSettings
Sad Mock Exam 2

You have one hour to answer the questions, take your time reading over them. You should get feedback on the questions at the end. GOOD LUCK


Questions and Answers
  • 1. 
    Which of the following is true about UML?
    • A. 

      It is proprietary software

    • B. 

      It is a Universal Modelling Logo

    • C. 

      It was developed by the Three Amigos

    • D. 

      It is only compatible with Java

  • 2. 
    What is a purpose of a Class Diagram?
    • A. 

      Functional Decomposition

    • B. 

      Identification of functional requirements

    • C. 

      To define sequences of actions

    • D. 

      To identify multiplicities

  • 3. 
    Is the above a correct example of a Use Case?
    • A. 

      Yes as it uses multiplicities

    • B. 

      No as attributes are not identified

    • C. 

      Yes as it uses the correct syntax for a Use Case

    • D. 

      No as it uses the incorrect syntax for a Use Case

  • 4. 
    Consider the following statement "Jude is an excellent teacher". Which of the following is correct?
    • A. 

      Being a teacher is a Use Case

    • B. 

      "Excellent teaching" would be an appropriate Use Case

    • C. 

      Excellent is a suitable Class

    • D. 

      "Jude" could be an instance of a class (object)

  • 5. 
    Generalisation can be expressed:
    • A. 

      A is the same as B

    • B. 

      A is different to B

    • C. 

      A is a Class and B is a Use Case

    • D. 

      A is a kind of B

  • 6. 
    Which statement is true in this diagram
    • A. 

      Customer is a Class

    • B. 

      Customer is an Attribute

    • C. 

      Customer is an Object

    • D. 

      Customer is a Use Case

  • 7. 
    For the subject of question 6, which is true
    • A. 

      The empty boxes are for attributes and multiplicities

    • B. 

      The empty boxes are for attributes and iterations

    • C. 

      The empty boxes are for attributes and operations

    • D. 

      The empty boxes are for iterations and operations

  • 8. 
    Sequence diagrams can model...........
    • A. 

      Work rate

    • B. 

      A pass through a full Use Case

    • C. 

      The properties of a Class

    • D. 

      The sequence of associations in a Domain Model

  • 9. 
    Consider the multiplicity 1...*. Which of the following is correct?
    • A. 

      There can be one or many instances

    • B. 

      There must be at least one instance and not more than 20

    • C. 

      One instance happens many times

    • D. 

      There can be none, one or many instances

  • 10. 
    The multiplicity 0...* is the same as;
    • A. 

      1...0

    • B. 

      *

    • C. 

      1...*

    • D. 

      0...1

  • 11. 
    A class has a Name and.....
    • A. 

      Iterations and associations

    • B. 

      Appropriations and attributes

    • C. 

      Operations and attributes

    • D. 

      Iterations and operations

  • 12. 
    This part of an Activity Diagram shows a?
    • A. 

      Decision point

    • B. 

      Join node

    • C. 

      Object node

    • D. 

      Fork node

  • 13. 
    Which of the following is a valid Class?
    • A. 

      Room Number

    • B. 

      Reserve Room

    • C. 

      Room

    • D. 

      Booking System

  • 14. 
    Consider the statement; "Jemahl is a waiter, his main task is to greet diners and direct them to their table, either pre-booked or 'walk-in' booking. He occasionally answers the phone to take bookings. Most tables seat six people, with two tables seating 8. Diners are required to give a name, and in the case of regular diners a credit card number, these are also given a unique ID". Which of the following would be the best identification of classes?
    • A. 

      Jamahl, diner, ID

    • B. 

      Table size, ID, booking

    • C. 

      Dinner, booking, table

    • D. 

      Phone, waiter, booking

  • 15. 
    "Jemahl is a waiter, his main task is to greet diners and direct them to their table, either pre-booked or 'walk-in' booking. He occasionally answers the phone to take bookings. Most tables seat six people, with two tables seating 8. Diners are required to give a name, and in the case of regular diners a credit card number, these are also given a unique ID". From the above statement identify the most valid Use Case
    • A. 

      Eat meal

    • B. 

      Answer phone

    • C. 

      Take booking

    • D. 

      Provide ID

  • 16. 
    "Jemahl is a waiter, his main task is to greet diners and direct them to their table, either pre-booked or 'walk-in' booking. He occasionally answers the phone to take bookings. Most tables seat six people, with two tables seating 8. Diners are required to give a name, and in the case of regular diners a credit card number, these are also given a unique ID". From the statement above, which is true
    • A. 

      Jemahl could perform as the actor Waiter and Receptionist

    • B. 

      Waiter is an instance of the class Jemahl

    • C. 

      Size is a valid operation of the class Table

    • D. 

      Phone is a valid attribute of the class Waiter

  • 17. 
    "Jemahl is a waiter, his main task is to greet diners and direct them to their table, either pre-booked or 'walk-in' booking. He occasionally answers the phone to take bookings. Most tables seat six people, with two tables seating 8. Diners are required to give a name, and in the case of regular diners a credit card number, these are also given a unique ID". From the statement above, which is true?
    • A. 

      Regular could be a generalisation of the class Diner

    • B. 

      Jemahl could be a generalisation of the class Waiter

    • C. 

      Size could be an instance of the class Table

    • D. 

      Diner is an instance of the class Regular

  • 18. 
    "Jemahl is a waiter, his main task is to greet diners and direct them to their table, either pre-booked or 'walk-in' booking. He occasionally answers the phone to take bookings. Most tables seat six people, with two tables seating 8. Diners are required to give a name, and in the case of regular diners a credit card number, these are also given a unique ID". From the statement above, which is true?
    • A. 

      Jemahl is a valid attribute of the class Waiter

    • B. 

      Take booking is a valid attribute of the class Waiter

    • C. 

      Size is a valid attribute of the class Table

    • D. 

      Phone number is a valid attribute of the class Diner

Back to Top Back to top