• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Software Engineering

Question 11

Which of the following statements are TRUE?

  • I. The context diagram should depict the system as a single bubble.
  • II. External entities should be identified clearly at all levels of DFDs.
  • III. Control information should not be represented in a DFD.
  • IV. A data store can be connected either to another data store or to an external entity.
  • II and III

  • II and III

  • I and III

  • I, II and III

Question 12

Consider the following statements about the cyclomatic complexity of the control flow graph of a program module. Which of these are TRUE?
I. The cyclomatic complexity of a module is equal to the maximum number of 
   linearly independent circuits in the graph.
II. The cyclomatic complexity of a module is the number of decisions in the 
    module plus one,where a decision is effectively any conditional statement 
    in the module.
III.The cyclomatic complexity can also be used as a number of linearly 
     independent paths that should be tested during path coverage testing. 
  • I and II
  • II and III
  • I and III
  • I, II and III

Question 13

Match the following:

1) Waterfall model        a) Specifications can be
                              developed incrementally

2) Evolutionary model     b) Requirements compromises 
                             are inevitable

3) Component-based        c) Explicit recognition of risk
software engineering

4) Spiral development     d) Inflexible partitioning of 
                             the project into stages
  • 1-a, 2-b, 3-c, 4-d

  • 1-d, 2-a, 3-b, 4-c

  • 1-d, 2-b, 3-a, 4-c

  • 1-c, 2-a, 3-b, 4-d

Question 14

Which one of the following is TRUE?

  • The requirements document also describes how the requirements that are listed in the document are implemented efficiently.

  • Consistency and completeness of functional requirements are always achieved in practice.

  • Prototyping is a method of requirements validation.

  • Requirements review is carried out to find the errors in system design

Question 15

In the context of modular software design, which one of the following combinations is desirable?
  • High cohesion and high coupling
  • High cohesion and low coupling
  • Low cohesion and high coupling
  • Low cohesion and low coupling

Question 16

The extent to which a software performs its intended functions without failures, is termed as
  • Robustness
  • Correctness
  • Reliability
  • Accuracy

Question 17

Match the following
       List-I                            List-II
A. Condition coverage                 1. Black-box testing
B. Equivalence class partitioning     2. System testing
C. Volume testing                     3. White-box testing
D. Alpha testing                      4. Performance testing

Codes:
   A B C D
(a) 2 3 1 4
(b) 3 4 2 1
(c) 3 1 4 2
(d) 3 1 2 4
  • a
  • b
  • c
  • d

Question 18

Consider the following C program segment. C
while (first <= last)
{
   if (array [middle] < search)
      first = middle +1;
   else if (array [middle] == search)
      found = True;
   else last = middle  1;
   middle = (first + last)/2;
}
if (first < last) not Present = True;
The cyclomatic complexity of the program segment is __________.
  • 3
  • 4
  • 5
  • 6

Question 19

A variable x is said to be live at a statement Si in a program if the following three conditions hold simultaneously:
1. There exists a statement Sj that uses x
2. There is a path from Si to Sj in the flow
   graph corresponding to the program
3. The path has no intervening assignment to x 
   including at Si and Sj
Q59New The variables which are live both at the statement in basic block 2 and at the statement in basic block 3 of the above control flow graph are
  • p, s, u
  • r, s, u
  • r, u
  • q, v

Question 20

A Software Requirements Specification (SRS) document should avoid discussing which one of the following?
  • User interface issues
  • Non-functional requirements
  • Design specification
  • Interfaces with third party software

There are 162 questions to complete.

Last Updated :
Take a part in the ongoing discussion