Which UML diagram provides a static view?
Show answer Hide answer
Answer: B. Use case
Explanation
Use case diagrams provide a static structural view of system functionality and actor interactions. These diagrams map out what the system does and who interacts with it without showing execution flow. System architects use use case models to capture high-level functional requirements statically. Unified Modeling Language diagrams are categorized into structural static views and behavioral dynamic views. Use cases illustrate actor boundaries and functional use scenarios without detailing internal methods. Static views help stakeholders understand system scope and boundaries at a glance.
Requirements gathering sessions often culminate in comprehensive use case diagrams for clarity. Project managers use use case scope to estimate development effort and plan release phases. Analyst teams share use case models with clients to validate understanding of system features. Collaboration diagrams provide a dynamic view showing object interactions over time. State chart diagrams illustrate the dynamic state transitions of an object during runtime. Activity diagrams model dynamic procedural workflows and step-by-step operational logic.
- Subject
- Computer Science
- Category
- Software Engineering
- Topic
- —
- Difficulty
- medium
Related questions
Q1. Explain PRODUCT as per the ACM/IEEE Code of Ethics?
Show answer Hide answer
Answer: B. Software engineers shall ensure that their products and related modifications meet the highest professional standards possible
The ACM and IEEE Code of Ethics mandates high professional standards for products. Software engineers must ensure their work meets rigorous quality and safety benchmarks. This ethical obligation protects public welfare a...
Q2. Select the proper code of conduct: Software engineers shall _____________________?
Show answer Hide answer
Answer: B. act consistently with the public interest.”
Professional codes of conduct emphasize placing public welfare above other concerns. Software engineers must act consistently with the broader public interest always. This ethical obligation protects society from unsafe...
Q3. Identify an ethical dilemma from the situations below?
Show answer Hide answer
Answer: A. Your employer releases a safety-critical system without finishing the testing of the system
Releasing a safety-critical system without adequate testing is an ethical violation compromising public safety. Software engineers have a primary moral obligation to protect human life and safety above deadlines. Skippin...
Q4. Which restriction is used when a method is only accessible within its package?
Show answer Hide answer
Answer: C. Do not declare the method with any accessibility modifiers.
Omitting accessibility modifiers in Java creates a package private method restriction. Such methods are accessible only to other classes within the same package. This default visibility encourages encapsulation while sup...
Q5. A software package consists of a grouping of__________________?
Show answer Hide answer
Answer: A. Classes and Interfaces
A software package groups related classes and interfaces together logically. This organization helps manage large codebases by creating distinct namespaces. Related components reside within the same package for better mo...
Q6. _________ allows Java code running in the JVM to call or be called by native applications?
Show answer Hide answer
Answer: A. JNI
Java Native Interface allows Java code running in the JVM to call native applications. JNI bridges the gap between managed Java bytecode and platform-specific code written in C or C++. This programming framework enables...