CS FundamentalsModerateService-company placement · UML
In a UML component diagram, PaymentService shows a small circle on a stick labelled IPayment, and Checkout shows a half-circle cup labelled IPayment. What do they mean?
- A. PaymentService needs IPayment; Checkout provides it
- B. Both components implement IPayment independently
- C. PaymentService provides IPayment; Checkout requires it
- D. IPayment is a port that both components publish to a message bus
Correct answer: C. PaymentService provides IPayment; Checkout requires it
The ball (lollipop) marks a provided interface and the socket a required one; drawn together they form an assembly connector meaning Checkout uses the IPayment that PaymentService provides.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team uses Basic COCOMO for a 50 KLOC project. How many times larger is the embedded-mode effort (3.6 × KLOC^1.20) than the organic-mode…
- A work breakdown structure is said to follow the 100% rule. What does that mean?
- A game studio adds Git LFS for its .psd and .fbx files. Which statement is correct?
- A developer uses git worktree add ../hotfix main while her current directory has feature checked out. Which statement is correct?
- A Scrum team keeps pulling stories into sprints that lack acceptance criteria and depend on undecided UX. Which agreement addresses this…
- In a speech-recognition system, independent knowledge sources (acoustic, lexical, syntactic) each read and update a shared store of…