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

Explain the modularity concept mean, What does Modularity concept mean? ...

What does Modularity concept mean? Software architecture embodies modularity; i.e. Software is named in to addressable components called modules, which are integrated finally.

List the process maturity levels in seis cmm, List the process maturity lev...

List the process maturity levels in SEIs CMM. Level 1: Initial - Few processes are explained and individual efforts are taken. Level 2:Repeatable - To track cost schedule an

Define the prototyping model, Define the Prototyping Model In this mod...

Define the Prototyping Model In this model, a working model of actual software is developed originally. Prototype is just like a sample software having low reliability and les

Describe the object interface design, Question 1 Explain Iterative Develop...

Question 1 Explain Iterative Development Model in detail Question 2 Describe the Object Interface Design Question 3 Explain why it is important to describe softwar

Explain capability maturity model, CAPABILITY MATURITY MODEL (CMM): CMM is...

CAPABILITY MATURITY MODEL (CMM): CMM is a strategy for recovering the software process, irrespective of the actual life cycle model used.

Applications software, APPLICATIONS SOFTWARE: As has been mentioned ea...

APPLICATIONS SOFTWARE: As has been mentioned earlier, software may conveniently be divided into: systems software (i.e., programs designed to control the execution of other pr

Constructor, what is constructor overloading

what is constructor overloading

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

Explain the basic cocomo model, Question: (a) (i) Define the following...

Question: (a) (i) Define the following terms briefly: COCOMO, DSI, FSP, MM, ACT, TDEV, (MM)AM. (ii) State the assumptions underlying the Basic COCOMO model. (b) Suppos

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