The question is to find $2^{3^{100}} \pmod 5$ and its last digit.
I think we have to find $2 \pmod 5$ and $3^{100}\pmod 5$ separately, right?
$$2 = 2 \pmod 5$$ $$3^4 = 1 \pmod 5$$ $$3^{100} = 1 \pmod 5$$ $$2^{3^{100}} = 2^1 = 2 \pmod 5$$
Is this solution correct? And to find the last digit do we just solve modulo $10$?