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

  1. Software Developer Vs Software Engineer

Software Engineer MCQs

1. 

UML diagram cannot be used to capture which of the following views?

Layer view

User view

Structural view

None

2. 

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

3. 

In which of the following categories can white-box testing be classified?

Design based testing

Structural testing

Error guessing technique

None of the above

4. 

Infrastructure software is covered under which of the following categories?

Customized products

Generic products

Generic and customized products

None

5. 

On which of the following is Agile Software Development based?

Linear development

Incremental development

Iterative development

Both incremental and iterative development

6. 

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

7. 

Requirement Analysis does not deal with which of the following diagrams?

Entity Relationship Diagram

Use cases

Activity diagram

State transition diagram

8. 

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

9. 

Select the correct option which refers to internal software equality?

Reusability

Scalability

Usability

Reliability

10. 

The construction of a simpler version of a problem by ignoring details is known as

Encapsulation

Abstraction

Decomposition

Composition

11. 

The SRS document is also known as _____________ specification.

Black box

White box

Grey box

None

12. 

Total different notations for Unified Modelling Language?

3

4

6

9

13. 

Total phases of RAD software model is-

6

5

3

2

14. 

Identify the worst type of coupling.

Data coupling

Control coupling

Stam coupling

Content coupling

15. 

What does the RAD software process stand for?

Rapid Application Development

Recent Application Development

Relative Application Development

Rapid Application Design

16. 

When can white-box testing be started?

After SRS creation

After installation

After programming

After designing

17. 

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

18. 

Which feature of OOPs helps in code reusability?

Class

Inheritance

Abstraction

Object

19. 

Which is the following is the most important feature of the spiral model?

Efficiency management

Time management

Risk management

Quality management

20. 

Which of the following are type of code review?

Code walkthrough

Code inspection

Both A and B

None

21. 

Which of the following is a fourth-generation language?

COBOL

UNIX Shell

C++

Fotran

22. 

Which of the following is not included in the efficiency of a software product.

Processing time

licensing

Responsiveness

Memory utilization

23. 

Which of the following is the first step of SDLC?

Coding

Design

Preliminary Investigation and Analysis

Testing

24. 

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

25. 

Which of the following terms is used often for the principle of abstraction?

Modelling

Data binding

Propelling

Manipulating

26. 

Identify the correct option among the following which is not included in SRS?

Functionality

Performance

External interfaces

Design solutions

27. 

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

28. 

Choose the correct option among the following. The software consists of?

Program+documentation operating procedures

Program+hardware manuals

Instruction+hardware manuals

Set of programs

29. 

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

30. 

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

31. 

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

32. 

COCOMO model stand for?

Complete Cost Estimation Model

Constructive Cost Estimation Model

Common Cost Estimation Model

Comprehensive Cost Estimation Model

33. 

Decomposition is also popularly known as

Group and merge principle

Binary search principle

Quick sort principle

Divide and conquer principle

34. 

FAST stands for?

Facilitated Application Specification Technique

Functional Application Specification Techniques

Fast Application Specification Technique

None

35. 

For which of the following reasons is the waterfall model not suitable.

Small projects

Complex projects

Maintenance Projects

Accommodating changes

36. 

Identify among the following which is not recommended for software processes in software engineering?

Software verification

Software testing and validation

Software designing

Software evolution

37. 

Identify the correct functional requirement.

Robustness

Portability

Maintainability

None

38. 

Identify the correct measure for correctness.

Errors per KLOC

$ per KLOC

Defects per KLOC

None

39. 

By whom is unit testing done?

Users

Customers

Developers

None

40. 

Identify the correct software metrics?

Complexity Metrics

Process Metrics

Quality Metrics

All of the above

41. 

Identify the fault-based testing technique.

Beta testing

Unit testing

Mutation testing

Stress testing

42. 

Identify the incorrect phase of the prototype model.

Prototype refinement

Engineer product

Coding

Quick design

43. 

Identify the incorrect software layers.

Process

Manufacturing

Tools

Method

44. 

Identify the incorrect testing technique.

Integration testing

Collaboration testing

System testing

Unit testing

45. 

Identify the incorrect type of prototype of the Prototyping Model among the following.

Horizontal prototype

Diagonal prototype

Vertical prototype

None

46. 

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

47. 

Identify the model which is also known as Verification and Validation Model?

Waterfall model

V-model

Prototype model

Evolutionary model

48. 

Identify the simplest model of SDLC?

Agile

RAD

Waterfall

Spiral

49. 

Identify the term which is not related to testing?

failure

error

Test case

Test bot

50. 

Identify the two dimensions of the spiral model.

Radial, angular

Diagonal, angular

Diagonal, perpendicular

None

Get Placed at Top Product Companies with Scaler Hide