Algorithms
, Digital Promise Creating Algorithms
Question 1.
The response should address “Sequence, Selection, and Control Structures” and “Data
Representation, Variables, and State Management”, not “Debugging, Testing, and Optimization”.
Which pair stays within the two requested focuses?
A. 1: Organizing data structures such as arrays, lists, and key-value pairs for algorithmic
processing; 2: Tracing execution paths using walkthroughs, trace tables, and dry runs
B. 1: Managing boolean expressions, relational operators, and logical operators (AND,OR,
NOT); 2: Organizing data structures such as arrays, lists, and key-value pairs for algorithmic
processing
C. 1: Managing boolean expressions, relational operators, and logical operators (AND,OR,
NOT); 2: Tracing execution paths using walkthroughs, trace tables, and dry runs
D. 1: Tracing execution paths using walkthroughs, trace tables, and dry runs; 2: Breaking
complex problems down into modular functions and procedures
Correct Answer: B
Full Explanation:
The focus “Sequence, Selection, and Control Structures” includes the following: Managing
boolean expressions, relational operators, and logical operators (AND,OR, NOT). The focus
“Data Representation, Variables, and State Management” includes the following: Organizing
data structures such as arrays, lists, and key-value pairs for algorithmic processing. The focus
“Debugging, Testing, and Optimization” includes the following: Tracing execution paths using
walkthroughs, trace tables, and dry runs. The correct choice preserves these distinctions
instead of substituting one concern for another.
Record 2824 2
, Digital Promise Creating Algorithms
Question 2.
Which proposed focus–concern pairing requires correction?
Concerns under review: Breaking complex problems down into modular functions and
procedures; integers, floats, strings, booleans; Evaluating algorithm efficiency, correctness, and
scalability in everyday problem-solving; Implementing binary and multi-way selection structures
using conditional logic (if, else, else−if).
A. Defining and using variables, constants, and data types → integers, floats, strings, booleans
B. Debugging, Testing, and Optimization → Breaking complex problems down into modular
functions and procedures
C. Sequence, Selection, and Control Structures → Implementing binary and multi-way selection
structures using conditional logic (if, else, else−if)
D. Foundations of Computational Thinking and Algorithmic Logic → Evaluating algorithm
efficiency, correctness, and scalability in everyday problem-solving
Correct Answer: B
Full Explanation:
The focus “Modularization, Functions, and Decomposition” includes the following: Breaking
complex problems down into modular functions and procedures. The focus “Debugging,
Testing, and Optimization” includes the following: Identifying syntax, runtime, and logical errors
within algorithm designs. The correct choice preserves these distinctions instead of substituting
one concern for another.
Question 3.
Three pairings preserve the relevant distinction. Which pairing needs to be revised?
Concerns under review: Designing linear instruction sequences for predictable, step-by-step task
execution; Breaking complex problems down into modular functions and procedures; Creating
test cases (valid, boundary, and erroneous data) to validate system reliability; if, else, else−if.
A. Debugging, Testing, and Optimization → Designing linear instruction sequences for
predictable, step-by-step task execution
B. Debugging, Testing, and Optimization → Creating test cases (valid, boundary, and
erroneous data) to validate system reliability
C. Modularization, Functions, and Decomposition → Breaking complex problems down into
modular functions and procedures
D. Implementing binary and multi-way selection structures using conditional logic → if, else,
else−if
Correct Answer: A
Full Explanation:
The focus “Sequence, Selection, and Control Structures” includes the following: Designing linear
instruction sequences for predictable, step-by-step task execution. The focus “Debugging,
Testing, and Optimization” includes the following: Identifying syntax, runtime, and logical errors
within algorithm designs. The correct choice preserves these distinctions instead of substituting
one concern for another.
Record 2824 3
, Digital Promise Creating Algorithms
Question 4.
The required focuses are “Implementing binary and multi-way selection structures using
conditional logic” and “Modularization, Functions, and Decomposition”. A draft includes “if, else,
else−if”, but substitutes “Evaluating algorithm efficiency, correctness, and scalability in
everyday problem-solving” for the second focus. Which replacement repairs the second part
while retaining the first?
A. counter-controlled loops, condition-controlled loops, nested structures
B. Passing parameters and arguments into functions to enable reusable code blocks
C. if, else, else−if
D. Distinguishing between sequential, conditional, and iterative execution models
Correct Answer: B
Full Explanation:
The focus “Implementing binary and multi-way selection structures using conditional logic”
includes the following: if, else, else−if. The focus “Modularization, Functions, and
Decomposition” includes the following: Passing parameters and arguments into functions to
enable reusable code blocks. The focus “Foundations of Computational Thinking and
Algorithmic Logic” includes the following: Evaluating algorithm efficiency, correctness, and
scalability in everyday problem-solving. The existing element does not replace the separate
requirement; the additional element must address that requirement directly.
Question 5.
A response is expected to address “Modularization, Functions, and Decomposition” and “Data
Representation, Variables, and State Management”. It offers “Managing scope, local variables,
and global state within algorithmic modules” and “Passing parameters and arguments into
functions to enable reusable code blocks”. Which evaluation best identifies the scope
represented?
A. Only the second named focus is represented
B. Neither named focus is represented
C. Only the first named focus is represented
D. Both named focuses are represented
Correct Answer: C
Full Explanation:
The focus “Modularization, Functions, and Decomposition” includes the following: Managing
scope, local variables, and global state within algorithmic modules. The focus “Modularization,
Functions, and Decomposition” includes the following: Passing parameters and arguments into
functions to enable reusable code blocks. The focus “Data Representation, Variables, and State
Management” includes the following: Organizing data structures such as arrays, lists, and
key-value pairs for algorithmic processing. Judge each proposed link separately. A correct link
for one concern does not make a different assignment correct.
Record 2824 4