πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      A software company had 'p' lines of code in their

      codebase in 2019. It increased by 30% in 2020 and then by another 20% in 2021. In 2022, the lines of code were reduced by 50%. If in 2019, the percentage of bugs in the code was 15% and in 2022 it is 25%, then what is the percentage change in the number of bugs during this period?
      A 25% Correct Answer Incorrect Answer
      B 20% Correct Answer Incorrect Answer
      C 45% Correct Answer Incorrect Answer
      D 40% Correct Answer Incorrect Answer
      E none of these Correct Answer Incorrect Answer

      Solution

      ATQ, Let the lines of code in 2019 be 10000. In 2020, lines of code = 1.30Γ—10000=13000. In 2021, lines of code = 1.20Γ—13000=15600. In 2022, the lines of code reduced by 50% = 0.50Γ—15600=7800. Bugs in 2019 = 0.15Γ—10000=1500. Bugs in 2022 = 0.25Γ—7800=1950. Percentage change in bugs = {(1950βˆ’1500)/1500}Γ—100% = 30%. Therefore, the number of bugs increased by 30% from 2019 to 2022.

      Practice Next
      ask-question