What are Halstead’s metrics?
Halstead’s metrics:
Halstead metrices introduced by Maurice Howard Halstead in 1977 is an analytical technique to measure size, development efforts and development cost of software products. Halstead used a few primitive program parameters to develop the expression for over all program length, potential minimum volume,actual volume, language level, effort and development time.Halstead made the observation that metrics of the software should reflect the implementation or expression of algorithms in different languages, but be independent of their execution on a specific platform. Halstead's goal was to identify measurable properties of software, and the relations between them.
For a given problem, Let:
From these numbers, several measures can be calculated:
Write short notes on
Explain left factoring with suitable example.
Draw the ER diagram of a hospital and explain.
Describe structured analysis and structured design.