171 questions · 18 question types identified
A question is this type if and only if it asks the student to perform a quick sort algorithm on a given list, requiring pivots to be identified and showing the state after each pass.
A question is this type if and only if it asks the student to trace through a given algorithm (presented as pseudocode or flowchart) with specific input values, showing the values of variables at each step.
| LINE 10 | INPUT \(A , B\) |
| LINE 20 | LET \(C = A - B\) |
| LINE 30 | LET \(D = A + B\) |
| LINE 40 | LET \(E = ( D * D ) - ( C * C )\) |
| LINE 50 | LET \(F = E / 4\) |
| LINE 60 | PRINT \(F\) |
| LINE 70 | END |
A question is this type if and only if it asks the student to perform a bubble sort algorithm on a given list, showing the state after each pass or specific passes.
A question is this type if and only if it asks the student to apply the first-fit bin packing algorithm to pack items into bins of a given capacity.
A question is this type if and only if it asks the student to perform a binary search algorithm on a sorted list to locate a specific item, showing pivots and rejected portions.
A question is this type if and only if it asks the student to perform a shuttle sort algorithm on a given list, showing the state after each pass.
A question is this type if and only if it asks the student to deduce properties of an original list based on the state after one or more passes of a sorting algorithm.
A question is this type if and only if it asks the student to describe in words how to carry out a pass of a sorting algorithm (typically bubble sort).
A question is this type if and only if it asks the student to apply the first-fit decreasing bin packing algorithm, which requires sorting the list first (or using a pre-sorted list).
A question is this type if and only if it asks the student to identify which sorting algorithm was used based on the results shown, or compare efficiency of different algorithms.
A question is this type if and only if it asks the student to determine constraints on bin capacity or item values based on a given bin packing allocation.
A question is this type if and only if it asks the student to perform a Shell sort algorithm on a given list, showing the state after each pass.
A question is this type if and only if it asks the student to count or state the number of comparisons and/or swaps made during specific passes of a sorting algorithm.
A question is this type if and only if it asks the student to calculate a lower bound for the minimum number of bins needed in a bin packing problem.
A question is this type if and only if it asks the student to apply the next-fit bin packing algorithm to pack items into bins.
A question is this type if and only if it asks about the order (complexity) of an algorithm, such as explaining what quadratic order means or calculating run times for different input sizes.
A question is this type if and only if it asks for the maximum number of comparisons or swaps needed for a sorting algorithm on a list of n items, or what can be deduced from needing the maximum.
A question is this type if and only if it asks the student to determine whether a bin packing solution is optimal and justify their answer.