1) The process of checking a program for errors by running it with various inputs to ensure expected outcomes. a) Runtime Error b) Dry Run c) Trace Table Columns d) Testing 2) A tool used to record the values of variables step-by-step during a dry-run of an algorithm to identify logic errors. a) Syntax Error b) Logic Error c) Trace Table Columns d) Trace Table 3) Manually going through the logic of a program with sample data to find errors without using a computer. a) Dry Run b) Normal Data c) Output d) Logic Error 4) An error in the code that violates the programming language's rules; the program cannot be compiled or run until fixed. a) Runtime Error b) Abnormal Data c) Testing d) Syntax Error 5) An error where the program runs but produces incorrect results due to flawed reasoning in the code. a) Trace Table Columns b) Abnormal Data c) Logic Error d) Boundary Data 6) An error that occurs while the program is running, often due to unexpected user input or invalid operations like division by zero. a) OUTPUT Statements b) Iteration c) Extreme Data d) Runtime Error 7) Input data that is within the expected range and format. a) Trace Table Columns b) Syntax Error c) Extreme Data d) Normal Data 8) Input data that is outside the expected range or is of the wrong type. a) Abnormal Data b) Logic Error c) Trace Table Columns d) Boundary Data 9) Input at the very edge of valid input ranges (e.g., minimum and maximum values). a) Dry Run b) Extreme Data c) Variable d) Normal Data 10) Input that tests the exact edges of valid input, as well as slightly invalid inputs just outside the acceptable range. a) Testing b) Iteration c) Boundary Data d) Extreme Data 11) Used within code to display variable values and track program behavior during testing. a) Extreme Data b) Runtime Error c) OUTPUT Statements d) Dry Run 12) Include variable names, their values during each iteration, outputs, and user inputs. a) Trace Table Columns b) Logic Error c) Extreme Data d) Iteration 13) Repeating a sequence of instructions in a loop. a) Syntax Error b) Variable c) Iteration d) Dry Run 14) A named location in memory a) Variable b) Iteration c) Extreme Data d) Output 15) The result or feedback given by a program. a) Extreme Data b) Iteration c) Output d) Trace Table Columns 16) A message displayed to the user to request input. a) Boundary Data b) Trace Table c) Normal Data d) Prompt 17) An evaluation step used to detect an error or confirm correctness of a program operation. a) Check b) Syntax Error c) Boundary Data d) OUTPUT Statements

Unit 8 Algorithms - T6 Testing & Trace Tables - Quiz

Leaderboard

Visual style

Options

Switch template

Continue editing: ?