There are 21 questions. You may only do the assignment once but 2 attempts have been given in case you let it time out. This is the only reason to use the second attempt.