CST 2234 Quiz 4: Sequence and State Machine Diagrams (5%)

txt

School

Algonquin College *

*We aren’t endorsed by this school

Course

CST2234

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

txt

Pages

1

Uploaded by LieutenantElementOtter30

Report
Given the sequence diagram below answer the following questions. Quiz 4 Image 1 Question 1 1 / 1 point The "alt" frame in the diagram represents: Question options: Ans: Conditional logic Hide question 1 feedback Conditional logic: Either one class or another will be instantiated depending on the chosen species type: bird or mammal. Question 2 1 / 1 point What does represent each lifeline box in the diagram, such as ":Species", ":Assessment", etc ? Question options: Ans: Instance of classes Hide question 2 feedback Each lifeline box represents the instance of a class, an object in the system. Question 3 1 / 1 point When the user interface, represented by the actor, executes "createAssessment()" towards the lifeline ":Assessment", what action has been performed? Question options: Ans: The public method "createAssessment()" from the class "Assessment" is invoked Hide question 3 feedback An object exchange messages among them via public methods. Given the state machine diagram below answer the following questions. Quiz 4 Image 2 Question 4 1 / 1 point "Created", "Assessed" and "Published" are: Question options: Ans: States of an object Question 5 0 / 1 point "add species", "assess species", "publish species" are? Question options: Events of an object Transitions of an object. X WRONG States of an object Objects of classes
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help