Principles of Software Engineering MCQs (Part-8)

What is the primary purpose of Continuous Integration (CI)?

A Automate testing
B Merge code
C Code deployment
D Write code

Which of the following is a key practice in Continuous Deployment (CD)?

A Database migration
B Automated deployments
C Code refactoring
D User testing

In software development, what does “risk management” aim to address?

A User interface
B Code efficiency
C System performance
D Potential issues and threats

Which of the following is NOT a key component of CI/CD pipelines?

A Deployment automation
B Manual bug fixing
C Automated testing
D Code compilation

What is the purpose of automated testing in CI/CD pipelines?

A Ensure code quality
B Deploy code instantly
C Write code faster
D Refactor code

What type of testing is typically used in the CI/CD process to catch integration issues?

A Usability testing
B Performance testing
C Integration testing
D Unit testing

What is one of the main benefits of using Continuous Integration (CI)?

A Manual code integration
B Faster feedback on changes
C Fewer development tools
D Increased code complexity

What does the “deployment” stage in a CI/CD pipeline primarily focus on?

A Release to production
B Design specifications
C Code review
D Writing tests

Which of the following is a risk that software projects commonly face?

A Code optimization
B High performance
C Scope creep
D Data backup

In CI/CD, what happens if a test fails during the integration process?

A The process is stopped
B The bug is ignored
C The code is deployed
D The developer is notified

What is the main advantage of risk management in software development?

A Improved design
B Faster deployment
C Minimized project disruptions
D Increased revenue

Which of the following best describes the “continuous” aspect of Continuous Integration (CI)?

A Continuous development
B Continuous testing and integration
C Continuous code refactoring
D Continuous monitoring

How does automation in CI/CD pipelines benefit software development?

A Reduces human error
B Complicates deployment
C Decreases speed
D Increases project cost

What is the primary goal of automated deployment in a CI/CD pipeline?

A Optimize code
B Write code faster
C Monitor system performance
D Deploy code efficiently and reliably

In CI/CD, what does the term “build” refer to?

A Writing test cases
B Creating new features
C Compiling source code
D Merging code changes