Unit-3
Sure! Here’s your question followed by the answer format:
1. Which of the following is the primary goal of software design?
a) To create the source code
b) To understand the user requirements
c) To structure software in a way that is both functional and maintainable
d) To perform testing
Answer: c) To structure software in a way that is both functional and maintainable
2. Which of the following is NOT a characteristic of a good software design?
a) Modularity
b) Scalability
c) Hardcoding
d) Flexibility
Answer: c) Hardcoding
3. What is the purpose of UML in design engineering?
a) To visualize and model system architecture
b) To write source code
c) To generate system requirements
d) To conduct performance testing
Answer: a) To visualize and model system architecture
4. Which of the following is a type of diagram used in UML for modeling the interaction between
objects over time?
a) Use Case Diagram
b) Sequence Diagram
c) Class Diagram
d) Component Diagram
Answer: b) Sequence Diagram
5. Which design pattern focuses on separating the interface and implementation of a component
in software architecture?
a) Singleton Pattern
b) Adapter Pattern
c) Abstract Factory Pattern
d) Bridge Pattern
Answer: d) Bridge Pattern
6. In the context of software architecture, which of the following is an example of an architectural
style?
a) Layered Architecture
b) Data Flow Diagrams
c) Sequence Diagrams
d) Use Case Diagrams
Answer: a) Layered Architecture
7. What does “abstraction” in software design refer to?
a) Creating more complex classes
b) Hiding unnecessary details from users and focusing on essential features
c) Increasing the size of the codebase
d) Reducing the number of user stories
Answer: b) Hiding unnecessary details from users and focusing on essential features
8. Which of the following is true about architectural design?
a) It defines the software components and their interactions
b) It deals primarily with coding and debugging
c) It is done after the testing phase
d) It focuses only on visual design
Answer: a) It defines the software components and their interactions
9. Which UML diagram shows the structure of a system by representing its classes and
relationships?
a) Sequence Diagram
b) Class Diagram
c) Activity Diagram
d) Component Diagram
Answer: b) Class Diagram
10. Which design principle aims to make changes easier and reduce the impact of those
changes on the system?
a) Coupling
b) Cohesion
c) Modularity
d) Maintainability
Answer: d) Maintainability
11. The design model is a blueprint for:
a) Deployment
b) Implementation
c) Testing
d) Database
Answer: b) Implementation
12. Which design principle hides internal module details?
a) Abstraction
b) Coupling
c) Encapsulation
d) Modularity
Answer: c) Encapsulation
13. A collaboration diagram in UML focuses on:
a) Data flow
b) Object interactions
c) Architecture layers
d) Database schema
Answer: b) Object interactions
14. In UML, actors represent:
a) Users or external systems
b) Classes
c) Methods
d) Modules
Answer: a) Users or external systems
15. Which architectural style passes data through filters?
a) Client-server
b) Layered
c) Pipe-filter
d) MVC
Answer: c) Pipe-filter
16. Which UML diagram models control flow between components?
a) Activity
b) Sequence
c) Collaboration
d) Component
Answer: a) Activity
17. The conceptual model of UML describes:
a) Implementation details
b) Basic building blocks
c) Database schema
d) Testing strategy
Answer: b) Basic building blocks
18. Which design approach is top-down?
a) Structured design
b) Object-oriented design
c) Event-driven design
d) Agile design
Answer: a) Structured design
19. Which architectural style passes data through filters?
a) Client-server
b) Layered
c) Pipe-filter
d) MVC
Answer: c) Pipe-filter
20. Which UML diagram describes system structure in terms of packages and components?
a) Component
b) Package
c) Class
d) Sequence
Answer: b) Package
Here are the fill-in-the-blank answers for your Unit III questions:
1. _________ design refers to the overall structure of a software system.
Answer: Architectural
2. The primary goal of __________ design is to map the requirements into an implementable
system.
Answer: Detailed / High-level (or Software) design
3. A __________ diagram is used to show how objects interact over time in a system.
Answer: Sequence
4. A __________ diagram describes how objects collaborate with each other in terms of
messages and events.
Answer: Collaboration
5. ________ is the design principle that focuses on making system components independent of
one another.
Answer: Low Coupling
6. The __________ design model represents the static structure of a system, showing its
components and relation.
Answer: Class / Structural
7. The __________ model in UML is used to model the system’s dynamic behavior through
interaction between objects.
Answer: Interaction / Dynamic
8. _________ design focuses on how data will be structured and accessed within the system.
Answer: Data
9. _________ is a widely-used design pattern that allows an interface to be used for different
underlying forms of a data.
Answer: Adapter
10. The _________ pattern involves creating objects without specifying the exact class of object
that will be created.
Answer: Factory / Factory Method
11. The architectural style where data passes through filters is called ________.
Answer: Pipe-Filter
12. The architectural pattern that separates UI, business logic, and data is called ________.
Answer: MVC (Model-View-Controller)
13. In UML, the diagram showing object interactions over time is the ________ diagram.
Answer: Sequence
14. The UML diagram that models static relationships between classes is the ________
diagram.
Answer: Class
15. In UML, actors represent ________.
Answer: Users or external systems
16. UML stands for ________.
Answer: Unified Modeling Language
17. In class diagrams, generalization is shown by a ________ arrow.
Answer: Hollow triangle / inheritance
18. The process of converting design into code is called ________.
Answer: Implementation / Coding
19. A use case diagram consists of actors, ________, and relationships.
Answer: Use cases
20. The design quality factor that ensures system correctness over time is ________.
Answer: Reliability / Maintainability
Unit-4
Here are the questions with their answers for your Software Testing MCQs:
1. Which of the following is a characteristic of black-box testing?
a) Focuses on the internal structure of the code
b) Tests based on the system’s specifications and user inputs
c) Requires knowledge of the internal code
d) Tests individual components in isolation
Answer: b) Tests based on the system’s specifications and user inputs
2. Which type of testing is concerned with ensuring that the software functions as per the user
requirements?
a) Unit Testing
b) Integration Testing
c) Validation Testing
d) Regression Testing
Answer: c) Validation Testing
3. What is the primary goal of unit testing?
a) To test the entire system as a whole
b) To test individual components or functions in isolation
c) To test the performance of the system
d) To test the system in a real-world environment
Answer: b) To test individual components or functions in isolation
4. Which testing strategy aims to ensure that the software works under expected load and
stress conditions?
a) Performance Testing
b) Stress Testing
c) System Testing
d) Usability Testing
Answer: a) Performance Testing
5. What is the primary purpose of system testing?
a) To test the system in a real environment
b) To verify if the system meets specified requirements
c) To test individual modules
d) To check if the system is secure
Answer: b) To verify if the system meets specified requirements
6. Which of the following is a tool for white-box testing?
a) JUnit
b) Selenium
c) LoadRunner
d) TestComplete
Answer: a) JUnit
7. Which of the following is NOT a part of the debugging process?
a) Identifying the root cause of the defect
b) Fixing the defect in the code
c) Writing new test cases
d) Verifying that the fix works and doesn’t break other parts of the system
Answer: c) Writing new test cases
8. Which of the following testing techniques involves testing the system from the perspective of
the end user?
a) Black-box Testing
b) White-box Testing
c) Static Testing
d) Integration Testing
Answer: a) Black-box Testing
9. In which of the following is the focus on finding errors that occur when multiple components
interact?
a) System Testing
b) Unit Testing
c) Integration Testing
d) Stress Testing
Answer: c) Integration Testing
10. What is the key difference between black-box and white-box testing?
a) White-box testing tests based on requirements, while black-box
b) Black-box testing requires knowledge of code structure, while white-box does not
c) White-box testing requires knowledge of the internal workings of the application
d) There is no significant difference
Answer: c) White-box testing requires knowledge of the internal workings of the application
11. The primary goal of debugging is:
a) Prevent errors
b) Locate and fix errors
c) Document errors
d) Measure performance
Answer: b) Locate and fix errors
12. Path coverage is measured in:
a) Black-box testing
b) White-box testing
c) System testing
d) Validation testing
Answer: b) White-box testing
13. Which type of testing involves actual users?
a) System testing
b) Acceptance testing
c) Unit testing
d) Regression testing
Answer: b) Acceptance testing
14. Debugging starts after:
a) Testing
b) Design
c) Coding
d) Deployment
Answer: c) Coding
15. Which testing ensures the product works in the intended environment?
a) Acceptance testing
b) Integration testing
c) System testing
d) Unit testing
Answer: a) Acceptance testing
16. Cyclomatic complexity is used to measure:
a) Functionality
b) Logical complexity
c) Productivity
d) Usability
Answer: b) Logical complexity
17. Software measurement helps in:
a) Coding speed
b) Quality assessment
c) Eliminating debugging
d) Skipping testing
Answer: b) Quality assessment
18. Test cases derived from specifications are part of:
a) Black-box testing
b) White-box testing
c) Debugging
d) Regression testing
Answer: a) Black-box testing
19. A measure that quantifies software attributes is called:
a) Metric
b) Requirement
c) Process
d) Model
Answer: a) Metric
20. Which of the following is a process metric?
a) Productivity
b) Defect density
c) MTBF
d) Maintainability index
Answer: a) Productivity
Here are the fill-in-the-blank answers for your Software Testing questions:
1. _________ testing focuses on the system’s compliance with the specified requirements.
Answer: Validation
2. _________ testing ensures that the system behaves as expected under varying conditions,
including stress.
Answer: Performance
3. The process of ___________ involves identifying and fixing defects in the software.
Answer: Debugging
4. _________ testing involves testing individual components or functions in isolation.
Answer: Unit
5. The __________ model in testing emphasizes iterative testing and refinement of the system.
Answer: V-Model
6. _________ testing aims to find issues that occur when different software components are
integrated.
Answer: Integration
7. _________ testing is a black-box testing method that is concerned with testing the software’s
user interface and usability.
Answer: Usability
8. _________ testing focuses on how the system handles unexpected situations and inputs.
Answer: Stress / Robustness
9. _________ testing ensures that the system functions properly when combined with other
systems or hardware.
Answer: System / Integration
10. _________ testing is concerned with checking the behavior of the software when it
undergoes changes, ensuring that new features do not introduce new defects.
Answer: Regression
11. ________ testing is performed to ensure that changes do not break existing functionality.
Answer: Regression
12. ________ testing checks the interaction between modules.
Answer: Integration
13. ________ complexity measures the logical complexity of a program.
Answer: Cyclomatic
14. Software ________ is essential for assessing quality and productivity.
Answer: Metrics / Measurement
15. Black-box testing derives test cases from ________ and specifications.
Answer: Requirements
16. White-box testing requires knowledge of ________ and algorithms.
Answer: Code / Internal structure
17. The art of ________ involves a systematic approach to finding and fixing defects.
Answer: Debugging / Software testing
18. ________ metrics measure response time, throughput, and resource utilization.
Answer: Performance
19. ________ index indicates how easy it is to maintain software.
Answer: Maintainability
20. ________ is a measure of software reliability.
Answer: MTBF (Mean Time Between Failures) / Reliability metrics
Here are the fill-in-the-blank answers for your Software Testing questions:
1. _________ testing focuses on the system’s compliance with the specified requirements.
Answer: Validation
2. _________ testing ensures that the system behaves as expected under varying conditions,
including stress.
Answer: Performance
3. The process of ___________ involves identifying and fixing defects in the software.
Answer: Debugging
4. _________ testing involves testing individual components or functions in isolation.
Answer: Unit
5. The __________ model in testing emphasizes iterative testing and refinement of the system.
Answer: V-Model
6. _________ testing aims to find issues that occur when different software components are
integrated.
Answer: Integration
7. _________ testing is a black-box testing method that is concerned with testing the software’s
user interface and usability.
Answer: Usability
8. _________ testing focuses on how the system handles unexpected situations and inputs.
Answer: Stress / Robustness
9. _________ testing ensures that the system functions properly when combined with other
systems or hardware.
Answer: System / Integration
10. _________ testing is concerned with checking the behavior of the software when it
undergoes changes, ensuring that new features do not introduce new defects.
Answer: Regression
11. ________ testing is performed to ensure that changes do not break existing functionality.
Answer: Regression
12. ________ testing checks the interaction between modules.
Answer: Integration
13. ________ complexity measures the logical complexity of a program.
Answer: Cyclomatic
14. Software ________ is essential for assessing quality and productivity.
Answer: Metrics / Measurement
15. Black-box testing derives test cases from ________ and specifications.
Answer: Requirements
16. White-box testing requires knowledge of ________ and algorithms.
Answer: Code / Internal structure
17. The art of ________ involves a systematic approach to finding and fixing defects.
Answer: Debugging / Software testing
18. ________ metrics measure response time, throughput, and resource utilization.
Answer: Performance
19. ________ index indicates how easy it is to maintain software.
Answer: Maintainability
20. ________ is a measure of software reliability.
Answer: MTBF (Mean Time Between Failures) / Reliability metrics
Unit-5
Here are the questions with their answers for your Risk Management and Software Quality
MCQs:
1. Which of the following is a proactive risk management strategy?
a) Reacting to risks after they occur
b) Identifying and mitigating risks early in the project
c) Ignoring low-impact risks
d) Avoiding risks at all costs
Answer: b) Identifying and mitigating risks early in the project
2. What does RMMM stand for in risk management?
a) Risk Mitigation, Monitoring, and Management
b) Risk Management, Monitoring, and Mitigation
c) Risk Minimization, Management, and Monitoring
d) Risk Measurement, Monitoring, and Management
Answer: a) Risk Mitigation, Monitoring, and Management
3. Which of the following is a type of risk in software projects?
a) Technical risk
b) Schedule risk
c) Budget risk
d) All of the above
Answer: d) All of the above
4. Which of the following is an example of a quality assurance activity?
a) Reviewing the requirements document
b) Writing unit tests
c) Conducting performance testing
d) All of the above
Answer: d) All of the above
5. What is the main goal of risk management in software engineering?
a) To identify risks after they occur
b) To completely eliminate all risks
c) To identify, assess, and mitigate risks before they negatively impact the project
d) To reduce the cost of software development
Answer: c) To identify, assess, and mitigate risks before they negatively impact the project
6. Which of the following is NOT a part of the quality management process?
a) Quality planning
b) Quality assurance
c) Quality control
d) Project termination
Answer: d) Project termination
7. Which of the following risk identification techniques involves using experts to brainstorm
potential risks?
a) SWOT analysis
b) Risk probability and impact matrix
c) Delphi technique
d) FMEA (Failure Modes and Effects Analysis)
Answer: c) Delphi technique
8. Which of the following is a characteristic of ISO 9000?
a) Focuses on environmental management
b) Provides guidelines for software quality assurance
c) Specifies standards for software development teams
d) Provides a framework for assessing software reliability
Answer: b) Provides guidelines for software quality assurance
9. In the context of software quality, which of the following is an example of a non-functional
requirement?
a) User authentication
b) System performance and response time
c) Software updates
d) Data storage
Answer: b) System performance and response time
10. Which of the following is NOT a key principle of quality management?
a) Customer focus
b) Continuous improvement
c) Employee training
d) Ignoring the feedback from the stakeholders
Answer: d) Ignoring the feedback from the stakeholders
11. Quality management focuses on:
a) Only testing
b) Ensuring quality of processes and product
c) Hiring quality staff
d) Reducing project size
Answer: b) Ensuring quality of processes and product
12. ISO 9000 standards are related to:
a) Software cost estimation
b) Quality management systems
c) Programming languages
d) Project scheduling
Answer: b) Quality management systems
13. Software Quality Assurance (SQA) is:
a) Testing phase
b) Planned and systematic set
c) Debugging process
d) Cost estimation process
Answer: b) Planned and systematic set
14. A formal technical review (FTR) is conducted to:
a) Check code formatting
b) Evaluate software work products
c) Test final system
d) Manage project risks
Answer: b) Evaluate software work products
15. Which of these is a type of software review?
a) Peer review
b) Client review
c) Supplier review
d) Public review
Answer: a) Peer review
16. The main purpose of quality audits is to:
a) Find and correct defects
b) Reduce project time
c) Improve marketing
d) Increase costs
Answer: a) Find and correct defects
17. A risk item with high probability and high impact should be:
a) Ignored
b) Addressed first
c) Delayed
d) Left for later
Answer: b) Addressed first
18. ISO 9001 focuses on:
a) Customer satisfaction
b) Product pricing
c) Coding standards only
d) Marketing strategy
Answer: a) Customer satisfaction
19. Software reliability is often expressed in terms of:
a) MTBF
b) LOC
c) SLOC
d) Function Points
Answer: a) MTBF
20. Risk avoidance strategy aims to:
a) Eliminate the conditions causing risk
b) Ignore risk
c) Reduce project scope only
d) Focus only on coding
Answer: a) Eliminate the conditions causing risk
Here are the fill-in-the-blank answers for your Risk Management and Software Quality
questions:
1. Risk management in software projects includes the processes of ____________,
assessment, and mitigation.
Answer: Identification
2. The ___________ strategy focuses on avoiding or eliminating risks before they impact the
project.
Answer: Risk avoidance
3. The ___________ risk strategy involves responding to risks once they have occurred.
Answer: Reactive / Risk mitigation
4. _________ is a process in software engineering to ensure that the product meets defined
quality standards.
Answer: Quality assurance (QA)
5. The ____________ model is used for assessing the maturity of an organization’s software
process.
Answer: CMM (Capability Maturity Model)
6. The ___________ approach is focused on the continuous improvement of processes,
products, and services.
Answer: TQM (Total Quality Management)
7. In risk management, __________ is used to prioritize risks based on their likelihood of
occurrence and impact.
Answer: Risk probability and impact matrix
8. __________ refers to the likelihood of a risk event occurring and the potential consequences
if it occurs.
Answer: Risk
9. A __________ is an event or condition that could potentially harm a project’s objectives.
Answer: Risk item / Risk event
10. _________ management is focused on preventing defects in software by improving
processes and involving stakeholders in all stages of development.
Answer: Quality
11. Risk avoidance aims to ________ the conditions causing the risk.
Answer: Eliminate / Remove
12. Software reliability is often expressed in ________.
Answer: MTBF (Mean Time Between Failures)
13. The main goal of RMMM is to ________ and ________ risks.
Answer: Mitigate and monitor
14. ISO 9001 focuses on ________ satisfaction.
Answer: Customer
15. SQA activities are applied ________ the software process.
Answer: Throughout / During
16. ________ is not a step in risk management.
Answer: Coding / Deployment (or any irrelevant step)
17. ISO 9000 certification shows adherence to ________ standards.
Answer: Quality management
18. Software reliability measures the probability of ________ operation.
Answer: Failure-free / Correct
19. A formal technical review (FTR) is used to evaluate ________ work products.
Answer: Software / Project
20. ISO 9000 standards deal with ________ management systems.
Answer: Quality