cong-nghe-phan-mem-6
cong-nghe-phan-mem-6
VKU_Công nghệ phần mềm (Trường Đại học Công nghệ Thông tin và Truyền thông Việt
- Hàn)
Chương 2:
1. How many steps does the waterfall model of a system have?
=6
~5
~7
~8
2. Agile Software Development is based on which of the following type?
~ Iterative Development
~ Incremental Development
= Both Incremental and Iterative Development
~ Linear Development
3. Which of the following is not a part of Software evolution?
~ Re-engineering activities
~ Maintenance activities
~ Development activities
= Negotiating with client
4.How many software development models are there?
{
~5
~3
=7
~6
}
5.What models are included in the linear model?
{
~ Prototype model, spiral model, integration model
~ Spiral model
~ Prototype model
20. The spiral model of software development
~ Ends with the delivery of the software product
~ Is more chaotic than the incremental model s
= Includes project risks evaluation during each iteration
~ All of the above
~ Answer phone
= Take booking
~ Provide ID
7. Construction iterations are based on?
~ System Activities
= System Use Cases
~ System Classes
~ System States
8. Stakeholders are?
~ Those who pay for a system
= All those who specify and influence requirements
~ Those who will work with the system
~ Those who will work on the system
9. Once classes and attributes have been identified and placed into a diagram, the next
stage is to add?
~ Associations
~ Operations
= Multiplicities
~ Actors
10. Which is the longest phase of the Unified Process?
~ Construction
~ Transition
~ Inception
= Elaboration
11. At which stage are conceptual class diagrams used?
~ Construction
~ Transition
~ Inception
= Elaboration
12. Is the above diagram...
~ A class diagram
~ A sequence diagram
= An activity diagram
~ A package diagram
13. For the diagram shown above, the diamond shapes represent?
= A decision point
~ A fork node
~ A join node
~ An operation
14. For the above diagram, which statement is true?
~ B, C, D, and E will all be executed
= B, D, and E or C, D, and E will all be executed
~ C, D, and E will all be executed
~ Either C or B, D and E will be executed
15. For the above diagram, which statement is true?
= D and E will be executed concurrently
~ D and E will be executed sequentially
~ D and E will be executed conditionally
~ All of the above
16. For the above diagram, swimlanes could be added. These would be added to...
= Allow the behavior of different objects to be shown
~ Allow Use Cases to be included
~ Allow printing of multiple page diagrams
~ Allow complex systems to be analyzed
29. Data flow testing is a control structure testing technique where the criteria used to
design test cases is that they
~ Rely on basis path testing
= Exercise the logical conditions in a program module
~ Select test paths based on the locations and uses of variables
~ Focus on testing the validity of loop constructs
30. The final result of the requirements identification and analysis phase is:
= SRS documents.
~ DFD diagram.
~ Use case diagram.
~ ERD diagram.
31. Stakeholders are?
~ Those who pay for a system
~ Implementation.
12. Which technique is used to describe the behavior of a system using a formal
language and mathematical logic?
~ Use case diagram
~ Decision table
= Finite state machine
~ Petri net
13. What is the purpose of a decision table in requirements specification?
~ To represent the flow of data between system components
~ To model the interaction between system users and the system
~ To describe the possible system states and their transitions
= To capture complex business rules and conditions
14. What is a software testing technique?
{
= Regression testing.
~ Planning testing.
~ Document testing.
~ Reporting testing.
}
15. In order to represent a complicated process you would use?
~ A Class Diagram
~ A Use Case diagram
= An Activity Diagram
~ A Venn Diagram
CHương 5:
1. At which stage are conceptual class diagrams used?
~ Construction
~ Transition
~ Inception
= Elaboration
2. Which of the following is a valid Class name?
= Ticket
~ Ticket sales
~ Ticket price
~ John's ticket
3. Operations are used in a...
~ Package diagram
= Class diagram
~ Activity diagram
~ Use Case diagram
4. Class diagrams are used to model...
= Domains
~ Sequences of activity
~ Functional requirements
~ Algorithms
5. Software design is…..?
= Both A and B.
~ Model.
~ Process.
~ None of the above.
6. Which design principle emphasizes that software components should have a
single, well-defined responsibility?
~ Encapsulation
~ Abstraction
~ Modularity
= Cohesion
7. Which design pattern is used to provide a simple interface for creating objects of
multiple related classes?
= Factory method pattern
~ Singleton pattern
~ Observer pattern
~ Prototype pattern
8. Entity relationship diagram
~ Provides an image of the relationship between data objects
~ Provide an image of functions that transform data streams
~ Point out key logical decisions as they occur
= Shows the system's interaction with external events
9. State transition diagram
~ Provides images of data objects
= Give an image of the data flow transformation function
~ Shows how the data image is transformed by the system
~ Shows the system's interactions with external events
Chương 6:
1. Which of the following is the understanding of software product limitations,
learning system related problems or changes to be done in existing systems
beforehand, identifying and addressing the impact of project on organization and
personnel etc?
~ Software Design
~ Feasibility Study
~ Requirement Gathering
= System Analysis
2. In system design, there are several types of architectural models commonly used
=4
~2
~3
~1
Chương 7:
1. _________ is a software development life cycle model that is chosen if the
development team has less experience on similar projects.
~ Iterative Enhancement Model
~ RAD
= Spiral
~ Waterfall
2. Object-Oriented Programming (OOP) focuses on which concepts?
= Class and object.
~ Variables and functions.
~ Arithmetic and mathematics.
~ Conditional statements and loops.
3. What is the main goal of unit testing in software development?
~ To validate the overall system functionality
~ To ensure the compatibility of the system with different platforms
= To detect and fix defects in individual software components
~ To evaluate the performance and scalability of the system
4. Which testing technique is focused on exploring the system's behavior by
executing specific test cases?
~ White-box testing
= Black-box testing
~ Integration testing
~ Performance testing
5. The main roles of software testing are:
{
~ Software development.
~ Ensure the security of the software.
= Ensure the correctness and quality of the software.
~ Promote and market software products.
}
6. What type of software testing focuses on testing the functions and features of the
software?
{
~ Unit testing.
~ Integration testing.
= System testing.
~ Alpha testing.
}
{
= Acceptance testing.
~ Unit testing.
~ Integration testing.
~ System testing.
}
Chương 8:
1. In the programming step, how will a good programmer write a program?
= respectable, easy to understand, easy to maintain and develop
~ easy to maintain and develop
~ respectable, easy to understand
~ All
2. What are the features of Software Code?
~ Simplicity
~ Accessibility
= Modularity
~ All of the above
3. What is the primary purpose of risk management in a software development project?
= To identify and address potential risks that may impact the project.
~ To increase the complexity of the project.
~ To ignore potential issues and focus solely on development.
~ To allocate more resources to speed up the development process.
4. How popular are object-oriented programming languages?
~ Calculate expressions based on parameter values.
~ Process logical expressions to find the correct value.
= Use objects, classes, encapsulation, inheritance and polymorphism.
~ Creating quality software through modularization.
5…modifies source code and/or data in an effort to make it amenable to future changes.
~ Forward engineering
= Software restructuring
~Software maintenance
~Reverse engineerings.
Chương 9:
1.In boundary value testing, what is the main goal?
{
= Checks the ends of the input value range.
~Focus on the middle value of the input value range.
~Perform unit testing on all components of the system.
~Ensure that all variables take acceptable values."
}
2.In equivalence class testing, what is the meaning of dividing input classes into
equivalence groups?
{
= Reduces testing complexity.
~Increases the ability to detect errors in source code.
~Define unique input class for each test case.
~Ensure that every input value is checked.
}
3.What testing techniques are included in the dynamic testing?
{
~ Unit testing, Black-box testing
= Black-box testing, White-box testing
~ System testing, Integration testing
~ Regression testing, Unit testing, Integration testing, System testing
}
4. Which criterion evaluates the ease of combining modules to create new systems?
~ Modular decomposability
= Modular composability
~ Modular understandability
~ Modular continuity
5. What is the difference between validation and validation/verification in software
engineering?
~ Validation indicates that the product meets user requirements, while
validation/verification indicates that the product meets the required specification.
= Validation indicates that the product meets the required specification, while
validation/verification indicates that the product meets user requirements.
~ Validation and validation/verification are two terms that mean the same thing in
software engineering.
~ Validation and validation/verification both indicate that the product meets user
requirements.
6. Which testing technique focuses on examining the internal structure of the source
code?
~ Black-box testing
=White-box testing
~ Functional testing
~ Structural testing
7. Which testing activity determines whether components have been integrated correctly
and function properly in a real-world environment?
~ Unit testing
~ Integration testing
= System/validation testing
~ Regression testing
8. Which of the following statements is correct?
~ Testing is about identifying defects and their nature, and fixing them.
~ Debugging and testing are the same thing.
= Testing is about identifying defects.
~ Debugging is about identifying the nature of defects, while testing is about fixing them.
9. Black box testing is:
= Detecting errors in requirements and functionality specifications. It is easy to perform
and has low cost.
~ Detecting programming errors.
~ Both A and B are correct.
~ Detecting errors in requirements and functionality specifications. It is difficult to
perform and has high cost.
11.Which testing technique relies on examining code structure and is often associated
with activities such as statement coverage and path coverage?
~ Static testing
~ Dynamic testing
~ White-box testing
= Structural testing
12. What term refers to the information or values provided to the software during
execution, either manually by a person or automatically by a program?
= Test data
~ Test scenario
~ Test oracle
~ Manual testing
13. What is the primary goal of software testing in the development process?
~ Writing code
= Identifying and fixing bugs
~ Designing user interfaces
~ Documenting user needs
14. What is a "fault" in the context of software development?
~ The result of an error
~ The appearance of a bug in the software
= A misconception or misunderstanding during the software development process
~ The outcome of a failure
15. Which term represents a situation where the software does not perform as expected or
desired?
~ Fault
~ Error
= Failure
~ Bug
16. In the testing process, what does the concept of "test oracle" refer to ?
~ An automated tool used to perform testing.
~ A software to record test results.
~ Process for identifying errors and evaluating test results.
= A manual way to compare test results and expected results.
17. _________ is a software development life cycle model that is chosen if the
development team has less experience on similar projects.
~ Iterative Enhancement Model
~ RAD
= Spiral
~ Waterfall
Chương 10:
1. In the "estimation" activity of project management, what factors are considered when
estimating costs?
= Time, resources, and complexity of the job
~ Human resources, resources, and software development methods
~ Costs, resources, and changes in project requirements
~ Quality requirements, resources, and control processes
2. Black-box testing tries to find errors
~ Incomplete or incorrect functionality
~ Interface errors
~ Execution errors
= All items above