The type of error in the given sentence above is option C. It contains no error. The given sentence's structure is correctly written and the objects of the sentence are also parallel. The word "swimming" in the sentence is a gerund and is not used a verb. Therefore, "to do homework and swimming" is correct.