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

Dfd, explain dfd

explain dfd

Write about software change methods, Write about software change methods. ...

Write about software change methods. The software change strategies that could be applied individually or together are: Software maintenance - The changes are made in the softw

What do you mean by the computer based system, What do you mean by  the co...

What do you mean by  the computer based system? The computer based system can be termed as "a set or an arrangement of elements that are managed to accomplish some predefined g

What is cmmi framework, What is CMMI framework? The CMMI framework is t...

What is CMMI framework? The CMMI framework is the present stage of work on process assessment and improvement that started at the Software Engineering Institute in the 1980s.

What is software, What is Software Software is nothing but a collecti...

What is Software Software is nothing but a collection of computer programs that are related documents that are indented to give desired features, functionalities and good per

What are the three activities of risk assessment, What are the three activi...

What are the three activities of risk assessment? Ans: The three activities are analyzing, identifying and giving priorities. Risks are able to be identified by a check list

Describe incremental model, Q. Describe incremental model? Define core prod...

Q. Describe incremental model? Define core product and detailed plan. Ans. The incremental model is proposed by D.L PARNAS. It is basically implemented by combining elements

Final Year Project Help, I am currently working on a project and am far fro...

I am currently working on a project and am far from passing, I need help ASAP! The project task is to create a Decision support system for An Airline. It must predict and make de

What is a software package, QUESTION a) What is a software package? ...

QUESTION a) What is a software package? b) A lot of data is collected and stored on digital medium today. Organisations rely a lot on the data for their smooth running. Desc

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