What level class is this and what sort of school? Some colleges will have more of a culture of flexibility about these things. However, my starting point would be that unless there's something mentioned in the syllabus, the answer is very likely going to be no; most people have a general attitude of a) not making special exceptions and b) aren't inclined to give extra credit for what is likely going to be mediocre work. A more useful way of responding is probably to instead go to the professor's office hours and go over the test with them, and make sure you understand the material. This is especially important because in many circumstances, later material builds on earlier material so it is vital to have a good command of the early material before you go on to the later material.