Complete the sentence to describe a component diagram.
A component diagram shows the [1] and their relationships in a system.
A component diagram illustrates the components of a system and how they interact.
Complete the sentence to explain what a component represents.
In a component diagram, a component represents a [1] part of the system that can be replaced or updated independently.
A component is a modular part of the system that can be independently replaced or updated.
Fix the error in the sentence about component interfaces.
A component diagram shows [1] that a component provides or requires to interact with other components.
Interfaces define how components communicate with each other in a component diagram.
Fill both blanks to complete the description of component dependencies.
A component [1] shows that it [2] another component to function properly.
A dependency means one component uses another to work correctly.
Fill all three blanks to complete the component diagram code snippet.
components = [1]: [2] for [3] in system_parts if is_component([3])
This code creates a dictionary of components with their names as keys and parts as values.
