Prepare for the 241 Computer Science Certification Exam with comprehensive flashcards and multiple choice questions. Enhance knowledge with explanations and hints to excel in your test journey!

Multiple Choice

Which term is defined as an error that causes a program to produce incorrect results?

Main concept: when software delivers wrong results, the issue is called a bug. A bug is a defect in the code or its logic that causes the program to behave differently than intended, leading to incorrect output. This umbrella term covers many underlying problems, including logic errors, which are mistakes in the algorithm itself and produce wrong results even if the code runs smoothly. Other terms describe different failure modes: syntax errors are mistakes in the language grammar that prevent the program from running at all; runtime errors happen during execution and can crash or raise exceptions. So for an issue that results in incorrect results, the broad and appropriate label is a bug.

Main concept: when software delivers wrong results, the issue is called a bug. A bug is a defect in the code or its logic that causes the program to behave differently than intended, leading to incorrect output. This umbrella term covers many underlying problems, including logic errors, which are mistakes in the algorithm itself and produce wrong results even if the code runs smoothly. Other terms describe different failure modes: syntax errors are mistakes in the language grammar that prevent the program from running at all; runtime errors happen during execution and can crash or raise exceptions. So for an issue that results in incorrect results, the broad and appropriate label is a bug.