A workshop has 45 unchecked components. During each inspection pass, staff check half of the currently unchecked components, rounding that pass's count down to a whole component. Checked components are removed from the unchecked group. Repeat for exactly three passes. Find the number remaining unchecked and the total number checked, both in components to zero decimal places.
Unlock full course notes by signing up
Separate requirements from preferences
A library is planning a program to assign study rooms to groups. Match each problem-solving concept to the planning decision that illustrates it. Use each decision once. When comparing suitable rooms, every required condition still applies.
Preserve a value before replacing it
A workshop stores its tool allocations in three variables: north starts at 12 tools, east at 18 tools, and south at 9 tools. Tomorrow's allocation must give north today's east allocation, east today's south allocation, and south today's north allocation, using the original values.
The following steps run from top to bottom. Each copy immediately replaces the destination's value. Fill each blank with one variable name chosen from north, east, south, and saved.
Copy ________ into saved.
Find the initialization flaw
A proposed procedure should return the largest value in any nonempty list of integers. It sets best to 0, examines every list entry, replaces best whenever the entry is greater than best, and finally returns best. Which statements about this procedure are true? Select all that apply.
Search package plans and resolve a tie
A school club needs at least 23 reusable tool trays. Small packages contain 4 trays and cost $32 each. Large packages contain 7 trays and cost $48 each. Packages cannot be split, and there are no other charges or purchase limits.
The club wants the lowest total cost. If several plans have that cost, it chooses the plan with the fewest trays beyond the required 23.
Six small packages provide one feasible plan. Use that plan's cost as an initial spending limit for a search. Check every nonnegative whole-number count of large packages whose cost alone does not exceed this limit. For each count, select the smallest nonnegative number of small packages that supplies enough trays.