Explanation:The standard sequence of UP phases is Inception (business case), Elaboration (architecture), Construction (coding), and Transition (deployment).
Incorrect! Try again.
3During the Inception phase of the Unified Process, the primary goal is to:
A.Complete the coding of all functional requirements
B.Define the system architecture and mitigate high risks
C.Establish the business case and define the scope of the project
D.Deploy the software to the end-users
Correct Answer: Establish the business case and define the scope of the project
Explanation:Inception focuses on feasibility, scope, and establishing the business case to justify the project.
Incorrect! Try again.
4Which artifact is primarily responsible for establishing the executable architectural baseline in the Unified Process?
A.The Vision Document
B.The Use Case Model
C.The Architectural Prototype (produced in Elaboration)
D.The User Manual
Correct Answer: The Architectural Prototype (produced in Elaboration)
Explanation:The Elaboration phase aims to stabilize the architecture, often resulting in an executable architectural baseline.
Incorrect! Try again.
5In the Construction phase of the Unified Process, the primary focus is on:
A.Requirements gathering
B.High-level analysis
C.Developing the system features and coding
D.Beta testing at the customer site
Correct Answer: Developing the system features and coding
Explanation:Construction is where the bulk of the coding, integration, and testing of features occurs to reach initial operational capability.
Incorrect! Try again.
6The Transition phase usually concludes with which milestone?
A.Lifecycle Objectives Milestone
B.Lifecycle Architecture Milestone
C.Initial Operational Capability Milestone
D.Product Release Milestone
Correct Answer: Product Release Milestone
Explanation:The Transition phase ends with the Product Release Milestone, indicating the system is ready for general availability.
Incorrect! Try again.
7In UML Use Case Diagrams, what does the relationship imply?
A.The base use case optionally executes the included use case
B.The included use case is a variation of the base use case
C.The base use case explicitly incorporates the behavior of another use case
D.The included use case executes only if a specific condition is met
Correct Answer: The base use case explicitly incorporates the behavior of another use case
Explanation: indicates a mandatory relationship where the base use case always uses the functionality of the included use case.
Incorrect! Try again.
8In UML Use Case Diagrams, the relationship is used when:
A.A use case always requires another use case
B.A use case adds optional or conditional behavior to a base use case
C.Two actors communicate with each other
D.A class inherits from another class
Correct Answer: A use case adds optional or conditional behavior to a base use case
Explanation: is used for optional behavior that runs only under specific conditions (extension points).
Incorrect! Try again.
9Which of the following diagrams is best suited for modeling the static structure of a system?
A.Sequence Diagram
B.Class Diagram
C.Activity Diagram
D.Use Case Diagram
Correct Answer: Class Diagram
Explanation:Class diagrams represent the static structure, showing classes, attributes, operations, and relationships.
Incorrect! Try again.
10In a Class Diagram, what symbol represents a Composition relationship?
A.A solid line with a hollow diamond
B.A solid line with a filled diamond
C.A dashed line with an arrow
D.A solid line with a hollow triangle
Correct Answer: A solid line with a filled diamond
Explanation:Composition is a strong form of aggregation (part-whole) where the part cannot exist without the whole, represented by a filled diamond.
Incorrect! Try again.
11Which UML symbol denotes a protected visibility attribute in a class?
A.+
B.-
C.#
D.~
Correct Answer: #
Explanation:In UML, # denotes protected visibility, meaning the member is accessible within the class and its subclasses.
Incorrect! Try again.
12If Class A is a generalized form of Class B, this relationship is known as:
A.Association
B.Aggregation
C.Inheritance
D.Dependency
Correct Answer: Inheritance
Explanation:Generalization in UML corresponds to inheritance in object-oriented programming, where a subclass inherits properties from a superclass.
Incorrect! Try again.
13In a Sequence Diagram, the vertical dashed line descending from an object represents its:
A.Activation bar
B.Lifeline
C.Message flow
D.Association
Correct Answer: Lifeline
Explanation:The vertical dashed line represents the lifeline, indicating the existence of the object over a period of time.
Incorrect! Try again.
14What does a synchronous message in a Sequence Diagram imply?
A.The sender waits for the receiver to finish processing the message before continuing
B.The sender continues execution immediately without waiting
C.The message is sent to create a new object
D.The message is a return value
Correct Answer: The sender waits for the receiver to finish processing the message before continuing
Explanation:A synchronous message (solid arrowhead) blocks the caller until the receiver completes the requested operation.
Incorrect! Try again.
15In a Sequence Diagram, a thin rectangular box placed on a lifeline represents:
A.An object instance
B.An execution specification (Activation bar)
C.A comment
D.A generic class
Correct Answer: An execution specification (Activation bar)
Explanation:The activation bar indicates that an object is currently active, either executing code or waiting for a return.
Incorrect! Try again.
16Activity Diagrams are primarily used to model:
A.The physical deployment of artifacts
B.The workflow or business process logic
C.The interaction between objects over time
D.The state changes of a single object
Correct Answer: The workflow or business process logic
Explanation:Activity diagrams model the flow of control or data, often used for algorithms, business processes, or workflows.
Incorrect! Try again.
17In an Activity Diagram, a diamond shape represents:
A.An initial node
B.A final node
C.A decision or merge node
D.A fork or join node
Correct Answer: A decision or merge node
Explanation:A diamond is used to represent a decision (branching based on conditions) or a merge (bringing alternative flows back together).
Incorrect! Try again.
18What is the purpose of a Fork node in an Activity Diagram?
A.To terminate a flow
B.To split a single flow into multiple concurrent flows
C.To join multiple flows into one
D.To represent a conditional branch
Correct Answer: To split a single flow into multiple concurrent flows
Explanation:A fork node (thick bar) splits one incoming flow into multiple parallel (concurrent) flows.
Incorrect! Try again.
19In UML modeling, Swimlanes in an Activity Diagram are used to:
A.Group activities by the actor or organization unit responsible for them
B.Show the timeline of events
C.Represent data storage
D.Indicate the state of an object
Correct Answer: Group activities by the actor or organization unit responsible for them
Explanation:Swimlanes partition the activity diagram to show who (which actor or system) is responsible for performing specific actions.
Incorrect! Try again.
20Which of the following best describes Object Modeling?
A.Designing database tables only
B.Visualizing a software system as a collection of interacting objects
C.Writing procedural code
D.Creating user interface mockups
Correct Answer: Visualizing a software system as a collection of interacting objects
Explanation:Object modeling involves identifying objects, their attributes, behaviors, and relationships to represent the system.
Incorrect! Try again.
21In Class Diagrams, multiplicity notation indicates:
A.Zero or more instances
B.Exactly one instance
C.One or more instances
D.Optional instance (0 or 1)
Correct Answer: One or more instances
Explanation:The notation means the lower bound is 1 and the upper bound is unlimited (many).
Incorrect! Try again.
22Which UML diagram allows for modeling the physical architecture of the system, including hardware nodes?
A.Component Diagram
B.Deployment Diagram
C.Object Diagram
D.Package Diagram
Correct Answer: Deployment Diagram
Explanation:Deployment diagrams show the physical arrangement of hardware (nodes) and software (artifacts) in the system.
Incorrect! Try again.
23Checking that a model contains no contradictions (e.g., a class diagram contradicts a sequence diagram) is known as:
A.Completeness checking
B.Consistency checking
C.Syntax checking
D.Performance testing
Correct Answer: Consistency checking
Explanation:Consistency checking ensures that different views or diagrams of the system do not present conflicting information.
Incorrect! Try again.
24Checking that all requirements defined in the SRS are represented in the design models is known as:
A.Consistency checking
B.Completeness checking
C.Refactoring
D.Unit testing
Correct Answer: Completeness checking
Explanation:Completeness checking verifies that all necessary components and requirements are present in the model.
Incorrect! Try again.
25What is a Traceability Matrix used for in software engineering?
A.To map requirements to design components and test cases
B.To calculate the cyclomatic complexity
C.To schedule project phases
D.To trace memory leaks in code
Correct Answer: To map requirements to design components and test cases
Explanation:A traceability matrix links requirements throughout the development lifecycle (design, code, test) to ensure everything is covered.
Incorrect! Try again.
26Which code review technique is the most formal, involving defined roles (Moderator, Reader, Recorder) and metrics collection?
A.Code Walkthrough
B.Pair Programming
C.Fagan Inspection
D.Desk Checking
Correct Answer: Fagan Inspection
Explanation:Fagan Inspection is a highly structured, formal process with specific roles and separate phases (planning, overview, preparation, meeting, rework, follow-up).
Incorrect! Try again.
27The primary objective of adhering to Coding Standards is to:
A.Make the code execute faster
B.Reduce the size of the compiled binary
C.Improve code readability and maintainability
D.Ensure the code is object-oriented
Correct Answer: Improve code readability and maintainability
Explanation:Coding standards ensure consistency, making it easier for teams to read, understand, and maintain each other's code.
Incorrect! Try again.
28In a Use Case diagram, the System Boundary is represented by:
A.A dashed oval
B.A rectangle surrounding the use cases
C.A stick figure
D.A solid line connecting actors
Correct Answer: A rectangle surrounding the use cases
Explanation:The system boundary is a box that separates the internal use cases from the external actors.
Incorrect! Try again.
29Which relationship in a Class Diagram represents 'is-part-of' but allows the part to exist independently of the whole?
A.Composition
B.Aggregation
C.Generalization
D.Realization
Correct Answer: Aggregation
Explanation:Aggregation (hollow diamond) represents a weak 'has-a' relationship where the lifecycle of the part is not strictly tied to the whole.
Incorrect! Try again.
30In the context of the Unified Process, iteration means:
A.Doing the entire waterfall process once
B.Repeating a cycle of analysis, design, implementation, and testing
C.Writing the code multiple times until it works
D.Testing the software continuously
Correct Answer: Repeating a cycle of analysis, design, implementation, and testing
Explanation:Iteration involves a distinct sequence of activities (mini-waterfall) that results in a release (internal or external) of the system.
Incorrect! Try again.
31Which artifact is NOT typically associated with the Requirements workflow in UP?
A.Use Case Model
B.Glossary
C.Deployment Plan
D.Supplementary Specification
Correct Answer: Deployment Plan
Explanation:The Deployment Plan is typically associated with the Implementation or Deployment workflows, not Requirements.
Incorrect! Try again.
32In UML, an abstract class is usually distinguished by:
A.Underlining the class name
B.Putting the class name in italics
C.Adding an 'A' prefix
D.Drawing the box with dashed lines
Correct Answer: Putting the class name in italics
Explanation:By convention in UML, abstract class names and abstract methods are written in italics.
Incorrect! Try again.
33What is the result of Forward Traceability?
A.Mapping code back to requirements
B.Ensuring requirements are decomposed into design and code
C.Checking if the design matches the user manual
D.Tracing bugs to their origin
Correct Answer: Ensuring requirements are decomposed into design and code
Explanation:Forward traceability tracks the path from requirements to design to implementation to ensure all requirements are built.
Incorrect! Try again.
34A Code Walkthrough is best described as:
A.A formal inspection with a moderator
B.An informal presentation of code by the author to peers for feedback
C.Automated static analysis
D.Testing the code dynamically
Correct Answer: An informal presentation of code by the author to peers for feedback
Explanation:A walkthrough is less formal than an inspection; the author usually leads the session to explain the logic and solicit feedback.
Incorrect! Try again.
35In a Sequence Diagram, an Asynchronous Message is depicted by:
A.A solid line with a filled arrowhead
B.A solid line with an open arrowhead
C.A dashed line with an open arrowhead
D.A curved line
Correct Answer: A solid line with an open arrowhead
Explanation:An open arrowhead (stick arrowhead) on a solid line indicates an asynchronous message, where the sender does not wait for a response.
Incorrect! Try again.
36Which UML diagram is a type of interaction diagram?
A.Class Diagram
B.Component Diagram
C.Sequence Diagram
D.Deployment Diagram
Correct Answer: Sequence Diagram
Explanation:Sequence diagrams (along with Communication/Collaboration diagrams) are Interaction diagrams that model dynamic behavior.
Incorrect! Try again.
37The concept of Refactoring in object-oriented development refers to:
A.Changing the external behavior of code
B.Improving the internal structure of code without changing external behavior
C.Rewriting the documentation
D.Porting the software to a new platform
Correct Answer: Improving the internal structure of code without changing external behavior
Explanation:Refactoring cleans up code (improves design, readability) without altering what the software actually does for the user.
Incorrect! Try again.
38In a Class Diagram, an Association Class is used when:
A.Two classes have a many-to-many relationship that requires attributes
B.A class interacts with an actor
C.A class inherits from multiple parents
D.A class is composed of other classes
Correct Answer: Two classes have a many-to-many relationship that requires attributes
Explanation:An association class allows attributes (like 'date' or 'grade') to be attached to the link between two classes (e.g., Student and Course).
Incorrect! Try again.
39What is the '4+1 View Model' of software architecture primarily composed of?
A.Logical, Development, Process, Physical, and Use Case views
B.Class, Sequence, Activity, State, and Component views
C.Input, Output, Process, Storage, and Feedback views
D.Frontend, Backend, Database, Network, and Security views
Correct Answer: Logical, Development, Process, Physical, and Use Case views
Explanation:Philippe Kruchten's 4+1 view model describes architecture using Logical, Development, Process, and Physical views, tied together by Use Cases (+1).
Incorrect! Try again.
40Static analysis tools used during code review primarily check for:
A.Runtime errors
B.Syntax errors, coding standard violations, and potential bugs
C.User interface responsiveness
D.Server load capacity
Correct Answer: Syntax errors, coding standard violations, and potential bugs
Explanation:Static analysis examines source code without executing it to find structural flaws, standard violations, and security vulnerabilities.
Incorrect! Try again.
41In an Activity Diagram, a Join node:
A.Splits execution into threads
B.Synchronizes multiple concurrent flows into one
C.Represents a choice between alternatives
D.Starts the activity
Correct Answer: Synchronizes multiple concurrent flows into one
Explanation:A join node (thick bar) waits for all incoming concurrent flows to complete before proceeding to the next action.
Incorrect! Try again.
42Which of the following is a key benefit of Incremental Development?
A.All requirements are finalized at the start
B.The customer can see and use early versions of the software
C.Testing is delayed until the end
D.Documentation is unnecessary
Correct Answer: The customer can see and use early versions of the software
Explanation:Incremental development delivers functional slices of the system early, allowing for user feedback and value delivery.
Incorrect! Try again.
43In UML, the symbol for Realization (e.g., a class implementing an interface) is:
A.A solid line with a hollow triangle
B.A dashed line with a hollow triangle
C.A dashed line with an open arrow
D.A solid line with a filled diamond
Correct Answer: A dashed line with a hollow triangle
Explanation:Realization is depicted as a dashed line with a hollow triangular arrowhead pointing to the interface.
Incorrect! Try again.
44When validating a model, checking that a variable used in a calculation has been defined is an example of:
A.Completeness
B.Consistency
C.Correctness
D.Traceability
Correct Answer: Correctness
Explanation:This is often a syntactic or semantic correctness check, ensuring the model follows the rules of the language.
Incorrect! Try again.
45In the Unified Process, the Elaboration phase is considered complete when:
A.The initial idea is pitched
B.The product is shipped
C.The architecture is stable and key risks are addressed
D.All code is written
Correct Answer: The architecture is stable and key risks are addressed
Explanation:Elaboration concludes with the Lifecycle Architecture Milestone, where architecture is validated and risks are managed.
Incorrect! Try again.
46Which UML diagram is best used to show the life cycle of a single object and the events that cause it to change?
A.State Machine Diagram
B.Class Diagram
C.Activity Diagram
D.Use Case Diagram
Correct Answer: State Machine Diagram
Explanation:While Activity diagrams show workflow, State Machine diagrams specifically show the states of a single object and transitions triggered by events.
Incorrect! Try again.
47In a Sequence Diagram, alt, opt, and loop are examples of: