Principles of Software Engineering MCQs (Part-6)

What is the purpose of software testing?

A Identify defects
B Write documentation
C Improve design
D Fix bugs

What is the main benefit of using version control systems like Git?

A User interface
B Speed
C Collaboration
D Performance

What is the primary objective of debugging in software development?

A Add new features
B Fix runtime errors
C Write tests
D Speed up execution

Which tool is commonly used for version control?

A Docker
B Jenkins
C Eclipse
D Git

What does CI/CD stand for in DevOps practices?

A Continuous Integration/Continuous Deployment
B Code Inspection/Code Deployment
C Code Integration/Code Delivery
D None of the above

What is the main purpose of using DevOps in software development?

A Write better tests
B Faster deployment
C Improve design
D Code optimization

Which of the following is a benefit of using version control systems like Git?

A Reduced code duplication
B Faster debugging
C Improved code organization
D Easier code testing

What is the first step in the debugging process?

A Revert changes
B Check code quality
C Write test cases
D Identify errors

What does the term “commit” mean in Git?

A Save code changes
B Deploy code
C Merge branches
D Write code

What is one advantage of using Git for version control?

A Cloud deployment
B Faster coding
C Code branching
D Automated testing

In the context of software testing, what is a “unit test”?

A Test of system performance
B Test of database connections
C Test of user interfaces
D Test of individual components

What does “continuous integration” primarily focus on?

A Automating deployment
B Writing code
C Merging code frequently
D Testing code

Which of the following tools is commonly used for continuous integration?

A Jenkins
B GitHub
C Docker
D Kubernetes

What is the main goal of automated testing?

A Deploy faster
B Detect defects early
C Speed up coding
D Write more code

Which Git command is used to retrieve the latest changes from a remote repository?

A git commit
B git push
C git fetch
D git clone