Entropy is a state function.
True
Does entropy depend on the path it is taking?
No, it is not
It is independent of path for going from one state to another.
It depends upon the state variables (T, p, V, n)
It depends only on initial and final state.
△S = Sfinal state - Sinitial state