Page 204 - DCAP305_PRINCIPLES_OF_SOFTWARE_ENGINEERING
P. 204

Principles of Software Engineering



                   Notes         Self Assessment Questions

                                    6.  Which one is the category of software metrices?
                                       (a)  product matrics            (b)  project metrics

                                       (c)  both (a) and (b)           (d)  None of these
                                    7.  Cyclomatic complexity is software metric that provides a ………….. measure of the logical
                                      complexity of a program.

                                       (a)  quantitative               (b)  qualitative

                                       (c)  Both (a) and (b)           (d)  None of these.
                                    8.  Cyclomatic complexity, V (G), for a flow graph, G is defined as

                                       (a)  V (G) = E+N+2P             (b)  V (G) = E-N+2P

                                       (c)  V (G) = E+N-2P             (d)  None of these.
                                    9.  Cyclomatic complexity can be characterized as the number of elements of a basis set of
                                      …………..

                                       (a)  control flow               (b)  data flow
                                       (c)  management flow            (d)  product flow

                                   10.  The flow graph depicts logical control flow using a diagrammatic notation
                                       (a)  True                       (b)  False

                                   11.  Cyclomatic complexity, V (G) for a flow graph, G is also defined as V (G) = Pie-1.

                                       (a)  True                       (b)  False
                                   12.  PSI (percentage of shared ideas), a knowledge-based semantic coupling metric.

                                       (a)  True                       (b)  False

                                   13.  Class- and function-level concept and keyword information to calculate metrics.
                                       (a)  True                       (b)  False

                                   14.  Software metrics are based on code syntax, quantifying the complexity or cohesion of an
                                      Implementation by performing calculations based on counting code structures.
                                       (a)  True                       (b)  False

                                   15.  Balance concept is associated with the getBalance function, since its name matched the
                                      balance (noun) keyword, which met the threshold for the Balance concept.
                                       (a)  True                       (b)  False


                                 9.4 Summary

                                    •  Network metrics for design focus on the structure chart (mostly the call graph component
                                      of the structure chart) and define some metrics of how “good” the structure or network
                                      is in an effort to quantify the complexity of the call graph.


        198                               LOVELY PROFESSIONAL UNIVERSITY
   199   200   201   202   203   204   205   206   207   208   209