Back to marketplace

U4: Debugging and Validating Data

No description yet. This curated deck is ready for daily study.

Total cards: 15•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (15)

#1
Front (Question)

Trial and Error

Back (Answer)

• Good for programming as cost of failure is low • Takes little time and money, low stakes

#2
Front (Question)

Rule of Ten

Back (Answer)

• Trial and error cheaper in earlier stages of Software Development Life Cycle • Error costs x10 more to fix at each next stage

#3
Front (Question)

Iteration

Back (Answer)

Continually trying solutions, refining each one, getting closer to end goal

#4
Front (Question)

Run-Time Error

Back (Answer)

• Occurs when program crashes • Can be caused by dividing by 0, opening nonexistent file

#5
Front (Question)

Syntax Error

Back (Answer)

• Mistake in writing code • Ex: Missing variable, forgetting curly bracket • AKA: Compile Time Errors as they’re caught while compiling

#6
Front (Question)

Logic Error

Back (Answer)

• Program runs but output incorrect • Can cause run-time error as well

#7
Front (Question)

Top-down Design

Back (Answer)

Solution where problem broken down into smaller and smaller sub-problems until each can be solved in few steps

#8
Front (Question)

Variable Inspection

Back (Answer)

Visualizers inspect values of objects

#9
Front (Question)

Visualizers

Back (Answer)

Allow to see how code executes step by step

#10
Front (Question)

Data Structure Visualization

Back (Answer)

Visualizers include tools for visualizing data structures (ex: arrays, lists, trees, graphs).

#11
Front (Question)

Tracing

Back (Answer)

• Outputting values of variables during program • Delete output statements when program debugged

#12
Front (Question)

Test Data

Back (Answer)

• Should have wide range of input data • Include different data (ex: 0, decimals instead of strings)

#13
Front (Question)

Test Plan

Back (Answer)

• Includes aspects of program tested • Outcomes of test (positive or negative and details to errors) • Changes made to program

#14
Front (Question)

Data Validation

Back (Answer)

Checking to ensure data entered is expected

#15
Front (Question)

try… catch command

Back (Answer)

• “try” command tries algorithm that may cause crash • “catch” command catches problem, stopping catch