📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What is the purpose of using a profiler in software

    development?
    A To check for syntax errors. Correct Answer Incorrect Answer
    B To measure the execution time and resource usage of different parts of a program. Correct Answer Incorrect Answer
    C To manage version control. Correct Answer Incorrect Answer
    D To write unit tests. Correct Answer Incorrect Answer
    E To automatically refactor code. Correct Answer Incorrect Answer

    Solution

    A profiler is a tool that analyzes the performance of a program. It helps identify "hot spots" – parts of the code that consume the most CPU time or memory – allowing developers to focus optimization efforts where they will have the greatest impact.

    Practice Next
    ask-question