Tuesday, 30 June 2015

Q45,p2,d14. Which one of the following is used to compute cyclomatic complexity ?



(A) The number of regions – 1
(B) E – N + 1, where E is the number of flow graph edges and N is the number of flow graph nodes.
(C) P – 1, where P is the number of predicate nodes in the flow graph G.
(D) P + 1, where P is the number of predicate nodes in the flow graph G.

 Answer D

Q44,p2,d14. Which one of the following set of attributes should not be encompassed by effective software metrics ?



(A) Simple and computable
(B) Consistent and objective
(C) Consistent in the use of units and dimensions
(D) Programming language dependent
Answer D

Q43,p2,d14. The software _________ of a program or a computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships among them.



(A) Design
(B) Architecture
(C) Process
(D) Requirement

Answer B

Q42,p2,d14. Requirement Development, Organizational Process Focus, Organizationa l Training, Risk Management and Integrated Supplier Management are process areas required to achieve maturity level



(A) Performed
(B) Managed
(C) Defined
(D) Optimized 
Answer C

Q41,p2,d14. __________ are applied throughout the software process



(A) Framework activities (B) Umbrella activities
(C) Planning activities (D) Construction activities
Answer B

Q40,p2,D14. In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced page is modified. What is the average access time to service a page fault assuming that the page to be replaced is modified 70% of the time ?



(A) 11.6 m.sec. (B) 16.4 m.sec.
(C) 28 m.sec. (D) 14 m.sec
Answer B.

Explanation.
Let 30 faults are without modification so time is 240 ms.
And rest 70 faults are with medication 20x70 ms
Average access time of servicing a page fault is (240+1400)/100.