Which of the following is the same as the restricted-domain function𝑓(π‘₯)=𝑖𝑛𝑑(π‘₯),0≀π‘₯<2

(A) 𝑓(π‘₯)={0𝑖𝑓0≀π‘₯<11𝑖𝑓π‘₯=12𝑖𝑓1<π‘₯<2
(B) 𝑓(π‘₯)={0𝑖𝑓π‘₯=01𝑖𝑓0<π‘₯≀12𝑖𝑓1<π‘₯<2
(C) 𝑓(π‘₯)={0𝑖𝑓0≀π‘₯<11𝑖𝑓1≀π‘₯<2
(D) 𝑓(π‘₯)={0𝑖𝑓0≀π‘₯<12𝑖𝑓1≀π‘₯<2
(E)𝑓(π‘₯)={π‘₯𝑖𝑓0≀π‘₯<11+π‘₯𝑖𝑓1≀π‘₯<2

I am trying to make sense of this. Perhaps you mean:

Which of the following is the same as the restricted-domain function𝑓(π‘₯)=𝑖𝑛𝑑(π‘₯),0≀π‘₯<2

(A) 𝑓(π‘₯)={0 𝑖𝑓 0≀π‘₯<1 , 1 𝑖𝑓 π‘₯=1 , 2 𝑖𝑓 1<π‘₯<2
(B) 𝑓(π‘₯)={0 𝑖𝑓 π‘₯=0 , 1 𝑖𝑓 0<π‘₯≀1 , 2 𝑖𝑓 1<π‘₯<2
(C) 𝑓(π‘₯)={0 𝑖𝑓 0≀π‘₯<1 , 1 𝑖𝑓 1≀π‘₯<2
(D) 𝑓(π‘₯)={0 𝑖𝑓 0≀π‘₯<1 , 2 𝑖𝑓 1≀π‘₯<2
(E)𝑓(π‘₯)={π‘₯ 𝑖𝑓 0≀π‘₯<1 , 1+π‘₯ 𝑖𝑓 1≀π‘₯<2

0 is 0 , It can round down to zero if between 0 and 1
1 is 1, it can round down to 1 between 1 and 2
looks like C