Question 1 |
In a class definition with 10 methods, to make the class maximally cohesive, number of direct and indirect connections required among the methods are
90,0 | |
45,0 | |
10,10 | |
45,45 |
Question 1 Explanation:
Question 2 |
Consider the following pseudo-code
I=0; J=0; K=8;
while(I < K-1) //while-1
{
J=J+1;
while(J < K) //while-2
{
if(x[I] < x[J])
{
temp = x[I];
x[I]=x[J];
x[J]=temp;
}
}// end of while-2
I=I+1;
}// end of while-1
The cyclomatic complexity of the above is3 | |
2 | |
4 | |
1 |
Question 2 Explanation:
Question 3 |
What is the defect rate for Six sigma?
1.0 defect per million lines of code | |
1.4 defects per million lines of code | |
3.0 defects per million lines of code | |
3.4 defects per million lines of code |
Question 3 Explanation:
Question 4 |
What is the availability of the software with the following reliability figures
Mean Time Between Failures (MTBF) is 20 days
Mean Time To Repair (MTTR) is 20 hours
Mean Time Between Failures (MTBF) is 20 days
Mean Time To Repair (MTTR) is 20 hours
90% | |
96% | |
24% | |
50% |
Question 4 Explanation:
Question 5 |
Regression testing is primarily related to
Functional testing | |
Development testing | |
Data flow testing | |
Maintenance testing |
Question 5 Explanation:
Question 6 |
The lower degree of cohesion is kind of:
Logical Cohesion | |
Coincidental Cohesion | |
Procedural Cohesion | |
Communicational Cohesion |
Question 6 Explanation:
Question 7 |
The Functions Point (FP) metric is
Calculated from user requirement | |
Calculated from lines of code | |
Calculated from software complexity assessment | |
None of the above |
Question 7 Explanation:
Question 8 |
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 module is
Greater than 0.9 | |
Equal to 0.9 | |
At most 0.81 | |
At least 0.81 |
Question 8 Explanation:
Question 9 |
In a particular program, it is found that 1% of the code account for 50% of the execution time. To code a program in C++, it takes 100 man-days. Coding in assembly language is 10 times harder than coding in C++, but runs 5 times faster. Converting an existing C++ program into an assembly language program is 4 times faster.
To completely write the program in C++ and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consist of
To completely write the program in C++ and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consist of
13 programmers | |
10 programmers | |
8 programmers | |
100/13 programmers |
Question 9 Explanation:
Question 10 |
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 10 Explanation:
There are 10 questions to complete.