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

Define data dictionary, Define Data Dictionary. The data dictionary can...

Define Data Dictionary. The data dictionary can be explained as an organized collection of all the data elements of the system with precise and rigorous explanations so that us

What is cocomo model, What is COCOMO model? COnstructive COst MOdel is ...

What is COCOMO model? COnstructive COst MOdel is a cost model, which provides the estimate of number of man-months it will take to make the software product.

Define system modelling, Define System Modelling? Define the process...

Define System Modelling? Define the processes that provide the needs of the view under consideration. Shows the behaviour of the processes and the assumptions on which t

Explain different phases of spiral model, Q. Explain Different Phases of sp...

Q. Explain Different Phases of spiral model? 1) Planning: In this phase the objectives alternatives as well as constraints of the project are determined or documented. The ob

What is meant by software prototyping, What is meant by software prototypin...

What is meant by software prototyping? Software prototyping is a process of creating a model for the software product. This is developed based on the currently known requiremen

Jenny Smith, RE : Website Google Ranking Hi, We can fairly quickly promot...

RE : Website Google Ranking Hi, We can fairly quickly promote your website to the top of the search rankings with no long term contracts! We can place your website on top of the

What is rad approach, What is RAD Approach As the term suggests, this ...

What is RAD Approach As the term suggests, this model gives a quick approach for software development and is based on a linear sequential flow of numerous development processe

Explain incremental testing, Incremental integration testing is permanent t...

Incremental integration testing is permanent testing of an application as new functionality is recommended. This may need that various aspects of an application's functionality are

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