Technical · CSE / IT
Software Engineering MCQs for placement tests
20 technical questions of moderate difficulty, as asked in campus placement and company tests. Each has a short explanation.
Q1CSE/IT · Software EngineeringModerate
In which SDLC model must each phase be completed before the next begins?
Solution
The waterfall model is sequential and linear.
Answer: (B) Waterfall model
Q2CSE/IT · Software EngineeringModerate
Which SDLC model focuses on risk analysis in every cycle?
Solution
The spiral model combines iterative development with explicit risk analysis.
Answer: (C) Spiral model
Q3CSE/IT · Software EngineeringModerate
In Agile Scrum, a fixed time-box for delivering work is called a:
Solution
Sprints usually last one to four weeks.
Answer: (D) Sprint
Q4CSE/IT · Software EngineeringModerate
Testing individual functions or modules in isolation is called:
Solution
Unit tests check the smallest testable parts of the code.
Answer: (B) Unit testing
Q5CSE/IT · Software EngineeringModerate
Testing that checks whether modules work together correctly is:
Solution
Integration testing finds errors in the interfaces between modules.
Answer: (A) Integration testing
Q6CSE/IT · Software EngineeringModerate
Re-running old tests after a change to make sure nothing broke is called:
Solution
Regression testing catches bugs introduced by new changes.
Answer: (D) Regression testing
Q7CSE/IT · Software EngineeringModerate
Black-box testing is based on:
Solution
White-box testing looks inside the code; black-box testing does not.
Answer: (C) The requirements, without looking at the code
Q8CSE/IT · Software EngineeringModerate
Which testing is done by actual users before the product is accepted?
Solution
UAT confirms that the system meets user needs.
Answer: (B) User acceptance testing
Q9CSE/IT · Software EngineeringModerate
Which of these is a version control system?
Solution
Git tracks changes to code; Jenkins is CI, Docker is containers, JIRA is issue tracking.
Answer: (B) Git
Q10CSE/IT · Software EngineeringModerate
In software design, 'high cohesion' means:
Solution
Good design aims for high cohesion and low coupling.
Answer: (A) Elements within a module are closely related
Q11CSE/IT · Software EngineeringModerate
In software design, 'low coupling' means:
Solution
Low coupling makes modules easier to change independently.
Answer: (B) Modules have few dependencies on each other
Q12CSE/IT · Software EngineeringModerate
A document that lists what the software must do is the:
Solution
The SRS describes functional and non-functional requirements.
Answer: (C) Software Requirements Specification (SRS)
Q13CSE/IT · Software EngineeringModerate
Which UML diagram shows the classes in a system and their relationships?
Solution
Class diagrams show classes, attributes, methods and relationships.
Answer: (B) Class diagram
Q14CSE/IT · Software EngineeringModerate
Which UML diagram shows how actors interact with the system's functions?
Solution
Use case diagrams show actors and the use cases they perform.
Answer: (B) Use case diagram
Q15CSE/IT · Software EngineeringModerate
Which practice automatically builds and tests code each time changes are merged?
Solution
CI catches integration problems early.
Answer: (A) Continuous integration
Q16CSE/IT · Software EngineeringModerate
Cyclomatic complexity measures:
Solution
It is calculated from the control-flow graph: E − N + 2P.
Answer: (B) The number of independent paths through a program
Q17CSE/IT · Software EngineeringModerate
A function has 3 'if' statements and no loops. What is its cyclomatic complexity?
Solution
Cyclomatic complexity = number of decision points + 1 = 3 + 1 = 4.
Answer: (A) 4
Q18CSE/IT · Software EngineeringModerate
Fixing bugs found after the software is released is part of:
Solution
Corrective maintenance fixes faults found in use.
Answer: (B) Maintenance
Q19CSE/IT · Software EngineeringModerate
Which model develops a working sample early to clarify unclear requirements?
Solution
A prototype helps users and developers agree on requirements.
Answer: (A) Prototype model
Q20CSE/IT · Software EngineeringModerate
In the V-model, each development phase is paired with:
Solution
For example, requirements are paired with acceptance testing and design with integration testing.
Answer: (A) A corresponding testing phase