Software Development Life Cycle Test Answers 2019

Share Software Development Life Cycle Test Answers

Posted on June 7, 2019

41 Test Questions:

1. Which of the following software life-cycle models acts as the base for all other models?

• Prototype model
• Iterative waterfall model
• Classical waterfall model
• Spiral Model

2. Which of the following software developments models is idealistic and cannot be strictly followed during actual software development?

• Classical waterfall model
• V-Shaped model
• Spiral model
• Prototype model
• Iterative model

3. In the classical Waterfall Model, the integration of different modules of a software product is done after ___________.

• coding
• system testing
• designing
• unit testing

4. Which two of the following are true about data flow diagrams (DFDs) used in a software development process?
Note: There may be more than one right answer.

• The DFDs represent data flow in the system as well as functions performed by the system.
• Control aspects are very precisely defined by the DFDs.
• The DFDs are simple to understand and use.
• The order of operation of processes is captured by a DFD.

5. In the subject of software engineering, ________ defines a framework for a group of key process areas.

• tools
• methods
• process

6. Which of the following integration testing techniques is practical for small-sized software systems only?

• Bottom-Up Integration Testing
• Top-Down Integration Testing
• Big-Bang Integration Testing
• Mixed/Sandwich Integration Testing

7. Select all that apply.
If the coupling among modules is low in software design, then the product is:
Note: There may be more than one right answer.

• difficult to understand.
• easy to implement.
• less expensive to develop.
• All of the above

8. Consider a project in which the development team is required to build a compiler. The team has never written a compiler and is not sure about the technical solutions of project. Which of the following models should be used in such a situation so that the issue is resolved and the best product is obtained?

• Prototype model
• Spiral model
• V-Shaped model
• Waterfall model

9. Which of the following activities is/are common amongst all software development processes?

• Software specification
• Software designing
• Software validation
• Software evolution
• All of the above

10. The process to check that a completely developed system conforms to its requirement specifications is called __________, and the process to check that the output of one phase conforms to the output of the previous phase during software development is known as_____________.

• verification, validation
• validation, verification
• validation, validation
• verification, verification

11. Which of the following aspects are considered during the data flow-oriented design technique of software development?
Note: There may be more than one right answer.

• Functions in a system
• Data items that flow between the processing stations
• Design of the control structure
• Sequence of execution of instructions

12. Consider a software that calculates cube-roots of integer values that are in the range of 0 to 3,000. If the black-box testing technique is used, then for boundary-value analysis, which of the following values must be there in the test cases?
Note: There may be more than one right answer.

• -3,000
• -1
• 0
• 1,500
• 3,000
• 3,001
• 6,000

13. You are required to develop a software for a business system that is less formal; flexible; and has continuously changing requirements. Which of the following software development processes is more suitable in such a scenario?

• Plan-driven software development
• Agile software development
• The Rational Unified Process
• The Team Software Process

14. Which of the following approaches is more suitable for software requirements specification?

• Model-oriented approach
• Property-oriented approach

15. Suppose you are working on a highly complex project, which involves several kinds of risk. Which software-life-cycle model you should use in such a situation so that the best product can be obtained?

• V-Shaped model
• Prototype model
• Spiral model
• Waterfall model

16. The beta system testing to validate a fully developed system — i.e., ensuring that the system is fulfilling all the requirements — is carried out by __________.

• a test team within the developing organization
• a test team outside the developing organization
• actual customers or a selected group of friendly customers.
• a selected group of developers

17. Which of the following are the correct sets of fundamental activities in the field of software engineering?
Note: There may be more than one right answer.

• Software configuration management
• Validation
• Design and implementation
• Test case design
• Software specifications
• Evolution
• Documentation

18. Which of the following is not a feature of a good software requirements specification (SRS) document?

• It should be concise.
• It should specify the implementation and issues in it.
• It should show conceptual integrity
• It should be structured.

19. What do the edges in a decision tree represent?

• Conditions
• Requirements
• Actions
• Result

20. Which two of the following statements are correct regarding the Unified Modeling Language (UML) diagrams?
Note: There may be more than one right answer.

• An actor in a use case diagram can participate in one use case only.
• In a use case diagram, one use case is independent of the other use case.
• All the views should be constructed for a given problem using all the diagrams that are provided by the UML.
• The static structure of a system is described by class diagram.

21. The SRS document is prepared during the _______________ phase in the waterfall model.

• feasibility-study
• requirement analysis and specification
• design
• testing

22. Which two of the following programming practices should be followed while coding?
Note: There may be more than one right answer.

• Single-entry and single-exit constructs should be used as much as possible.
• Information hiding should not be done at all.
• The use of user-defined data types should be avoided as much as possible.
• The level of nesting should not be too deep.

23. While correcting previous error(s) in a software product, new error(s) may be introduced. Therefore, ___________ testing should be carried out after every round of error fixing.

• recovery
• compatibility
• volume
• regression

24. Which of the following options are covered in software development life cycle?
Note: There may be more than one right answer.

• Development tools
• Hardware maintenance
• Technical processes of software development
• Networking
• Development of methods and theories

25. Refactoring design of code results in ______________.

• increased cohesion and reduced coupling
• increased coupling and reduced cohesion
• increased coupling and increased cohesion
• reduced coupling and reduced cohesion

26. In the ________________ testing technique, the test cases are designed without the knowledge of the internal structure of the software, i.e., using only the functional specifications of the software.

• ad-hoc
• white-box
• black-box
• exhaustive

27. While naming various objects in a software, which two of the following naming conventions should be used?
Note: There may be more than one right answer.

• Package name should be in lowercase.
• Method names should be in the lower camel case and should be verbs.
• Small names should be used for variables with large scope.
• Constant name should start with uppercase letters and rest of the letters should be lowercase.

28. Due to which of the following options, a software does not behave in the way expected of it?
1. Software failure
2. Software fault

• 1 only
• 2 only
• Both 1 and 2
• Neither 1 nor 2

29. A good software design should have __________ coupling and _________ cohesion.

• high, high
• high, low
• low, high
• low, low

30. In which of the following methods of debugging, the program is loaded with print statements for printing intermediate values in hope that some of the printed values will help in identifying the statement(s) containing error(s)?

• Program Slicing
• Brute Force
• Backtracking
• Cause Elimination

31. A compiler can be considered as a _______________ program analysis tool.

• static
• dynamic
• static as well as dynamic

32. During integration testing, __________

• different modules are coded, then combined in one step, and then tested as a whole unit.
• different components are integrated one-by-one and tested at each level of integration.
• different components are integrated one-by-one but tested only as a whole system.
• the system is divided into modules and each module is tested in isolation.

33. The principles of a software development process are primarily based upon which of the following methods?
Methods: 1. Error correction 2. Error prevention

• 1 only
• 2 only
• Both 1 and 2
• Neither 1 nor 2

34. In the test-driven development approach, ____________.

• testing is performed in the end, after a project is completely developed
• a prototype is developed and tested first, and then a second testing is performed after the completion of project
• coding is done incrementally. A new increment is only started after the successful testing of the previous increment
• requirements are tested and documented

35. Structural testing is another name for ______________ testing.

• black box
• white box
• exhaustive

36. Which of the following is true about the Waterfall Model of SDLC?

• Stages are not clearly defined in the Waterfall Model.
• The Waterfall Model is complex and hard to understand.
• In the Waterfall Model, multiple phases are processed at a time.
• The Waterfall Model cannot accommodate changing requirements.

37. Which two of the following are true about software development life-cycle models?
Note: There may be more than one right answer.

• These models help in systematic and disciplined development of software products.
• These models help in defining an entry and exit criteria only for the first and last phase of the software development process.
• These models help in monitoring the progress of the project.
• Software life-cycle models are brief introductions of the software life-cycle.

38. Suppose you are working on a large-scale software engineering project. During the development phases of the project, maximum effort is consumed by the __________ phase of the software life-cycle model.

• implementation
• testing
• feasibility-study
• coding

39. The data flow diagrams given in the image represent a process that reads and validates an English word. Which of the given data flow diagrams represents an asynchronous data flow?

• 1
• 2
• 3
• 4

40. Which of the following software development models is displayed in the given figure?

• Spiral model
• Classical waterfall model
• Prototype model
• V-shaped model

41. Which three of the following characteristics should always be there in a software design?
Note: There may be more than one right answer.

• Understandability
• Rigidity
• Efficiency
• Maintainability
• Complexity