Explain about token count - software metrics, Software Engineering

Assignment Help:

Q. Explain about token count - software metrics?

Token count:- A program is considered to be series of tokens and if we count the number of tokens, some interesting results may emerge. Tokens are classified as either operators or operands. All software science measures are functions of the counts of these tokens.

Variables, constants and even labels are operands. Operators consist of arithmetic symbols such as +, -. /, * and command names such as "while", "for", "printf", special symbols such as : =, braces, parentheses, and even function names such as "eof".

The size of the vocabulary of a program which consists of the number of unique tokens to build a program is defined as:-

n =n1 + n2

Where, n : vocabulary of a program.

n1: number of unique operators

n2: number of unique operands.


Related Discussions:- Explain about token count - software metrics

Differences between programme managers and project managers, Question: ...

Question: (a) Differences between programme managers and project managers. (b) A small computer system controls the entry of vehicles to a car park. Each time a vehicle pu

Need of output comparators, Q. Need of Output comparators? Output comp...

Q. Need of Output comparators? Output comparators These are used in dynamic testing-both single-module and multiple-module (system level) varieties to check that predicted an

Write definition of dfd, Write definition of DFD? Data Flow Diagram sup...

Write definition of DFD? Data Flow Diagram supplies the information flow and the transforms that are used on the data as it moves from input to output.

What are the different architectures developed during bpe, What are the dif...

What are the different architectures developed during BPE? Data architecture framework for the information requires of a business. Application architecture incorporates the

Explain about integration testing, Q. Explain about Integration testing? ...

Q. Explain about Integration testing? Integration testing: The primary objective of integration testing is to test the module interfaces, i.e. there are no errors in the para

State the system engineering hierarchy, State the System Engineering Hierar...

State the System Engineering Hierarchy? The world view is composed of a set of domains (Di), which can each be a system, or system of systems. WV = {D1,D2,D3,...........,Dn}

Show the cost drivers used in cocomo model, Q. Show the cost drivers used i...

Q. Show the cost drivers used in COCOMO model? A variety of attributes of cost drivers used in COCOMO model are: 1. Physical attributes : These are worried with required

Explain document interchange standards, Document interchange standards ...

Document interchange standards Interchange standards permit electronic documents to be exchanged mailed, etc.  Documents are produced using dissimilar systems and on differe

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