Span and average span size of a program, Software Engineering

Assignment Help:

Q. Explain Span and average span size of a program?

Span dimension indicates the number of statements that pass between successive uses of a variable. For illustration in the following sample of code variable x has 4 spans of 10,12,7, and 6 statements while y has 2 spans of 23 and 14 statements. This demonstrates x is being used more than y.

1587_Span and average span size of a program.png

Average span size=(S span size of a variable in a program)/no. of span

For instance

Average span size of variable x in the above sample = (10+12+7+6)/4=8.75

Average span size of variable y = (23+14)/2=18.5


Related Discussions:- Span and average span size of a program

Software myth, how does software myth affects software process

how does software myth affects software process

What are the functions of data architecture, What are the functions of data...

What are the functions of data architecture? It gives the information needed for a business function. Recognize the data objects and their relationship. Eg: Custome

Define cardinality and modality, Define Cardinality & Modality. Cardina...

Define Cardinality & Modality. Cardinality: Requirement of the number of occurrences of one that can be linked to number of occurrences of another. Modality: The Modality of

Techlib plus - microcomputer based software package, TECHLIB Plus microcomp...

TECHLIB Plus microcomputer based software package: This is yet another comprehensive package based on BASIS plus, one of the world's leading Document DBMS and Text Retrieval S

What are the common approaches in debugging, What are the common approaches...

What are the common approaches in debugging? Brute force method: The memory dumps and run-time tracks are examined and program with write statements is loaded to obtain clues t

State the technique pilot used in software engineering, State the technique...

State the technique Pilot used in software engineering With this approach, new system is introduced into one part of the company (for example into one warehouse of a supermark

December 2010, differentiate between structured analysis and structured des...

differentiate between structured analysis and structured design

Important factors related to library storage operation, Important factors r...

Important factors related to library storage operation: It is essential to consider some important factors related to library and information storage and retrieval operations

What is parallel testing, Testing a new or an changed data processing syste...

Testing a new or an changed data processing system with the similar source data that is used in another system. The other system is taken as the standard of comparison.

Discuss about rad model, Discuss about RAD Model Rapid Application D...

Discuss about RAD Model Rapid Application Development Model is the one type of incremental model. Gains the high speed development utilising component based construction.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd