Software Engineering MCQ Questions and Answers

Practice Mode
Showing 10 of 288 questions
Q21
In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone were tested with the probability of success 0.9. The reliability of the module is
  • A greater than 0.9
  • B equal to 0.9
  • C at most 0.81
  • D at least 1/0.81
Answer: Option C
Q22
Which of the following testing methods is normally used as the acceptance test for a software system ?
  • A regression testing
  • B Integration testing
  • C Unit testing
  • D Functional testing
Answer: Option D
Q23
A computer program can often be a very satisfactory ..... of a physical system such as road traffic conditions.
  • A solution
  • B replacement
  • C simulation
  • D model
Answer: Option C
Q24
for ( i = 0, s = 0 ; i < n; i++) s += a [i] ; the symbolic execution with n = 3 at i = 2, s is
  • A a0 + a1 + a2 + a3
  • B a0 + a1 + a2
  • C a0 + a1
  • D a0 + a1 + a3
Answer: Option B
Q25
Software testing techniques are most effective if applied immediately after
  • A requirement specification
  • B design
  • C coding
  • D integration
Answer: Option B
Q26
For the above code, using symbolic execution, after the iteration with N = 5, IFACT is
  • A 1 * 1 * 2 * 3 * 4 * 5
  • B 1 * 2 * 3 * 4 * 5
  • C 1 * 1 * 2 * 3 * 4
  • D 1 * 2 * 3 * 4
Answer: Option C
Q27
Which of the following is not an assertion ?
  • A P is true, P and Q are true and K or not (Q) is t rue implies K is true.
  • B P is true, P and Q are true and K or not (Q) is true implies K is true.
  • C P is true, P and Q are false and K or Q is true implies K is true.
  • D P is true, P and Q are true and K or not (K) is true implies K is true.
Answer: Option D
Q28
The reliability of a program be 0.8. The reliability of an equivalent program (ie., another program that serves the same purpose)is 0.9. The probability that both the programs give the wrong result for the same input is
  • A 0.72
  • B 1.7
  • C 0.1
  • D 0.02
Answer: Option D
Q29
The program volume of a source code that has 10 operators including 6 unique operators, and 6 operands including 2 unique operands is
  • A 48
  • B 120
  • C 720
  • D insufficient data
Answer: Option A
Q30
To increase reliability, fault tolerance is included in the system in the form of multiple modules. If the problem can be solved by 5 different modules, each with probability of success 0.7. the probability that it can be solved even if 4 modules fail is approximately
  • A 0.3
  • B 0.03
  • C 0.49
  • D 0.05
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test