Courseiva
Software Development ConceptsmediumMultiple SelectObjective-mapped

FC0-U71 Software Development Concepts Practice Question

A developer is debugging a program that crashes with an error. Which THREE of the following are common debugging techniques?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Stepping through code line by line

Setting breakpoints, stepping through code, and inspecting variable values are standard debugging techniques. Rewriting the entire program is inefficient, and ignoring errors does not help.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Stepping through code line by line

    Why this is correct

    Step-through execution helps trace the program flow.

  • Ignoring the error and continuing

    Why it's wrong here

    Ignoring errors prevents resolution.

  • Recompiling the entire program without changes

    Why it's wrong here

    Recompiling alone doesn't help find bugs.

  • Setting breakpoints to pause execution

    Why this is correct

    Breakpoints allow examination of program state at specific lines.

  • Inspecting variable values during execution

    Why this is correct

    Checking variable values helps identify incorrect data.

About these practice questions

One of 988 original FC0-U71 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on FC0-U71

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A developer is debugging a program that produces incorrect output. The developer sets a breakpoint on a specific line of code and runs the program in a debugger. When execution stops at the breakpoint, the developer examines the values of variables at that point. What debugging technique is being used?

hard
  • A.Step-through execution
  • B.Logging
  • C.Unit testing
  • D.Code review

Why A: Using breakpoints and inspecting variables is a common debugging technique to identify issues.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.