filter-b

paper
todo
Published

March 20, 2026

Question

Sie möchten nur die Mariokart-Auktionen untersuchen, die sowohl ein Foto haben (stock_photo == "yes") als auch im Zustand „neu“ (cond == "new") sind. Welche Syntax ist korrekt?

Answerlist

  • filter(mariokart, stock_photo == “yes” & cond == “new”)
  • filter(mariokart, stock_photo == “yes” | cond == “new”)
  • select(mariokart, stock_photo == “yes” & cond == “new”)
  • filter(mariokart, stock_photo == “yes” + cond == “new”)
  • arrange(mariokart, stock_photo == “yes”, cond == “new”)

Solution

Das kaufmännische Und (&) wird verwendet, um zwei Bedingungen logisch so zu verknüpfen, dass beide erfüllt sein müssen.

Aufgabenname: filter-b

Answerlist

  • Richtig
  • Falsch
  • Falsch
  • Falsch
  • Falsch

Meta-information

exname: filter-b extype: schoice expoints: 1 exsolution: 10000 exshuffle: TRUE