We can use combinatorial proof here.
Method 1
Let $i$ students be chosen out of a class of $n$ to be graduation committee. Subsequently, each of $k$ tasks need to be assigned to exactly one committee member. Each committee member can handle multiple tasks. The difference between number of possible arrangement where the committee consist of even number of people vs odd number of people is given by the original equation.
$$
\sum_{i=0}^{n}\binom{n}{i}\cdot(-1)^{i}\cdot i^{k}
$$
Method 2
Each of $k$ tasks is assigned to exactly one students and the assigned students automatically become a committee member. If there are less tasks than students ($k<n$), there will always be remaining students that can still be committee member. Since the number of this additional committee member is equally likely to be odd or even, the difference mentioned in method 1 must be zero.
It there are equal number of tasks and students ($k=n$), it is possible that each student handle exactly one task ($n!$ possibilities). Since there is no students left to be made committee, the difference is not zero but instead $(-1)^{n}n!$.
Conclusion
$$
\sum_{i=0}^{n}\binom{n}{i}\cdot(-1)^{i}\cdot i^{k} = 0,
\phantom{xx} k=0,1,2,...,n-1
$$
$$
\sum_{i=0}^{n}\binom{n}{i}\cdot(-1)^{i}\cdot i^{n}
=
(-1)^{n}n!
$$