2. Functions
Piecewise Functions — Quiz
Test your understanding of piecewise functions with 5 practice questions.
Practice Questions
Question 1
What is a piecewise function?
Question 2
For the function $f(x)=\begin{cases}x+2 & \text{if } x<0\\ x^2 & \text{if } x\ge 0\end{cases}$, what is $f(-3)$?
Question 3
For the function $f(x)=\begin{cases}2x & \text{if } x\le 1\\ 3 & \text{if } x>1\end{cases}$, what is $f(1)$?
Question 4
Which statement best describes the graph of a piecewise function?
Question 5
In a piecewise function, why are boundary points like $x=2$ important?
