CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE
In a UML class diagram, multiplicity '1..*' on an association end means:
- A. Zero or exactly one
- B. Exactly one, no more and no fewer
- C. Exactly between one and four, inclusive
- D. At least one, with no fixed upper bound (one or more)
Correct answer: D. At least one, with no fixed upper bound (one or more)
The notation '1..*' reads as 'one or more': a minimum of one instance is required on that end of the association, with any number above that also allowed.
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 developer checks out a specific commit directly by its hash (not a branch name), ending up in 'detached HEAD' state, and then makes two…
- A graphics application needs to create a new shape by copying an existing, fully-configured one (rather than re-specifying every property…
- A rolling deployment updates instances of a service:
- A long-lived feature branch has fallen far behind main, and its author wants a clean, linear history without the clutter of many…
- Two components with availability 99.0% and 98.0% are connected in series (the system works only if both are up). What is the system's…
- A control-flow graph has 14 edges, 8 nodes and 1 connected component. Using V(G) = E − N + 2P, what is its cyclomatic complexity?