Software Engineering MCQ

1) What is software engineering?

  1. Process of discovering or finding knowledge from a large amount of data.
  2. Processing antique artifacts.
  3. Process of developing software using the scientific process.
  4. None of the above.

Answer:  c) Process of developing software using scientific process.

Explanation: Software engineering is the process of developing executable software using scientific processes and structures which enables a better structure.

2) What is the use of software engineering?

  1. Huge programming
  2. Adaptability
  3. Cost
  4. Dynamic Nature
  5. Quality management
  1. II
  2. III
  3. I, II, III
  4. All of the above

Answer:  d) All of the above

Explanation: Significant uses of software engineering are:-

  1. Huge programming
  2. Adaptability
  3. Cost
  4. Dynamic Nature
  5. Quality management

3) What are the benefits of software engineering?

  1. To Reduce complexity
  2. To minimize software costing
  3. To decrease time
  4. Handling big projects
  5. Reliable soft wares
  6. effectiveness
  1. II
  2. III
  3. I, II, III
  4. All of the above

Answer:  d) All of the above

Explanation: Significant benefits of software engineering are:

  1. To Reduce complexity
  2. To minimize software costing
  3. To decrease time
  4. Handling big projects
  5. Reliable soft wares
  6. Effectiveness

4) What is a workflow model?

  1. A model that represents all the positives and negatives of a complex system.
  2. A model that represents lower-level activities.
  3. A model that represents the action of people.
  4. A model that represents inputs and outputs along with the function of a model.

Answer:  d) Model that represents inputs and outputs along with the function of a model.

Explanation: A WORKFLOW MODEL is a model that represents inputs and outputs along with the function of the model and the human actions involved in the process.

5) What is a dataflow/activity model?

  1. A model that represents all the positives and negatives of a complex system.
  2. A model that represents lower-level activities.
  3. A model that represents the action of people.
  4. A model that represents inputs and outputs along with the function of a model.

Answer:  b) Model that represents lower-level activities.

Explanation: A-Data Flow / Activity Model represents the functioning as steps, where each step shows some data transformation.

6) What is a role/action model?

  1. A model that represents all the positives and negatives of a complex system.
  2. A model that represents lower-level activities.
  3. A model that represents the action of people.
  4. A model that represents inputs and outputs along with the function of a model.

Answer:  c) A model that represents the action of people.

Explanation: A Role / Action Model represents the role and action of people involved in the software functioning.

7) What does SDLC stand for?

  1. STRUCTURAL DEVELOPMENT LIFE CYCLE
  2. STRUCTURAL DESIGNING LIFE CYCLE
  3. SOFTWARE DESIGNING LIFE CYCLE
  4. SOFTWARE DEVELOPMENT LIFE CYCLE

Answer:  d) SOFTWARE DEVELOPMENT LIFE CYCLE

Explanation: SDLC stands for Software Development Life Cycle Is a representation of software and its entire life cycle with pictures and graphics.

8) Arrange the stages of SDLC in order?

  1. Testing
  2. Developing the project
  3. Designing the software
  4. Defining requirements
  5. Planning and requirement analysis
  6. Deployment
  7. Maintenance
  1. I, II, III, V, VI, IV, VII
  2. II, I, III, V, VI, IV, VII
  3. III, II, II, V, VI, IV, VII
  4. V, IV, III, II, I, VI, VII

Answer:  d) V, IV, III, II, I, VI, VII

Explanation: The stages of the Software development life cycle come in order

Planning and requirement analysis -> Defining requirements -> Designing the software -> Developing the project -> Testing -> Deployment -> maintenance

9) What are Planning and requirement analysis in SDLC?

  1. Process of getting an insight about what type of software the client needs.
  2. Creating a document from the information gathered from the client.
  3. Creating a demo project.
  4. None of the above.

Answer:  a) Process of getting an insight about what type of software the client needs.

Explanation: The Planning and requirement analysis gathers information from the client about what functions he/she needs in the software, or what information the end-user will get, quality analysis, risk identification, and all other analytics required for better working of the software.

10) What are the Defining requirements in SDLC?

  1. Process of getting an insight about what type of software the client needs.
  2. Creating a document from the information gathered from the client.
  3. Creating a demo project.
  4. None of the above.

Answer:  b) Creating a document from the information gathered from the client.

Explanation: Defining requirements stands for representing all the information gathered from the client and market research into a standard documentation model.

11) What is Developing in SDLC?

  1. Process of getting an insight about what type of software the client needs.
  2. Creating a document from the information gathered from the client.
  3. Creating a demo project.
  4. None of the above.

Answer:  c) Creating a demo project.

Explanation: Developing stands for creating the basic structure and programming of the software by keeping all the information gathered from analytics in mind.

12) What is Testing in SDLC?

  1. Process of getting an insight about what type of software the client needs.
  2. Creating a document from the information gathered from the client.
  3. Testing all the aspects of the developed software.
  4. None of the above.

Answer:  c) Testing all the aspects of the developed software.

Explanation: Testing stands for testing all the pros, cons, and the working of software to make sure it delivers the correct output to the user.

13) What are the major SDLC models?

  1. Waterfall model
  2. RAD model
  3. V model
  4. Increment model
  5. Agile model
  1. I, II
  2. II
  3. III
  4. All of the above

Answer:  d) All of the above.

Explanation: Majorly used SDLC models are:-

  1. Waterfall model
  2. RAD model
  3. V model
  4. Increment model
  5. Agile model
  6. Iterative model
  7. Big bang model

14) What is Requirement engineering?

  1. Process of defining, documenting, and requirement maintenance.
  2. Enables an organization to know based on databases.
  3. It enables a user to find hidden patterns.
  4. None of the above.

Answer:  a) Process of defining, documenting, and requirement maintenance.

Explanation: Requirement engineering is the process where defining, documenting, and required maintenance of the designing process take place.

15) State the steps of requirement engineering?

  1. Feasibility Study.
  2. Requirement Elicitation and Analysis.
  3. Software Requirement Specification.
  4. Software Requirement Validation.
  1. IV
  2. I, II
  3. II, III
  4. All of the above

Answer:  d) All of the above.

Explanation: Requirement engineering involves 4 steps-

  1. Feasibility Study – defines the need of developing software.
  2. Requirement Elicitation and Analysis – gathering requirements.
  3. Software Requirement Specification – documentation created by a software analyst.
  4. Software Requirement Validation – re-verification of the created document.

16) What is a Waterfall model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. Model in which software is developed with a series of advanced releases.
  3. Model n which steps resemble a waterfall and, one has to complete each phase to proceed to the next.
  4. Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Answer:  c) Model n which steps resemble a waterfall and one has to complete each phase to proceed to the next.

Explanation: A waterfall model is one in which all the steps resemble a waterfall, and the developer has to complete each step to proceed to move to the next.

17) Which of the following models doesn't require defining requirements at the starting of the life cycle?

  1. RAD
  2. Waterfall
  3. Prototyping
  4. Spiral
  1. I, III
  2. I, II, III
  3. III, IV
  4. All of the above

Answer:  c) III, IV

Explanation:

Prototyping model – first step requirement analysis. Spiral model – first step communicating with a customer.

18) What is the RAD model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. Model in which development takes place in a limited time.
  3. Model n which steps resemble a waterfall and, one has to complete each phase to proceed to next.
  4. Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Answer:  b) Model in which development takes place in a limited time.

Explanation: RAD model – Rapid application development model – works on limited time and in places where requirements are well defined.

19) Which model will be preferred to deploy an advanced version of the existing software in the market?

  1. Spiral
  2. Iterative Enhancement
  3. RAD
  1. I, II, III
  2. II, III
  3. I, III
  4. All of the above

Answer:  b) II, III

Explanation: NONE

20) What is the Spiral Model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. Model in which software is developed with a series of advanced releases.
  3. Model in which project is developed using incremental releases.
  4. Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Answer:  c) Model in which project is developed using incremental releases.

Explanation: Spiral model in which a project is developed using incremental release, and with each new update model becomes more advanced.

21) In which model is there an essential requirement of user involvement?

  1. RAD
  2. Waterfall
  3. Prototyping
  4. Spiral
  1. I, III
  2. I, II, III
  3. III, IV
  4. All of the above

Answer:  c) I, III

Explanation:

Prototyping model – user requirement happens when there is only a prototype.

RAD model – user requirement takes place in all 4 stages.

22) What is the V model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Verification and validation model.
  4. Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Answer:  c) verification and validation model.

Explanation: V- model includes 2 sections of verification in which static analysis is done without the code, and the other is validation in which dynamic analysis is done by executing codes.

23) What is RUP?

  1. Rational Unified Processor
  2. Relational unified processor
  3. Rational unit processor
  4. Rational unified processor

Answer:  a) Rational Unified Processor

Explanation: RUI stands for Rational Unified Processor.

24) What is the Increment model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Model in which an earlier version is launched first, and new specifications/versions are released later.
  4. Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Answer:  d) Model in which requirements are divided into modules, and each module undergoes a separate cycle.

Explanation: An incremental model refers to a model where all the requirements are divided into different modules, and then each module undergoes analysis, design testing, and implementation separately.

25) Steps involved in the Increment model?

  1. Requirement analysis
  2. Design and development
  3. Testing
  4. implementation
  1. I, III
  2. I, II, III
  3. IV
  4. All of the above

Answer:  d) All of the above

Explanation: The incremental model starts with analyzing the requirements, and later the team designs and develops the software according to the requirement. After the design, the testing comes, and after testing implementation takes place, where the coding is done.

26) What is the Agile model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Model in which an earlier version is launched first, and new specifications/versions are released later.
  4. Model without any specification, only funds, efforts, and time is required.

Answer:  a) Model which is divided into smaller parts, and the requirement and functioning of every part is defined before development.

Explanation: In the Agile model, the task is divided into smaller parts, and the functioning of these smaller parts is pre-defined. This division helps to reduce the risk and also speeds up the process.

27) Steps involved in the Agile model?

  1. Requirement gathering
  2. Designing
  3. Construction / iteration
  4. Testing
  5. Deployment
  6. feedback
  1. I, III
  2. I, II, III
  3. IV
  4. All of the above

Answer:  d) All of the above

Explanation: The agile model starts with analyzing information and then creating a design using flow diagrams and charts and later implementing the design in codes to make an actual working product. The software is deployed after testing. Once the software is deployed, the last step that remains is collecting reviews.

28) What is the Iterative model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Model in which an earlier version is launched first, and new specifications/versions are released later.
  4. Model without any specification, only funds, efforts, and time is required.

Answer:  c) Model in which an earlier version is launched first, and new specifications/versions are released later.

Explanation: The iterative model is the one in which an earlier version of the software is released first, followed by a new and advanced version with a new iteration.

29) Steps involved in the Iterative model?

  1. Analysis
  2. Design
  3. Implementation
  4. Testing
  5. Development
  6. Review
  7. Maintenance
  1. I, III
  2. I, II, III
  3. IV, V, VI
  4. All of the above

Answer:  d) All of the above

Explanation: The iterative model starts with analyzing information and then creating a design using flow diagrams and charts and later implementing the design in codes to make an actual working product. The software is deployed after testing. Once the software is deployed, they collect reviews and update accordingly in maintenance.

30) What is the Prototype model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Model in which a working prototype is built before the actual model.
  4. Model without any specification, only funds, efforts, and time is required.

Answer:  c) Model in which a working prototype is built before the actual model.

Explanation:

PROTOTYPE MODEL – model in which a small prototype with limited functioning, low capabilities, low reliability is built as a demo of existing software. This model is used when no detailed information is present regarding input, output, and processing.

31) Steps involved in the Prototype model?

  1. Collecting requirements
  2. Immediate decision
  3. Prototype building
  4. Evaluation
  5. Prototype refinement
  6. Final product
  1. I, III
  2. I, II, III
  3. IV, V, VI
  4. All of the above

Answer:  d) All of the above

Explanation: The prototype model starts with gathering all the relevant information and requirements, then quickly deciding the structure and then creating a prototype, later after customer evaluation and refining the prototype working on the leading software. The process is suitable when requirements change constantly.

32) What is the Big bang model?

  1. A model is divided into smaller parts, and the requirement and functioning of every part is defined before development.
  2. The model started with limited specs and later added new specs at every iteration.
  3. Model in which a working prototype is built before the actual model.
  4. Model without any specification, only funds, efforts, and time is required.

Answer:  d) Model without any specification, only funds, efforts, and time is required

Explanation: BIG BANG MODEL – a model without any specification of documentation it requires only necessary funds, time, and efforts from developers to construct the software, and the compiled software may or may not be according to the requirements of the customer because customer requirements are not provided. For example, school projects.

33) What is COCOMO?

  1. Combined cost estimation model
  2. Collateral cost estimation model
  3. Cooperative cost estimation model
  4. Constructive cost estimation model

Answer:  d) Constructive cost estimation model

Explanation: COCOMO stands for constructive cost estimation model. It is used to predict the efforts and scheduling of projects using the size of software.

34) Define the steps of software project planning?

  1. Size estimation
  2. Cost estimation
  3. Development time
  4. Resource requirement
  5. Project Scheduling
  1. I, III
  2. I, II, III
  3. IV, V
  4. All of the above

Answer:  d) All of the above

Explanation: Software planning consists of estimating the size of the project, the estimating cost and development time required, later resource requirements will be established based on cost and development time, and lastly, scheduling the project.

35) What is Software Maintenance?

  1. Software updates.
  2. Annual software maintenance for the betterment of the product.
  3. Modifying and updating an old version of the software before delivery.
  4. Modifying and updating an old version of the software after delivery.

Answer:  d) Modifying and updating an old version of the software after delivery.

Explanation: Software Maintenance stands for modifying and updating the software after delivery to correct errors, remove bugs and improve functionality and changes according to change in society. Also, it’s a part of the software development life cycle.

36) Needs of Software Maintenance?

  1. Error correction
  2. Improve efficiency
  3. Change user requirements, hardware, soft wares
  4. optimization
  1. I, III
  2. I, II, III, IV
  3. II, IV
  4. All of the above

Answer:  d) All of the above

Explanation: Significant software needs maintenance include

  1. Correcting errors, bugs removal, and improving the efficiency of codes.
  2. Changing system hardware, software, and user requirements to make the software fast.
  3. Optimizing to make it fast.

37) Types of Software Maintenance?

  1. Corrective Maintenance
  2. Adaptive Maintenance
  3. Preventive Maintenance
  4. Perfective Maintenance
  5. Predictive Maintenance
  6. Annual Maintenance
  1. I, III
  2. I, II, III, IV
  3. II, IV
  4. All of the above

Answer:  b) I, II, III, IV

Explanation: The main types of software Maintenance are:

  1. Corrective Maintenance – to correct all the remaining errors in any field.
  2. Adaptive Maintenance – to modify the software according to demands and to change the environment.
  3. Preventive Maintenance – to prevent software from being outdated, to add new features, and re-engineer old methods.
  4. Perfective Maintenance- to increase the efficiency of the software.

38) How to determine a good programming language?

  1. Readability
  2. Portability
  3. Generality
  4. Brevity
  5. Error checking
  6. Cost
  7. Quick
  8. Efficient
  9. Modular
  10. Widely available
  1. I, II, III
  2. IV, V, VI, VII
  3. VIII, IX, X
  4. All of the above

Answer:  d) All of the above

Explanation: A good programming language must be easily readable and understandable and usually written in a well-documented manner, language must be able to develop portable softwares that can be used with any machine, brevity language should be able to implement algorithms in fewer codes, language should be able to specify bugs at compile time, should be cheap and fast.

39) Which amongst the following is considered the best method to write a program?

a.

var a;
var b;
var c;
function SUM(a,b){
c=a+b;
console.log(c);
}
SUM(2,4);

b.

var a, b, c;
function SUM(a, b) {
c = a + b;
console.log(c);
}
SUM(2, 4);

c.

var a,b,c;
function SUM(a,b){  c=a+b;  console.log(c);}
SUM(2,4):

d. None of the aboveSUM(2,4);

Answer:  b) var a, b, c;

function SUM(a, b) {

c = a + b;

console.log(c);

}

SUM(2, 4);

Explanation: The best way of writing a code is where the code should be well oriented, have equal spacing, error-free, and easy to understand. Each line defined its particular usage

  1. var a, b, c;

function SUM(a, b) {

c = a + b;

console.log(c);

}

SUM(2, 4)

40) What is structured programming?

  1. Making programs easily understandable by splitting them into small modules.
  2. Programming in a fixed structure.
  3. Programming used to create structure.
  4. None of the above

Answer:  a) Making programs easily understandable by splitting them into small modules.

Explanation: Structured programming is when the primary program is divided into smaller modules to make the program more understandable.

41) What is ISO?

  1. International standard organization
  2. Indian standard organization
  3. International software organization
  4. None of the above

Answer:  a) International standard organization

Explanation: ISO stands for international standard organization, which is a group of 63 countries established to maintain standards across the globe.

42) What is ISO 9000?

  1. Certification to establish standardization
  2. Quality control software
  3. Software to establish best models
  4. None of the above

Answer:  a) Certification to establish standardization

Explanation: ISO 9000 certification provided by the international standard organization is 63 countries established to maintain standards. ISO 9000 determines the guidelines and protocols to maintain quality.

43) What is User interface design?

  1. Method of software design where each separate module stands for a particular function.
  2. The complete model is considered as a collection of objects.
  3. Visual part through which the customer interacts.
  4. None of the above.

Answer:  c) Visual part through which the customer interacts.

Explanation: User interface design is the visual part of a software or operating system. The client can easily navigate and interact with the computer and determine how to display the processed data.

44) Difference between text-based user interfaces and Graphical user interfaces?

  1. Mainly relies on keyboard (text based interface) / use mouse mostly (GUI)
  2. Difficult to navigate (text based interface) / Easy to navigate (GUI)
  3. UNIX (text-based interface) / Windows (GUI)
  4. All of the above

Answer:  d) All of the above

Explanation: Some of the significant difference between a Text-based interface, also known as a command-line interface, and a Graphic user interface are: -

Text-based interface mainly relies on a keyboard which is very difficult to navigate, but is capable of completing more complex tasks, for example, UNIX.

Graphic user interface uses mouse mostly making it easy to navigate through, don’t need much prior knowledge to work with and can easily switch tasks for example: - Windows.

45) What is object-oriented design?

  1. Method of software design where each separate module stands for a particular function.
  2. The complete model is considered as a collection of objects.
  3. Visual part through which the customer interacts.
  4. None of the above.

Answer:  b) The complete model is considered as a collection of objects

Explanation: In object-oriented design, the software model is considered a collection of objects or entities. Any task handled by a specific object doesn’t change the composition of other objects.

46) What is Function oriented design?

  1. Method of software design where each separate module stands for a particular function.
  2. The complete model is considered as a collection of objects.
  3. Visual part through which the customer interacts.
  4. None of the above.

Answer:  a) Method of software design where each separate module stands for a particular function.

Explanation: Function oriented design stands for a software design where the model is divided into multiple nodes, and each node contains a specific task or function to perform.

47) What is MTTF?

  1. Meantime to fulfill
  2. Modern time to fulfill
  3. Moderate time to failure
  4. Meantime to failure

Answer:  d) Mean time to failure

Explanation: MTTF stands for mean time to failure. It is a measurement matrix to determine when an assert fails.

48) What measures are considered while calculating the cost of the software?

  1. Employee cost
  2. Time and travel cost
  3. Equipment cost
  4. All of the above

Answer:  d) All of the above

Explanation: While calculating the actual cost of software, we have to consider the following:

Employee cost, time and travel cost, and equipment cost.

49) State the use of the symbol in the data flow diagram?

Software Engineering MCQ

  1. Data flow
  2. Datastore
  3. Source of sink
  4. Process

Answer:  a) Data Flow

Explanation: The curved line is used to connect multiple processes.

50) State the use of the symbol in the data flow diagram?

Software Engineering MCQ

  1. Data flow
  2. Datastore
  3. Source of sink
  4. Process

Answer:  d) Process

Explanation: The circle represents the Process which shows the transformation of data from input to output.