Software Engineering MCQ With Answers
Software Engineering is a systematic, disciplined, cost-effective technique for software development. In simple terms, it is an engineering approach to developing software.
Software Development Life Cycle
The Software Development Life Cycle is a process used in the software industry to produce and design high-quality software. The SDLC follows certain stages of designing, developing, testing software before launching it.
A typical SDLC life cycle is as follows:
There are various types of SDLC modes. Some of the popular SDLC models are as follows:
Software Prototyping
- The process in which developers create a model of the actual software.
- The intention behind creating this model is to get the actual requirements more deeply from the user.
- Prototyping helps a lot in getting feedback from the customer.
Process of software prototyping
- Initial requirements identification
- Prototype Development
- Review
- Revise
Types of prototyping
- Rapid Prototyping/Throwaway: In this type, we build a prototype with very little effort to get the requirement from the user after getting the requirements, we throw away this prototype and start building the actual software.
- Evolutionary Prototyping: The prototype on the top of which we can build the whole actual system.
Testing in Software Engineering
At different stages of software development, we need to test what we develop. When we develop a unit, we test it when we integrate it with other units. Also, it needs to be tested before giving the software to the customer.
In some testing types, we directly deal with the code, which is known as white box testing. In some other cases, we do not have to look at the code and it is known as black-box testing. A mixture of these two is known as gray box testing.
Unit Testing
- Testing a single unit of the software is known as unit testing.
- In this testing, we will test an isolated unit of the software, which contains lots of the units.
Integration Testing
Here, the testing of a few units of the software is done separately. Now, after testing, those units are integrated. After integrating those units, it is again tested.
Regression Testing
Here, a new module is made and it is added to the software. Whenever a new module is added to the software, it is tested to check whether the software is working fine with the change.
System Testing
- The complete software is ready and working as a system.
- In this testing, the focus is the entire software. The testing is done based on Evolutionary are input and output.
- Software compatibility is tested on different kinds of OS.
- Testing the software comes under the black box testing category.
Stress Testing
- The software is tested under unfavorable conditions.
- In this testing, the software is pushed to its maximum limit to check whether any failure occurs under some unfavorable conditions.
Additional Resources
Software Engineer MCQs
UML diagram cannot be used to capture which of the following views?
Layer view
User view
Structural view
None
If the objects focus on the problem domain, then we are concerned with
Object-oriented analysis
Object-oriented design
Object-oriented analysis and design
None
In which of the following categories can white-box testing be classified?
Design based testing
Structural testing
Error guessing technique
None of the above
Infrastructure software is covered under which of the following categories?
Customized products
Generic products
Generic and customized products
None
On which of the following is Agile Software Development based?
Linear development
Incremental development
Iterative development
Both incremental and iterative development
On which of the following is model selection based upon?
Development teams and users
Requirements
Project types and the associated risks
All of the above mentioned
Requirement Analysis does not deal with which of the following diagrams?
Entity Relationship Diagram
Use cases
Activity diagram
State transition diagram
RUP and PSP stands for?
Rational Unified Process and Personal software process
Rational Unified Process and Project software process
Real-time unified process and Project software process
Real-time unified process and Personal software process
Select the correct option which refers to internal software equality?
Reusability
Scalability
Usability
Reliability
The construction of a simpler version of a problem by ignoring details is known as
Encapsulation
Abstraction
Decomposition
Composition
The SRS document is also known as _____________ specification.
Black box
White box
Grey box
None
Total different notations for Unified Modelling Language?
3
4
6
9
Total phases of RAD software model is-
6
5
3
2
Identify the worst type of coupling.
Data coupling
Control coupling
Stam coupling
Content coupling
What does the RAD software process stand for?
Rapid Application Development
Recent Application Development
Relative Application Development
Rapid Application Design
When can white-box testing be started?
After SRS creation
After installation
After programming
After designing
When is the ‘risk analysis’ In the spiral model performed?
In the first loop
Before using the spiral model
Every loop
The first and second loop
Which feature of OOPs helps in code reusability?
Class
Inheritance
Abstraction
Object
Which is the following is the most important feature of the spiral model?
Efficiency management
Time management
Risk management
Quality management
Which of the following are type of code review?
Code walkthrough
Code inspection
Both A and B
None
Which of the following is a fourth-generation language?
COBOL
UNIX Shell
C++
Fotran
Which of the following is not included in the efficiency of a software product.
Processing time
licensing
Responsiveness
Memory utilization
Which of the following is the first step of SDLC?
Coding
Design
Preliminary Investigation and Analysis
Testing
Which of the following models will not result in the desired output, when the user participation isn’t involved?
RAD and prototyping
Waterfall and prototyping
Prototyping and spiral
Spiral and RAD
Which of the following terms is used often for the principle of abstraction?
Modelling
Data binding
Propelling
Manipulating
Identify the correct option among the following which is not included in SRS?
Functionality
Performance
External interfaces
Design solutions
Choose the correct option among the following which is involved in the system planning and designing phase of the Software Development Life Cycle (SDLC)?
Parallel run
Sizing
Specification freeze
All of the above
Choose the correct option among the following. The software consists of?
Program+documentation operating procedures
Program+hardware manuals
Instruction+hardware manuals
Set of programs
Choose the correct option which does not relate to the Evolutionary Process Model?
Concurrent Development Model
WINWIN Spiral Model
Incremental Model
All of the above
Choose the correct option which states the correct definition of Software. It is considered to be a collection of
Programming code
documentations
associated libraries
All of the above
Choose the option which is not applicable to agile software development?
Producing only the essential work products
Recent Application Development
Abolishing the project planning and testing
None
COCOMO model stand for?
Complete Cost Estimation Model
Constructive Cost Estimation Model
Common Cost Estimation Model
Comprehensive Cost Estimation Model
Decomposition is also popularly known as
Group and merge principle
Binary search principle
Quick sort principle
Divide and conquer principle
FAST stands for?
Facilitated Application Specification Technique
Functional Application Specification Techniques
Fast Application Specification Technique
None
For which of the following reasons is the waterfall model not suitable.
Small projects
Complex projects
Maintenance Projects
Accommodating changes
Identify among the following which is not recommended for software processes in software engineering?
Software verification
Software testing and validation
Software designing
Software evolution
Identify the correct functional requirement.
Robustness
Portability
Maintainability
None
Identify the correct measure for correctness.
Errors per KLOC
$ per KLOC
Defects per KLOC
None
By whom is unit testing done?
Users
Customers
Developers
None
Identify the correct software metrics?
Complexity Metrics
Process Metrics
Quality Metrics
All of the above
Identify the fault-based testing technique.
Beta testing
Unit testing
Mutation testing
Stress testing
Identify the incorrect phase of the prototype model.
Prototype refinement
Engineer product
Coding
Quick design
Identify the incorrect software layers.
Process
Manufacturing
Tools
Method
Identify the incorrect testing technique.
Integration testing
Collaboration testing
System testing
Unit testing
Identify the incorrect type of prototype of the Prototyping Model among the following.
Horizontal prototype
Diagonal prototype
Vertical prototype
None
Identify the major drawback of the Spiral Model?
Does not work efficiently with small projects
High amount of risk analysis
Strong approval and documentation control
Additional functionalities are added later on
Identify the model which is also known as Verification and Validation Model?
Waterfall model
V-model
Prototype model
Evolutionary model
Identify the simplest model of SDLC?
Agile
RAD
Waterfall
Spiral
Identify the term which is not related to testing?
failure
error
Test case
Test bot
Identify the two dimensions of the spiral model.
Radial, angular
Diagonal, angular
Diagonal, perpendicular
None