Sample questions
Question 1Easy
In Basic COCOMO, which three project modes (classes) are defined?
- Organic, semi-detached and embedded
- Small, medium and large
- Waterfall, spiral and agile
- Simple, average and complex
Answer: A. Organic, semi-detached and embedded
Explanation
Organic projects are small with experienced teams, embedded projects have tight hardware and operational constraints, and semi-detached projects lie in between.
Step-by-step solution
- Basic COCOMO has three project classes.
- They are organic, semi-detached and embedded.
- So option A is correct.
Why the other options are wrong
- B. Small, medium and large are size labels, not COCOMO modes.
- C. Waterfall, spiral and agile are life-cycle models, not COCOMO modes.
- D. Simple, average and complex are not the COCOMO project classes.
Tip: COCOMO modes: organic (smallest, simplest), semi-detached (middle), embedded (hardest).
Question 2Easy
A project delivers 12,000 lines of code with 24 person-months of effort. What is the productivity?
- 2400 LOC per person-month
- 500 LOC per person-month
- 250 LOC per person-month
- 1000 LOC per person-month
Answer: B. 500 LOC per person-month
Explanation
Productivity = size / effort
= 12000 / 24
= 500 LOC per person-month.
Step-by-step solution
- Productivity = size ÷ effort.
- 12,000 LOC ÷ 24 person-months.
- That gives 500 LOC per person-month: option B.
Why the other options are wrong
- A. 2400 is 12,000 ÷ 5, which is not the division by effort.
- C. 250 is 12,000 ÷ 48, which doubles the effort.
- D. 1000 would need an effort of 12 person-months.
Tip: Productivity = size ÷ effort, with the same unit in both.
Question 3Easy
A key advantage of function points over lines of code as a size measure is that function points:
- Measure the runtime speed of the finished program on the target hardware
- Are independent of the programming language and can be estimated from requirements
- Are always smaller numbers
- Can only be counted after coding
Answer: B. Are independent of the programming language and can be estimated from requirements
Explanation
Function points measure delivered functionality from the user's view, so they can be estimated early and compared across languages.
Step-by-step solution
- Function points measure the functionality the user sees.
- They are not tied to a programming language.
- So they can be estimated from requirements and compared across languages: option B.
Why the other options are wrong
- A. Runtime speed on target hardware is not what function points measure.
- C. Function points are not always smaller; the number depends on the functionality.
- D. Function points can be estimated before coding, from requirements.
Tip: Function points measure functionality, not code, so they work early in a project.
Question 4Easy
A Gantt chart is mainly used to:
- Display the control flow of a function
- Model the database
- Estimate code size
- Show project tasks against a timeline
Answer: D. Show project tasks against a timeline
Explanation
Each task is a horizontal bar spanning its planned start to finish dates, which makes schedule and overlap visible.
Step-by-step solution
- A Gantt chart draws each task as a bar on a timeline.
- The bar spans the planned start and finish dates.
- So it shows tasks against time: option D.
Why the other options are wrong
- A. Control flow of a function is shown by a flow graph, not a Gantt chart.
- B. Database models are shown by entity-relationship diagrams.
- C. Code size is estimated by LOC or function points, not a Gantt chart.
Tip: Gantt = tasks against time; the bars show schedule and overlaps.
Question 5Medium
In critical path analysis, what is the critical path?
- The longest path through the task network, which sets the minimum project duration
- The cheapest sequence of tasks
- The shortest path from the start node to the finish node, which gives the earliest possible completion date
- The path with the most tasks
Answer: A. The longest path through the task network, which sets the minimum project duration
Explanation
Any delay on a critical-path task delays the whole project, because those tasks have zero float (slack).
Step-by-step solution
- The critical path is a chain of dependent tasks through the network.
- It is the longest such path, with zero float.
- Its length sets the minimum project duration: option A.
Why the other options are wrong
- B. The cost of tasks is not what defines the critical path.
- C. The shortest path would not set the finish date; the longest path does.
- D. Counting tasks does not give the critical path; the total duration does.
Tip: Critical path = longest path by duration; delay any task on it and the project is late.
Question 6Medium
What is the range of the Value Adjustment Factor (VAF) in function point analysis?
- 0.5 to 1.5
- 0 to 1
- 0.65 to 1.35
- 1 to 14
Answer: C. 0.65 to 1.35
Explanation
14 characteristics are each rated 0 to 5, so the sum ranges 0 to 70, and VAF = 0.65 + 0.01 x sum ranges from 0.65 to 1.35.
Step-by-step solution
- There are 14 characteristics, each rated 0 to 5.
- The sum ranges from 0 to 70.
- VAF = 0.65 + 0.01 × sum runs from 0.65 to 1.35: option C.
Why the other options are wrong
- A. 0.5 to 1.5 is not the VAF range.
- B. 0 to 1 is not the VAF range.
- D. 1 to 14 is the range of neither the VAF nor the sum of the ratings.
Tip: VAF range: 0.65 (all zeros) to 1.35 (all fives).
Question 7Medium
Using Basic COCOMO for an organic project (effort = 2.4 x KLOC^1.05 person-months), what is the approximate effort for a 32 KLOC project?
- 77 person-months
- 146 person-months
- 91 person-months
- 230 person-months
Answer: C. 91 person-months
Explanation
Effort = 2.4 x 32^1.05
= 2.4 x 38.05 = about 91 person-months.
Step-by-step solution
- Effort = 2.4 × KLOC^1.05 with KLOC = 32.
- 32^1.05 is about 38.05.
- 2.4 × 38.05 is about 91.3, so about 91 person-months: option C.
Why the other options are wrong
- A. 77 comes from a different exponent or coefficient; the correct value is about 91.
- B. 146 is too high for the organic formula at 32 KLOC.
- D. 230 is far above the value of 2.4 × 32^1.05.
Tip: Basic COCOMO: effort = a × KLOC^b, with organic a = 2.4 and b = 1.05.
Question 8Medium
A task's optimistic, most likely and pessimistic estimates are 4, 6 and 14 days. What is the PERT (three-point) expected duration?
- 7 days
- 8 days
- 6 days
- 7.5 days
Answer: A. 7 days
Explanation
PERT estimate = (O + 4M + P) / 6
= (4 + 4x6 + 14) / 6
= 42/6
= 7 days.
Step-by-step solution
- PERT expected duration = (O + 4M + P) ÷ 6.
- O = 4, M = 6, P = 14: (4 + 24 + 14) ÷ 6 = 42 ÷ 6.
- The expected duration is 7 days: option A.
Why the other options are wrong
- B. 8 days would come from a wrong sum; the correct total is 42 ÷ 6 = 7.
- C. 6 days is the most likely value alone, not the PERT estimate.
- D. 7.5 does not match 42 ÷ 6 = 7.
Tip: PERT: (optimistic + 4 × most likely + pessimistic) ÷ 6.
Question 9Hard
For the same organic 32 KLOC project, effort is about 91.3 person-months and Basic COCOMO gives development time =
2.5 x Effort^0.38 months. What is the approximate average team size?
- 7 people
- 14 people
- 16 people
- 37 people
Answer: A. 7 people
Explanation
Time = 2.5 x 91.3^0.38
= about 13.9 months.
Average staff = effort / time
= 91.3 / 13.9 = about 7 people.
Step-by-step solution
- Time = 2.5 x 91.3^0.38.
- 91.3^0.38 = e^(0.38 x 4.514)
= e^1.715 = 5.56, so Time = 13.9 months.
- Team = Effort / Time
= 91.3 / 13.9 = 6.6, about 7 people.
Why the other options are wrong
- B. 14 is the development time in months, not the team size.
- C. Not obtained from the formula.
- D. Not obtained from the formula.
Tip: Staff = Effort / Time.
Question 10Hard
Using average complexity weights (EI = 4, EO = 5, EQ = 4, ILF = 10, EIF = 7), what is the unadjusted function point count for 10 external inputs, 8 external outputs, 5 external inquiries, 4 internal logical files and 2 external interface files?
- 145
- 140
- 170
- 154
Answer: D. 154
Explanation
UFP = 10x4 + 8x5 + 5x4 + 4x10 + 2x7
= 40 + 40 + 20 + 40 + 14 = 154.
Step-by-step solution
- EI: 10 × 4 = 40.
- EO: 8 × 5 = 40, EQ: 5 × 4 = 20.
- ILF: 4 × 10 = 40, EIF: 2 × 7 = 14.
- Total: 40 + 40 + 20 + 40 + 14 = 154: option D.
Why the other options are wrong
- A. 145 is 9 less than the correct total of 154.
- B. 140 leaves out part of the total; the correct sum is 154.
- C. 170 is 16 more than the correct sum.
Tip: UFP = each count × its average weight, then add all five.
Practise all 16 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →