- Học kỳ
- SP2026
- Thời Gian
- 4/5/26
- Loại tài liệu
- FE
SWE202c SP26 FE RE
Câu 1: Choose 1 answer Multiple Choice
In the context of a movie shop application, which of the following describes the correct sequence to apply basis path testing techniques effectively?
Câu 2: Choose 1 answer Multiple Choice
- A. Draw flow graph, determine cyclomatic complexity, and execute test paths.
- B. Identify independent paths, draw flow graph, and then execute test paths.
- C. Execute test paths, identify errors, and then draw flow graph.
- D. Determine cyclomatic complexity, execute test paths, and identify errors.
What is the primary goal of white box testing?
Câu 3: Choose 3 answers Multiple Choice
- A. To validate the internal logic and structure of the code.
- B. To evaluate the user experience of the software.
- C. To ensure the software meets business requirements.
- D. To test the software's performance under load.
Identify key factors to consider when applying analysis and design methodologies to a real-world movie shop scenario.
Câu 4: Choose 1 answer Multiple Choice
- A. Customer demographics
- B. Inventory turnover rates
- C. Staff lunch breaks
- D. Seasonal demand fluctuations
- E. Weekly cleaning schedules
How can state machine diagrams be used to improve the analysis and design process in a movie shop scenario?
Câu 5: Choose 1 answer Multiple Choice
- A. By simplifying the coding process
- B. By reducing the need for inventory checks
- C. By providing a clear visualization of system states and transitions
- D. By enhancing customer service protocols
How can ChatGPT assist in Java programming?
Câu 6: Choose 1 answer Multiple Choice
- A. By explaining programming concepts and debugging code
- B. By compiling and running Java applications
- C. By automatically generating complete Java applications
- D. By providing real-time collaboration between developers
How does Generative Al differ from traditional Al?
Câu 7: Choose 3 answers Multiple Choice
- A. Generative Al creates new content while traditional Al focuses on pattern recognition
- B. Generative Al operates without data input
- C. Traditional Al requires more computational power than Generative Al
- D. Traditional Al can self-improve without human intervention
Which UML diagrams would you use to represent the dynamic behavior of a software system?
Câu 8: Choose 1 answer Multiple Choice
- A. Sequence diagrams
- B. Activity diagrams
- C. Deployment diagrams
- D. Component diagrams
- E. State machine diagrams
How do multiplicities in UML diagrams affect the understanding of relationships between classes?
Câu 9: Choose 1 answer Multiple Choice
- A. They define how many instances of one class can relate to one instance of another class
- B. They specify the data types for class attributes
- C. They control the execution flow in sequence diagrams
- D. They determine the inheritance hierarchy in class diagrams
In the context of the Unified Process framework, what is a key characteristic?
Câu 10: Choose 3 answers Multiple Choice
- A. Iterative development
- B. Strict sequential phases
- C. Detailed initial planning
- D. Minimal stakeholder interaction
Identify the principles and practices that are core to Agile methodologies.
Câu 11: Choose 1 answer Multiple Choice
- A. Customer collaboration over contract negotiation
- B. Responding to change over following a plan
- C. Working software over comprehensive documentation
- D. Heavy upfront planning
- E. Strict adherence to requirements
What is a primary reason for utilizing metrics in measuring and controlling software quality?
Câu 12: Choose 1 answer Multiple Choice
- A. To provide quantitative data on software performance.
- B. To replace the need for software testing entirely.
- C. To ensure compliance with all industry standards automatically.
- D. To enhance user interface design aesthetics.
What is the significance of establishing standards in software quality assurance?
Câu 13: Choose 1 answer Multiple Choice
- A. Standards ensure consistency and reliability in software quality.
- B. Standards eliminate the need for software debugging.
- C. Standards guarantee the success of any software project.
- D. Standards focus on maximizing software performance speed.
Which of the following best defines design goals for software quality?
Câu 14: Choose 3 answers Multiple Choice
- A. Objectives aimed at enhancing software's reliability and performance
- B. Standards established for software testing procedures
- C. Metrics used to quantify software quality attributes
- D. Processes to ensure team collaboration and efficiency
In constructing a use-case model, which elements are important to capture functional requirements efficiently?
Câu 15: Choose 1 answer Multiple Choice
- A. Actors and their interactions
- B. Scenarios of system usage
- C. Detailed code algorithms.
- D. System boundaries
- E. Hardware specifications
Which of the following best describes a scenario where a system responds to input and changes state in software systems?
Câu 16: Choose 1 answer Multiple Choice
- A. Actor Interaction
- B. Functional Requirement
- C. Use Case Scenario
- D. Domain Model
What is the significance of regulatory compliance in Al systems?
Câu 17: Choose 1 answer Multiple Choice
- A. Ensures that Al applications adhere to legal standards and ethical guidelines, minimizing risk.
- B. Allows Al systems to operate without human supervision, enhancing operational efficiency.
- C. Primarily focuses on the technical accuracy and performance of Al systems.
- D. Eliminates the need for audits and assessments of Al systems.
Which of the following statements best explains how data analytics improves decision-making in businesses?
Câu 18: Choose 2 answers Multiple Choice
- A. Data analytics provides actionable insights based on patterns and trends in data, leading to informed decision-making.
- B. Data analytics eliminates the need for human intuition in business decisions.
- C. Data analytics solely focuses on historical data, making it irrelevant for future decision-making.
- D. Data analytics automates all business decision-making processes.
What are core activities involved in the software implementation phase?
Câu 19: Choose 1 answer Multiple Choice
- A. Coding and integration
- B. Testing and debugging
- C. Branding and marketing
- D. Deployment and maintenance
- E. Design and prototyping
What is an essential focus area when conducting effective code reviews?
Câu 20: Choose 1 answer Multiple Choice
- A. Code readability and maintainability
- B. Maximizing code execution speed above all else
- C. Ensuring the code strictly follows one coding style
- D. Focusing only on syntax errors
In the process of black box testing, what is the primary focus when evaluating system outputs?
Câu 21: Choose 1 answer Multiple Choice
- A. Verifying outputs against expected results
- B. Ensuring all code is covered
- C. Improving software performance
- D. Designing complex algorithms
Which testing method is most suitable for validating business requirements?
Câu 22: Choose 1 answer Multiple Choice
- A. Black box testing
- B. White box testing
- C. Unit testing
- D. Integration testing
What role do extension points play in structuring a use case?
Câu 23: Choose 3 answers Multiple Choice
- A. They define the start and end conditions of a use case
- B. They dictate the sequence of steps in the main flow
- C. They specify the error handling routines
- D. They allow flexibility by providing optional paths within a use case
Identify the key components needed to develop a comprehensive use case specification for a video shop.
Câu 24: Choose 1 answer Multiple Choice
- A. Actors
- B. Preconditions
- C. Main success scenario
- D. Code implementation details
- E. Database schema
In the context of software engineering, how does the Observer Pattern ensure decoupling between Subject and Observer?
Câu 25: Choose 1 answer Multiple Choice
- A. By using an interface for observers to register with subjects
- B. By inheriting properties from both subject and observer
- C. By embedding observer logic directly into subjects
- D. By allowing direct access between subjects and observers
When implementing the Strategy Pattern, what is the primary benefit of encapsulating varying behaviors?
Câu 26: Choose 1 answer Multiple Choice
- A. Enhances flexibility by allowing behaviors to change independently of clients
- B. Reduces code complexity by merging strategy logic with client logic
- C. Ensures security by locking strategies to specific client methods
- D. Increases performance by parallel processing strategies
What is the difference between change management and version control in software development?
Câu 27: Choose 1 answer Multiple Choice
- A. Change management focuses on process; version control focuses on code history
- B. Change management involves code merging, version control involves stakeholder communication
- C. Change management automates testing; version control automates deployment
- D. Change management is for developers; version control is for users
What is one key role of change management in software development?
Câu 28: Choose 3 answers Multiple Choice
- A. Facilitating smooth transitions during software updates
- B. Increasing the frequency of software bugs
- C. Reducing the need for version control systems
- D. Eliminating the need for user testing
Which of the following are effective techniques for analyzing key implementation strategies in software development?
Câu 29: Choose 3 answers Multiple Choice
- A. Code review sessions
- B. Pair programming
- C. Using outdated documentation
- D. Ignoring team feedback
- E. Utilizing design patterns
In the context of UML diagrams for banking software, which scenarios require the application of generalization and inheritance?
Câu 30: Choose 1 answer Multiple Choice
- A. Different types of accounts with shared features
- B. Transaction processing between accounts
- C. Various customer statuses with common privileges
- D. Login authentication process
- E. Loan types sharing interest calculation methods
What is the purpose of applying constraints in UML class diagrams?
Câu 31: Choose 1 answer Multiple Choice
- A. To make the diagram visually appealing
- B. To specify conditions and rules for classes and relationships
- C. To define user interface layouts
- D. To determine the sequence of user interactions
What is a primary responsibility of the project manager in a software development team?
Câu 32: Choose 3 answers Multiple Choice
- A. Coordinating tasks and activities among team members
- B. Developing the software code
- C. Testing the software for bugs
- D. Designing the user interface
Identify the roles and responsibilities that contribute to successful project planning in software development.
Câu 33: Choose 1 answer Multiple Choice
- A. Project Manager ensures alignment with project goals
- B. Business Analyst gathers and defines requirements
- C. Quality Assurance ensures deliverables meet standards
- D. Database Administrator designs user interfaces
- E. Sales Representative tracks project progress
- F. Network Engineer selects programming languages
What is the primary purpose of defining the key components of a software project plan?
Câu 34: Choose 3 answers Multiple Choice
- A. To provide a structured framework for scheduling and resource allocation.
- B. To eliminate all risks associated with the project.
- C. To ensure that the project is completed under budget.
- D. To automate all project tasks and processes.
Identify the fundamental components of a software project plan that aid in successful project execution.
Câu 35: Choose 1 answer Multiple Choice
- A. Timeline and milestones
- B. Cost estimation
- C. Team building activities
- D. Risk management strategy
- E. Company mission statement
What is a primary function of the key classes in a rule-based chatbot application?
Câu 36: Choose 1 answer Multiple Choice
- A. To process user inputs and generate appropriate responses based on predefined rules.
- B. To randomly generate responses without considering user input.
- C. To mimic human conversation style without any underlying algorithm.
- D. To store all user data permanently for future reference.
Which of these Java best practices helps in writing clean, maintainable code?
Câu 37: Choose 3 answers Multiple Choice
- A. Using meaningful variable names
- B. Avoiding the use of comments
- C. Maximizing the use of global variables
- D. Writing all code in a single method
Which of the following practices can be considered part of implementing and documenting a requirements analysis in software development?
Câu 38: Choose 1 answer Multiple Choice
- A. Conducting stakeholder interviews
- B. Creating use case diagrams
- C. Designing database schemas
- D. Writing detailed user stories
- E. Implementing unit tests
Which design pattern controls access to another object by acting as a placeholder?
Câu 39: Choose 1 answer Multiple Choice
- A. Proxy Pattern
- B. Singleton Pattern
- C. Factory Pattern
- D. Mediator Pattern
What is the main purpose of the Proxy Design Pattern in software design?
Câu 40: Choose 1 answer Multiple Choice
- A. To control access to another object, adding a layer of security or functionality.
- B. To facilitate communication between multiple classes in a system.
- C. To dynamically change the behavior of an object at runtime.
- D. To define a complex set of operations on a group of objects.
How can one differentiate between ternary and binary associations in class diagrams?
Câu 41: Choose 1 answer Multiple Choice
- A. By the number of classes involved in the association.
- B. By the types of methods each class has.
- C. By the size of the class diagram.
- D. By the number of attributes each class possesses.
Why is it important to differentiate between ternary and binary associations in class diagrams?
Câu 42: Choose 1 answer Multiple Choice
- A. To accurately represent complex relationships
- B. To simplify the class diagram
- C. To enhance the aesthetic appeal of the diagram
- D. To minimize the number of classes needed
Why is abstraction significant in use case analysis?
Câu 43: Choose 1 answer Multiple Choice
- A. Abstraction helps simplify complex systems by focusing on higher-level operations.
- B. Abstraction eliminates all complexity by removing lower-level operations.
- C. Abstraction introduces complexity by adding more detailed operations.
- D. Abstraction is used to ensure systems are isolated from external factors.
How does cohesion in class design impact software development?
Câu 44: Choose 3 answers Multiple Choice
- A. High cohesion leads to classes that are easier to maintain and understand.
- B. Low cohesion results in better modularity and flexibility.
- C. High cohesion means a class has many responsibilities, improving performance.
- D. Cohesion is unrelated to the ease of debugging a class.
Identify the key principles of modularity in software development?
Câu 45: Choose 1 answer Multiple Choice
- A. Encapsulation
- B. Global variables for all modules
- C. Decoupling
- D. Centralized error handling
- E. Reusable components
Why is understanding the significance of software engineering important in managing software development?
Câu 46: Choose 3 answers Multiple Choice
- A. It solely focuses on coding practices.
- B. It eliminates all risks in software projects.
- C. It guarantees the success of any software project.
- D. It provides a framework for organizing, planning, and executing projects efficiently.
Which techniques are essential for effective acceptance testing in a movie shop application?
Câu 47: Choose 1 answer Multiple Choice
- A. User story validation.
- B. Scenario-based testing.
- C. Static code analysis.
- D. Load testing.
- E. Stakeholder feedback sessions.
Which statement best describes unit testing in software development?
Câu 48: Choose 1 answer Multiple Choice
- A. Unit testing focuses on individual components.
- B. Unit testing evaluates business requirements.
- C. Unit testing is performed in a production environment.
- D. Unit testing ensures system performance under load.
In practical exercises for software development, what is an important factor to consider when applying course concepts?
Câu 49: Choose 1 answer Multiple Choice
- A. Alignment with real-world scenarios
- B. Strict adherence to theoretical examples
- C. Focus solely on speed of completion
- D. Avoidance of complex problem-solving
What should you ensure when applying problem-solving skills to real-world scenarios in software projects?
Câu 50: Choose 1 answer Multiple Choice
- A. Understand the context and constraints of the problem
- B. Focus solely on technical solutions
- C. Rely on existing templates without modification
- D. Prioritize speed over accuracy
What is a primary benefit of identifying and correcting common issues in requirement specifications early in the project?
- A. Reduces costly revisions during later development phases
- B. Increases the likelihood of project delays
- C. Ensures the project scope is expanded
- D. Focuses mainly on reducing documentation
Đính kèm
-
SWE202c SP26 FE RE_040.webp53.1 KB · Lượt xem: 7 -
SWE202c SP26 FE RE_001.webp63.8 KB · Lượt xem: 5 -
SWE202c SP26 FE RE_002.webp59.2 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_003.webp43.1 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_004.webp49.6 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_005.webp62.6 KB · Lượt xem: 4 -
SWE202c SP26 FE RE_006.webp59.1 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_007.webp43 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_008.webp58.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_009.webp44.8 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_010.webp66.8 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_011.webp55.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_012.webp66.2 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_013.webp70.2 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_014.webp42.2 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_015.webp37.2 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_016.webp66 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_017.webp67.9 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_018.webp56.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_019.webp58.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_020.webp45.5 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_021.webp39.2 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_022.webp63.1 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_023.webp42.7 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_024.webp55.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_025.webp60.7 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_026.webp66 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_027.webp60.4 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_028.webp45 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_029.webp54.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_030.webp59.5 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_031.webp48.8 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_032.webp65 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_033.webp59.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_034.webp43.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_035.webp64.9 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_036.webp51.4 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_037.webp49.6 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_038.webp37.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_039.webp68.1 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_041.webp49.9 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_042.webp69.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_043.webp64.7 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_044.webp47.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_045.webp51.3 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_046.webp44.8 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_047.webp63.1 KB · Lượt xem: 2 -
SWE202c SP26 FE RE_048.webp44.9 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_049.webp45.7 KB · Lượt xem: 3 -
SWE202c SP26 FE RE_050.webp49 KB · Lượt xem: 8