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

Differentiate between failures and faults, Q. Differentiate between failu...

Q. Differentiate between failures and faults? Ans. Failure: -Failure is the disappearance of external results of program operation from requirements. Consequently failure is

Why computer clock synchronization of paramount importance, QUESTION - Time...

QUESTION - Time Synchronization (a) Why is computer clock synchronization of paramount importance? Give 2 business scenarios whereby time accuracy is critical? (b) Computers

Three generic phases of software engineering, What are the three generic ph...

What are the three generic phases of software engineering a) Definition, b) development, c) support

Calculate the peak manning and average rate of software, Q. A software proj...

Q. A software project is planned to cost 95PY in a period of 1 year and 9 months. Calculate the peak manning and average rate of software them build up. Ans. Software project

What are the principles of testing, What are the principles of testing ...

What are the principles of testing Below are some of the principles of testing:  i)  All tests must be performed according to user requirements.  ii)  Planning of tests m

Define cyclomatic complexity, Define cyclomatic complexity? Cyclomatic ...

Define cyclomatic complexity? Cyclomatic complexity defined as software metric which gives the quantitative measure of logical complexity of the program. The Cyclomatic comp

What is the work product of software design process, What is the work produ...

What is the work product of software design process and who does this? A design model that encompasses architectural, interface, component level and their representations is th

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

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