Software Engineering MCQs

Software Engineering MCQs

Answer these 100+ Software Engineering MCQs and assess your grip on the subject of Software Engineering. Scroll below and get started!

1: Structural testing is another name for ______________ testing.

A.   black box

B.   white box

C.   exhaustive

D.   None of the above 

2: The ___________ languages are used as executable specification languages.

A.   second generation

B.   third generation

C.   fourth generation 

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

A.   Bottom-Up Integration Testing

B.   Top-Down Integration Testing

C.   Big-Bang Integration Testing

D.   Mixed/Sandwich Integration Testing 

4: Which of the following is not a feature of a good software requirement specification (SRS) document?

A.   It should be concise.

B.   It should specify the implementation and issues in it.

C.   It should show conceptual integrity

D.   It should be structured 

5: Consider the following relations.
(i) Pen is a kind of writing equipment.
(ii) Purchase order has a few items.
First Relation (i) is modeled using ___________ and second relation (ii) is modeled using______ in class diagrams.

A.   inheritance, aggregation

B.   association, inheritance

C.   aggregation, composition

D.   composition, association

6: Software engineering principles are primarily based upon which of the following methods?

A.   Error correction

B.   Error prevention

C.   Both a and b

D.   None of the above 

7: Which three of following characteristics should always be there in a software design?

A.   Understandability

B.   Rigidity

C.   Efficiency

D.   Maintainability

E.   Complexity 

8: Which of the following factors is(are) responsible for the present software crisis? Select all that apply.

A.   Shortage of programming languages

B.   Shortage of rapid progress in software engineering

C.   Increased problem size

D.   All of the above

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

A.   feasibility study

B.   requirement analysis and specification

C.   design

D.   testing

10: Which two of the following are true about software development life cycle model?

A.   It helps in systematic and disciplined development of software products.

B.   It helps in defining an entry and exit criteria only for the first and last phase of the software development.

C.   It helps in monitoring progress of the project.

D.   A software life cycle model is a brief introduction of the software life cycle.

11: What do the edges in a decision tree represent?

A.   Conditions

B.   Requirements

C.   Actions

D.   Result 

12: Suppose you need to test user interface, such as display screens, of your software product to ensure that they are easy to use. Which of the following types of testing should be carried out in this situation?

A.   Regression testing

B.   Volume testing

C.   Usability testing

D.   Maintenance testing

E.   Compatibilty testing 

13: In order to reduce problem complexity, software engineering principles use ____________ and ___________ techniques.

A.   abstraction, decomposition

B.   abstraction and jump

C.   decomposition and exploratory programming

D.   exploratory programming and abstraction

E.   exploratory programming and jump 

14: Consider the following scenario:
A grocery store needs to develop a software in order to encourage its regular customers. A customer needs to register by supplying his/her residential address and telephone number at the store. A unique customer number (CN) will be provided to the customer after registration by the software. During any purchase customer can provide his/her CN number to the store staff at the counter, who will credit the value of his/her purchase against the CN. After every year, surprise gifts will be given to five customers who made the highest purchase over the year. At the end of the year, entries against each CN will be reset.
Which of the following is the most suitable context diagram for the above scenario?

A.   i

B.   ii

C.   iii

D.   None of the above

15: 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.

A.   ad-hoc

B.   white-box

C.   black-box

D.   exhaustive 

16: Which of the following are the correct sets of fundamental activities in the subject area of software engineering?

A.   Software configuration management

B.   Validation

C.   Design and implementation

D.   Test case design

E.   Software specifications

F.   Evolution

G.   Documentation 

17: A compiler can be considered as _______________ program analysis tool.

A.   static

B.   dynamic

C.   both static and dynamic 

18: Which two of the following aspects are considered while using the data flow oriented design technique of software development?

A.   Functions in a system

B.   Data items that flows between the processing stations

C.   Design of control structure

D.   Sequence of execution of instructions

E.   None of the above 

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

A.   verification, validation

B.   validation, verification

C.   validation, validation

D.   verification, verification 

20: Suppose you are testing a software system that needs to interact with a large database to retrieve information.
Which of the following types of testing is required to check the speed and accuracy of the data retrieval process?

A.   Compatibility testing

B.   Volume testing

C.   Regression testing

D.   Stress testing

21: In a classical waterfall model, the integration of different modules of a software product is done after ___________.

A.   coding

B.   system testing

C.   designing

D.   unit testing

22: In class diagrams, the whole-part relationship among classes is represented using ____________.

A.   inheritance

B.   association

C.   aggregation

D.   composition 

23: 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.   a test team within the developing organization

B.   a test team outside the developing organization

C.   actual customers or a selected group of friendly customers.

D.   a selected group of developers 

24: In which of the following methods of debugging, a 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)?

A.   Program Slicing

B.   Brute Force

C.   Backtracking

D.   Cause Elimination 

25: If the coupling among modules is low in software design then the product is:
Select all that apply

A.   difficult to underStand

B.   easy to implement

C.   less expensive to develop

D.   all of the above 

26: Which of the following activities is/ are common amongst all the software development processes?

A.   Software specification

B.   Software designing

C.   Software validation

D.   Software evolution

E.   All of the above 

27: In the test-driven development approach, ____________.

A.   testing is performed in the end, after the entire project is developed

B.   initially a prototype is developed and tested, and then a second testing is performed after the completion of a project

C.   coding is performed incrementally. A new increment is started only after the successful testing of the previous increment

D.   requirements are tested and documented 

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

A.   high, high

B.   high, low

C.   low, high

D.   low, low 

29: Which three of the following options are covered in the subject of software engineering?

A.   Development tools

B.   Technical processes of software development

C.   Development of methods and theories

D.   Hardware maintenance

E.   Networking 

30: 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.

A.   recovery

B.   compatibility

C.   volume

D.   regression 

31: Suppose you are working on a large-scale software engineering project. During the development phase of the project, the maximum effort will be consumed by which of the following phases of the software life cycle model?

A.   implementation phase

B.   testing phase

C.   feasibility study phase

D.   coding phase

32: Which of the following approaches is/are more suitable for requirements specification?

A.   Model-Oriented

B.   Property-Oriented

C.   Both a and b 

33: In case of a ________, the software does not behave in the way expected from it.

A.   software failure

B.   software fault 

34: Which two of the following programming practices should be followed while coding?

A.   Single-entry and single-exit constructs should be used as much as possible.

B.   Information hiding should not be done at all.

C.   The use of user-defined data types should be avoided as much as possible.

D.   The level of nesting should not be too deep. 

35: Which two of the following statements are correct regarding Unified Modeling Language (UML) diagrams?

A.   An actor in a use case diagram can participate in one use case only.

B.   In a use case diagram, one use case is independent of the other use case.

C.   All the views should be constructed for a given problem using all the diagrams that are provided by the UML.

D.   The static structure of a system is described by class diagram. 

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

A.   V-Shaped model

B.   Prototype Model

C.   Spiral Model

D.   Waterfall Model 

37: Which two of the following are true about DFDs (data flow diagrams) used in Software Engineering?

A.   DFDs represent data flow in the system as well as function performed by the system.

B.   Control aspects are very precisely defined by DFDs.

C.   DFDs are simple to understand and use.

D.   The order of operation of processes is captured by a DFD 

38: During integration testing, __________

A.   different modules are coded then combined together in one step and then tested as a whole unit.

B.   different components are integrated one by one and tested at each level of integration.

C.   different components are integrated one by one but tested only as a whole system.

D.   system is divided into modules and each module is tested in isolation.

39: In fiction writing, "foreshadowing" is a term for __________________.

A.   the shadows that lurk in the back of a character's mind

B.   the clues in the narrative that give an indication of or preempt the future plot or story

C.   the tying up of all loose ends at the end of the story

D.   the rebels in a gothic horror story

E.   None of the above

40: Why are short stories sometimes more challenging than novels for writers to write?

A.   Readers expect more from short stories.

B.   The characters and plot must be introduced and developed quickly rather than over a period of time.

C.   Short stories have more characters.

D.   All of the above

E.   None of the above 

41: Which of the following statements best illustrates the primary purpose of writing dialogue?

A.   Dialogue shares information by narrating the story.

B.   Dialogue is less important than other aspects of story-telling such as setting, theme, and characterization.

C.   Dialogue propels the plot forward through a character's actions rather than through his words.

D.   Dialogue reflects the speaking voice of the character.

42: In fiction writing, a "caricature" is ______________ .

A.   a character from the past

B.   a character who is larger than life

C.   a character whose behavior or mannerisms are exaggerated for comic relief, as in a visual cartoon

D.   a drawing of the main character 

43: Software is a product and can be manufactured using the same technologies used for other engineering artifacts.

A.   True

B.   False

44: WebApps are a mixture of print publishing and software development, making their development outside the realm of software engineering practice.

A.   True

B.   False

45: There are no real differences between creating WebApps and Mobile-Apps.

A.   True

B.   False

46: In its simplest form an external computing device may access cloud data services using a web browser.

A.   True

B.   False

47: Product line software development depends the reuse of existing software components to provide software engineering leverage.

A.   True

B.   False

48: Which question no longer concerns the modern software engineer?

A.   Why does computer hardware cost so much?

B.   Why does computer hardware cost so much?

C.   Why does it cost so much to develop a piece of software?

D.   Why can’t software errors be removed from products prior to delivery?

49: Software deteriorates rather than wears out because

A.   Software suffers from exposure to hostile environments.

B.   Defects are more likely to arise after software has been used often.

C.   Multiple change requests introduce errors in component interactions.

D.   Software spare parts become harder to order.

50: Software engineering umbrella activities are only applied during the initial phases of software development projects.

A.   True

B.   False