Discussion
Vocabulary of a program is defined as :
Answer: A
The vocabulary is \(n = n_1 + n_2\).
In Halstead's software science, \(n_1\) is the number of distinct operators and \(n_2\) the number of distinct operands in a program. The vocabulary is the total number of distinct tokens, their sum.
The related measures are program length \(N = N_1 + N_2\), the total count of operator and operand occurrences, and volume \(V = N \log_2 n\). Differences, products and ratios of \(n_1\) and \(n_2\) are not Halstead measures, so the other options are wrong.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development