benchmarks.wiki / Public workspace

MMLU-Pro / 10681 / Consider the following three scenarios, which could be modeled using three data…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

question

Consider the following three scenarios, which could be modeled using three data structures— dictionary/map, queue, and stack. Scenario 1: Cars line up in a single lane at a car wash. As each driver reaches the entrance of the car wash, the driver gets out of the car. An automatic pulley moves the car through the car wash as the driver walks to the exit of the car wash to pay and pick up the car. Scenario 2: Contestants auditioning for a reality television talent show are assigned a unique numeric ID upon completing a registration form. Scenario 3: Tennis balls are sold in a cylindrical can that can hold a maximum of 3 balls, where each ball except the bottom one rests on top of the ball below it. The 3 balls are placed in the can one at a time through one opening at the top of the can. The 3 balls are removed from the can one at a time through the same opening. Which of the following shows the data structures that best model the scenarios? Scenario 1 | Scenario 2 | Scenario 3

category

computer science

options

  1. Dictionary/map | Stack | Queue
  2. Queue | Stack | Dictionary/map
  3. Stack | Stack | Queue
  4. Stack | Queue | Dictionary/map
  5. Stack | Dictionary/map | Queue
  6. Queue | Queue | Stack
  7. Dictionary/map | Queue | Stack
  8. Dictionary/map | Dictionary/map | Stack
  9. Queue | Dictionary/map | Stack
  10. Dictionary/map | Queue | Queue

src

ori_mmlu-high_school_computer_science

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import