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

Expert Systems, Explain model-based expert systems and frame-based expert s...

Explain model-based expert systems and frame-based expert systems

Explain what is meant by the term encapsulation, Question: (a)  Explain...

Question: (a)  Explain the difference between a link and an association. Use a simple example to illustrate your answer. (b)  Briefly describe the importance of CRC cards in

Define aggregation among objects, Q. Define Aggregation among objects? ...

Q. Define Aggregation among objects? Aggregation between objects represents a relationship. It is a whole/part relationship. Aggregation may perhaps imply containment.

Time Line Chart for Online Shopping Management , Sir I need a Basic Ready m...

Sir I need a Basic Ready made Time Line Chart for Online Shopping Management Project Because I have to submit the Project Report on 8 April 2013 So can u provide some urgent help n

Explain software measurement, Software measurement Software measuremen...

Software measurement Software measurement is anxious with deriving a numeric value for an attribute of a software product or process. This permits for objective comparisons

Distinguish software faults and software failures, Distinguish software fau...

Distinguish software faults and software failures Ans: In case of a failure, the software does not do what the user expects. A fault is a programming error that may or may not

What is the use of knowledge of risk acceptance to engineers, What is the u...

What is the use of knowledge of risk acceptance to engineers?  The past experience and historical data give better information about safety of products designing there are stil

Software document, explain software document.create the necessary documents...

explain software document.create the necessary documents for employee management system.

Impact of offshoring of it jobs, Question: (a) "People have recourse t...

Question: (a) "People have recourse to outsourcing only for reducing cost". Show this statement on the motivations for outsourcing. (b) "Outsourcing is a threat to the co

Goals of quality control, Describe how the goals of quality control (QC) fl...

Describe how the goals of quality control (QC) flexible manufacturing systems (FMS), design for assembly (DFA)and low overall costs can be best combined by computer integrated manu

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