Question set 06 Function points measure: · SW size · Source code length · complexity LOC measures: · SW size · Source code length · complexity Ratio between documentation and source code length is a metric of: · Product · Process · Resource Effort invested per FP during SW delivery is a metric of: · Product · Process · Resource Number of project managers with PM certification is a metric of: · Product · Process · Resource LOC is a metric that is: · Programmer dependent · Technology independent · Hard to calculate FP is a metric that is: · Programming language independent · Programmer dependent · Programmer team size dependent For two pieces of a program which execute the same function, when one is written in assembler and the other in Java, choose what is true: · Program written in Java has more FP · Program written in assembler has more FP · Both programs have equal FP For two pieces of a program which execute the same function, when one is written in assembler and the other in Java, choose what is true: · Program written in Java has more LOC · Program written in assembler has more LOC · Both programs have equal LOC Choose what is applicable to Halstead’s complexity: · it is directly calculated from code sample · same function written in different programming languages will have the same Halstead’s complexity · it analyses the code sample as if it was a sentence Related to Halstead’s complexity, what is true about Purity ratio: · it compares actual code with estimated “ideal” code · values above 1 are better than values below 1 · values close to 1 will cause problems with code readability Cyclomatic complexity: · Grows with decision points and loops · Indicates how difficult it will be to test the SW · Indicates the size of source code per individual independent paths through the program Which of the following size-based SW metrics is the most difficult to calculate: · SLOC · FP · Cyclomatic complexity Which of the following SW metrics are complexity-based: · Halstead’s · McCabe’s · KSLOC’s