Questions: Step Functions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Evaluate ⌊−2.7⌋.

A−2
B−3
C2
D3
Question 2 Multiple Choice

A parking garage charges $6 for each full or partial hour. A driver parks for 1 hour and 25 minutes. What is the correct charge?

A$6.00 — they've been there less than 1.5 hours, so the first-hour rate applies
B$8.50 — multiply the hourly rate by 1.42 hours
C$12.00 — 1 hour and any partial additional hour means they are charged for 2 hours
D$9.00 — round to the nearest hour
Question 3 True / False

The floor function ⌊x⌋ rounds any non-integer input toward the nearest integer.

TTrue
FFalse
Question 4 True / False

On the graph of f(x) = ⌊x⌋, the horizontal segment covering the interval [3, 4) has a closed circle at x = 3 and an open circle at x = 4.

TTrue
FFalse
Question 5 Short Answer

Why does ⌊−1.2⌋ equal −2 rather than −1, and how would you explain the difference to someone applying 'round toward zero'?

Think about your answer, then reveal below.