Sample questions
Question 1Easy
A system ran for 2000 hours and failed 8 times. What is its mean time between failures (MTBF)?
- 800 hours
- 500 hours
- 125 hours
- 250 hours
Answer: D. 250 hours
Explanation
MTBF = total operating time / number of failures
= 2000 / 8
= 250 hours.
Step-by-step solution
- MTBF = total operating time ÷ number of failures.
- 2000 hours ÷ 8 failures = 250 hours.
- The MTBF is 250 hours: option D.
Why the other options are wrong
- A. 800 hours would come from 2000 ÷ 2.5, which does not use 8 failures.
- B. 500 hours would be 2000 ÷ 4, which uses the wrong count.
- C. 125 hours would be 2000 ÷ 16, which doubles the failure count.
Tip: MTBF = operating time ÷ failures.
Question 2Easy
Updating an application so that it runs on a new operating system version is:
- Perfective maintenance
- Preventive maintenance
- Adaptive maintenance
- Corrective maintenance
Answer: C. Adaptive maintenance
Explanation
Adaptive maintenance keeps the software usable in a changed environment, such as a new OS, hardware or regulation.
Step-by-step solution
- Moving to a new OS version changes the environment.
- Adapting software to environment changes is adaptive maintenance.
Why the other options are wrong
- A. Perfective adds or improves features.
- B. Preventive reduces future faults.
- D. Corrective fixes existing bugs.
Question 3Easy
Fixing a bug reported by a customer in production is which type of maintenance?
- Adaptive
- Corrective
- Perfective
- Preventive
Answer: B. Corrective
Explanation
Corrective maintenance repairs faults discovered after delivery.
Step-by-step solution
- A customer reported a defect in production.
- Fixing defects is corrective maintenance.
Why the other options are wrong
- A. Adaptive adjusts to new environments.
- C. Perfective improves features or performance.
- D. Preventive reduces future problems.
Question 4Easy
Which is the correct order of CMMI maturity levels from 1 to 5?
- Initial, Defined, Managed, Optimizing, Quantitatively Managed
- Initial, Repeatable, Optimizing, Defined, Managed
- Initial, Managed, Defined, Quantitatively Managed, Optimizing
- Managed, Initial, Defined, Optimizing, Quantitatively Managed
Answer: C. Initial, Managed, Defined, Quantitatively Managed, Optimizing
Explanation
Organisations move from ad hoc processes (Initial) to project-level management, organisation-wide standards, statistical control and finally continuous improvement.
Step-by-step solution
- CMMI level 1 is Initial, the ad hoc level.
- Level 2 is Managed, then level 3 is Defined.
- Level 4 is Quantitatively Managed and level 5 is Optimizing.
- The order is Initial, Managed, Defined, Quantitatively Managed, Optimizing: option C.
Why the other options are wrong
- A. Defined comes at level 3, not level 2.
- B. Repeatable is a level of the older CMM, and Optimizing is level 5, not level 3.
- D. Managed is level 2, not level 1; Initial is level 1.
Tip: CMMI: Initial, Managed, Defined, Quantitatively Managed, Optimizing.
Question 5Medium
Lehman's law of 'increasing complexity' states that:
- As a system evolves, its complexity increases unless work is done to reduce it
- Software complexity always decreases with use
- Complexity grows only when the team grows, because more developers write more code in parallel
- A system's complexity is fixed at design time
Answer: A. As a system evolves, its complexity increases unless work is done to reduce it
Explanation
Each change tends to degrade structure, so deliberate effort such as refactoring is needed to keep complexity under control.
Step-by-step solution
- Lehman's law says that a system's complexity grows as it evolves.
- Each change tends to degrade structure, unless effort is spent to reduce complexity.
- That is option A.
Why the other options are wrong
- B. Complexity does not decrease with use under this law; it grows without upkeep.
- C. The law is about the system's evolution, not the team size.
- D. The law says complexity changes over time, so it is not fixed at design time.
Tip: Lehman's law: systems grow more complex over time unless they are actively maintained (for example by refactoring).
Question 6Medium
In a formal inspection (Fagan inspection), who leads the meeting and ensures the process is followed?
- The end user
- The author
- The moderator
- The scribe
Answer: C. The moderator
Explanation
The moderator plans and runs the inspection; the author answers questions, readers present the material and the scribe records defects.
Step-by-step solution
- In a Fagan inspection, the moderator plans and runs the meeting.
- The moderator makes sure the process is followed.
- So the moderator leads: option C.
Why the other options are wrong
- A. The end user does not run the inspection.
- B. The author answers questions about the work but does not run the process.
- D. The scribe records defects; the scribe does not lead the meeting.
Tip: Fagan roles: moderator leads, author answers, reader presents, scribe records.
Question 7Medium
Adding a feature requested by users or improving performance of working software is:
- Emergency maintenance
- Corrective maintenance
- Perfective maintenance
- Adaptive maintenance
Answer: C. Perfective maintenance
Explanation
Perfective maintenance enhances functionality or performance in response to user needs; it is typically the largest share of maintenance effort.
Step-by-step solution
- Adding a feature requested by users is an enhancement.
- Improving performance of working software is also an enhancement.
- Enhancement is perfective maintenance: option C.
Why the other options are wrong
- A. Emergency maintenance fixes urgent failures, not enhancements.
- B. Corrective maintenance fixes faults found by users.
- D. Adaptive maintenance changes software to suit a new environment.
Tip: Corrective = fix faults; adaptive = new environment; perfective = improve features; preventive = avoid future problems.
Question 8Medium
Analysing an existing system's code to recover its design and specifications is called:
- Reverse engineering
- Regression testing
- Forward engineering
- Refactoring
Answer: A. Reverse engineering
Explanation
Reverse engineering moves from a lower abstraction (code) to a higher one (design), often as the first step of re-engineering.
Step-by-step solution
- Analysing code to recover its design and specifications moves from code to a higher level.
- This is the reverse of forward engineering.
- That process is reverse engineering: option A.
Why the other options are wrong
- B. Regression testing re-runs tests after a change, not an analysis of the code.
- C. Forward engineering builds a system from specifications down to code.
- D. Refactoring changes structure without changing behaviour; it does not recover design.
Tip: Reverse engineering = code to design; forward engineering = design to code.
Question 9Hard
A service promises 99.9% availability over a 365-day year. About how much downtime does this allow per year?
- About 0.15 hours
- About 8.76 hours
- About 87.6 hours
- About 0.88 hours
Answer: B. About 8.76 hours
Explanation
Downtime = 365 x 24 x (1 - 0.999)
= 8760 x 0.001
= 8.76 hours, which is about 8 hours 46 minutes.
Step-by-step solution
- A year has 365 × 24 = 8,760 hours.
- 99.9% availability allows 1 − 0.999 = 0.001 of the time to be down.
- 8,760 × 0.001 = 8.76 hours: option B.
Why the other options are wrong
- A. 0.15 hours is about 9 minutes, which is far too little for 99.9%.
- C. 87.6 hours is 1% of the year, which corresponds to 99%.
- D. 0.88 hours is about 53 minutes, which is 0.01% of the year.
Tip: Downtime = hours in the period × (1 − availability); each extra nine cuts downtime tenfold.
Question 10Hard
An organisation uses statistical data to control process performance quantitatively, but does not yet focus on continuous process improvement. Which CMMI maturity level fits best?
- Level 4
- Level 3
- Level 2
- Level 5
Answer: A. Level 4
Explanation
Level 4 (Quantitatively Managed) uses quantitative objectives and statistical control; Level 5 (Optimizing) adds continuous, data-driven improvement.
Step-by-step solution
- The question describes statistical control of process performance.
- That is the Quantitatively Managed level.
- The level without a focus on continuous improvement is level 4: option A.
Why the other options are wrong
- B. Level 3 (Defined) uses organisation-wide standard processes, not statistical control.
- C. Level 2 (Managed) is project-level management, without statistical control.
- D. Level 5 (Optimizing) adds continuous, data-driven improvement, which the question excludes.
Tip: Level 4 = measure and control; level 5 = also improve continuously.
Practise all 15 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 →