Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the sentence to describe a component diagram.
Software Engineering
A component diagram shows the [1] and their relationships in a system.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing components with users or databases.
Thinking component diagrams show network details.
✗ Incorrect
A component diagram illustrates the components of a system and how they interact.
2fill in blank
mediumComplete the sentence to explain what a component represents.
Software Engineering
In a component diagram, a component represents a [1] part of the system that can be replaced or updated independently.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'fixed' because components can change.
Confusing 'external' with internal parts.
✗ Incorrect
A component is a modular part of the system that can be independently replaced or updated.
3fill in blank
hardFix the error in the sentence about component interfaces.
Software Engineering
A component diagram shows [1] that a component provides or requires to interact with other components.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing interfaces with databases or servers.
Thinking users are part of component communication.
✗ Incorrect
Interfaces define how components communicate with each other in a component diagram.
4fill in blank
hardFill both blanks to complete the description of component dependencies.
Software Engineering
A component [1] shows that it [2] another component to function properly.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'contains' instead of 'uses' for dependency.
Thinking 'ignores' is correct for dependency.
✗ Incorrect
A dependency means one component uses another to work correctly.
5fill in blank
hardFill all three blanks to complete the component diagram code snippet.
Software Engineering
components = [1]: [2] for [3] in system_parts if is_component([3])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'component' as the loop variable instead of 'part'.
Mixing keys and values in the dictionary comprehension.
✗ Incorrect
This code creates a dictionary of components with their names as keys and parts as values.