Software Sizing LOC and Function Point MCQs: 11 Solved Questions
Build confidence from basic LOC and function-point concepts to weighted UFP, value adjustment, effort conversion and a ten-year cost break-even.
KnowledgeGate Team
Exam prep & CS education

LOC measures implementation size, while function points measure delivered functionality independently of the implementation language. Most errors begin when a question mixes component weights, value adjustment factors, KLOC, productivity and effort units.
LOC and function points answer the size question; COCOMO, CPM and PERT answer effort or schedule questions. Estimation and Scheduling in Software Engineering connects the complete workflow. Start here with LOC and function-point sizing and unit discipline; COCOMO and Cost Estimation Models MCQs continues with model selection, coefficients and duration.
What LOC and function points actually measure
LOC measures implementation size. Function points estimate functional size from the information domain. Size-oriented metrics normalise quality or productivity by software size, unlike software quality in software engineering.
Question 1
UGC NET, Computer Science, June 2013. Practise.
While estimating the cost of software, Lines Of Code (LOC) and Function Points (FP) are used to measure which one of the following?
A. Length of code
B. Size of software
C. Functionality of software
D. None of the above
Answer: B. Size of software. Both measure size for estimation. A fits LOC, C fits FP, and D misses their shared purpose.
Question 2
UGC NET, Computer Science, June 2012. Practise.
Which of the following metric does not depend on the programming language used?
A. Line of code
B. Function count
C. Member of token
D. All of the above
Answer: B. Function count. LOC and tokens vary with language syntax, so A, C and D fail. Function count is language independent.
Question 3
UGC NET, Computer Science, June 2022. Practise.
Which Metrics are derived by normalizing quality and/or productivity measures by considering the size of the software that has been produced ?
A. Function - Oriented Metrics
B. Function - Point Metrics
C. Line of Code Metrics
D. Size Oriented Metrics
Answer: D. Size Oriented Metrics. normalizing ... by ... size points directly to D. A and B are functional measures; C is only a narrower size basis.
Fix the function-point formula before calculating
FP = UFP × CAF
CAF = 0.65 + 0.01 × ΣFi
UFP is the weighted unadjusted count. CAF is the complexity adjustment factor formed from 14 value adjustment factors. CAF is not FAC, cost or productivity, and n is 14.
Question 4
UGC NET, Computer Science, December 2013. Practise.
Function points can be calculated by
A. UFP ∗ CAF
B. UFP ∗ FAC
C. UFP ∗ Cost
D. UFP ∗ Productivity
Answer: A. UFP ∗ CAF. UFP means unadjusted function points, and CAF is the complexity adjustment factor applied to it. FAC, cost and productivity are not multipliers in this sizing formula.
Question 5
UGC NET, Computer Science, December 2014. Practise.
To compute function points (FP), the following relationship is used:
FP = Count_total × (0.65 + 0.01 × ΣFi)
where Fi (i = 1 to n) are value adjustment factors (VAF) based on n questions. The value of n is:
A. 12
B. 14
C. 16
D. 18
Answer: B. 14. Count_total is UFP and the parenthesised term is CAF. The model evaluates 14 value adjustment factors, not 12, 16 or 18.
Work an average-weight function-point estimate
Question 6
UGC NET, Computer Science, June 2014. Practise.
Consider a project with the following functional units :
Number of user inputs = 50
Number of user outputs = 40
Number of user enquiries = 35
Number of user files = 06
Number of external interfaces = 04
Assuming all complexity adjustment factors and weighing factors as average, the function points for the project will be
A. 135
B. 722
C. 675
D. 672
Component | Count | Average weight | Contribution |
|---|---|---|---|
Inputs | 50 | 4 |
|
Outputs | 40 | 5 |
|
Enquiries | 35 | 4 |
|
Files | 6 | 10 |
|
External interfaces | 4 | 7 |
|
UFP=628, ΣFi=14×3=42, CAF=0.65+0.42=1.07, and FP=628×1.07=671.96≈672.
Answer: D. 672. UFP 628 and CAF 1.07 are intermediate; 135 is unweighted.

Handle mixed value-adjustment ratings
Question 7
TPSC, Computer Science, Senior Informatics Officer, 2025. Practise.
Consider a software project with the following information domain characteristics for calculation of function point metric
Number of external inputs (I) = 30
Number of external outputs (O) = 60
Number of external inquiries (E) = 23
Number of files (F) = 08
Number of external interfaces (N) = 02
It is given that the complexity weighting factors for I, O, E, F and N are 4, 5, 4, 10 and 7, respectively. It is also given that, out of fourteen value adjustment factors that influence the development effort, four factors are not applicable, each of the other four factors have value 3, and each of the remaining factors have value 4. The computed value of function point metric is
A. 612.06
B. 1.01
C. 606
D. 0.65
Count the ratings before using the formula. Four factors are 0, four are 3, and 14-4-4=6 are 4. Thus ΣFi=(4×0)+(4×3)+(6×4)=36, giving CAF=0.65+0.36=1.01.
Independently, UFP=(30×4)+(60×5)+(23×4)+(8×10)+(2×7)=120+300+92+80+14=606. Therefore, FP=606×1.01=612.06.
Answer: A. 612.06. Option B is only CAF, C is only UFP, and D is only the base term. The adjusted function-point result must multiply the first two stages.
Convert FP and LOC into effort without losing the units
Convert FP to LOC, then KLOC. Divide LOC by a LOC/person-hour rate.
Question 8
UGC NET, Computer Science, June 2016. Practise.
The number of function points of a proposed system is calculated as 500. Suppose that the system is planned to be developed in Java and the LOC/FP ratio of Java is 50. Estimate the effort (E) required to complete the project using the effort formula of basic COCOMO given below :
E = a(KLOC)^b
Assume that the values of a and b are 2.5 and 1.0 respectively.
A. 25 person months
B. 75 person months
C. 62.5 person months
D. 72.5 person months
Answer: C. 62.5 person months. 500×50=25,000 LOC=25 KLOC; E=2.5×25^1.0=62.5 person-months. A stops at KLOC.
Question 9
UGC NET, Computer Science, August 2024. Practise.
If a software project has 2000 lines of code (LOC) and the average productivity rate is 10 LOC per person-hour, how many person-hours are required to complete the project ?
A. 100
B. 150
C. 200
D. 250
Answer: C. 200. 2,000 LOC ÷ (10 LOC/person-hour)=200 person-hours; LOC cancels.

Compare metric families and solve a life-cycle cost break-even
Question 10
UGC NET, Computer Science, June 2015. Practise.
Match the following:
List – I
List – II
A. Size-oriented metrics
i. uses number of external interfaces as one of the measurement parameters
B. Function-oriented metrics
ii. originally designed to be applied to business information systems
C. Extended function point metrics
iii. derived by normalizing quality and/or productivity measures by considering the size of the software
D. Function point
iv. uses algorithm characteristics as one of the measurement parameters
A. a-iii, b-iv, c-i, d-ii
B. a-ii, b-i, c-iv, d-iii
C. a-iv, b-ii, c-iii, d-i
D. a-iii, b-i, c-iv, d-ii
Answer: D. a-iii, b-i, c-iv, d-ii. A-iii and D-ii are anchors; B-i and C-iv remain.
Question 11
UGC NET, Computer Science, June 2020. Practise.
A company has a choice of two languages L1 and L2 to develop a software for their client. Number of LOC required to develop an application in L2 is thrice the LOC in language L1. Also, software has to be maintained for next 10 years. Various parameters for two languages are given below to decide which language should be preferred for development.
PARAMETER | L1 | L2 |
|---|---|---|
Man-year needed for development | LOC/1000 | LOC/1000 |
Development cost | 70,000 rupees | 90,000 rupees |
Cost of Maintenance per year | 1,00,000 rupees | 40,000 rupees |
Total cost of project include cost of development and maintenance. What is the LOC for L1 for which cost of developing the software with both languages must be same?
A. 2000
B. 6000
C. 3000
D. 5000
Let x be L1 LOC; L2 has 3x. Totals: L1=70x+10,00,000; L2=270x+4,00,000.
6,00,000=200x, so x=3,000. Check: L1 3×70,000+10×1,00,000=12,10,000; L2 9×90,000+10×40,000=12,10,000.
Answer: C. 3000. Both totals are 12,10,000.
The short version and next practice
The answer map is 1-B, 2-B, 3-D, 4-A, 5-B, 6-D, 7-A, 8-C, 9-C, 10-D, 11-C. The recurring traps are choosing functionality instead of the shared measure of size, stopping at UFP, selecting 606 or 1.01 instead of multiplying them, and mixing LOC, KLOC, person-hours and person-months. Before choosing, name the quantity each intermediate result represents.
Now redo Questions 6, 7, 8 and 11 on a blank page, writing the unit beside every number. Continue with the UGC NET Computer Science and Applications bundle for the broader preparation route; the NET category lists related courses and practice.
Keep learning
Software Sizing: LOC and Function Point Estimation with Worked Examples
LOC and function points answer different sizing questions. Learn both through a four-module LOC estimate, a full function-point calculation, and unit-safe effort conversions.
Software Maintenance MCQs: 11 Solved Re-engineering and Reverse Engineering Questions
Attempt 11 published Software Maintenance MCQs, then use the worked explanations to separate reverse engineering, refactoring, re-engineering and perfective maintenance.
Onto (Surjective) Function MCQs: 11 Solved Questions on Definition, Count and Properties
Solve six MCQs, one MSQ and four NAT questions on onto functions. Each answer explains the exact definition, proof or counting step you need.
Function MCQs: 11 Solved Questions on Domain, Range and Counting
Attempt 11 past-paper function MCQs, then check concise solutions covering finite mappings, ranges, subset images, countability and equivalence relations.





