Jordan canonical form of a matrix

Consider the following matrix:

A=[0100001000040000].
  1. Determine the characteristic and minimal polynomials of A.
  2. Find a basis for R4 consisting of generalized eigenvectors of A.
  3. Find an invertible matrix S such that S1AS is in Jordan canonical form.
  4. Determine a Jordan canonical form of A.
Important note

Sometime after this exam was given, the exam syllabus was updated and the topic of Jordan canonical forms was removed. As such, this problem does not appear in the problem bank.