Here's a swap and check exercise to consolidate the advanced rules of gerunds and infinitives for intermediate classes. There are a and b versions of worksheets with similar questions. You can divide your class into two and give them separately. Then, your students should swap them to check others' worksheets. It'll be great for increasing classroom interaction and your students will love checking their friends' worksheets. An answer key is also included.
You can find the grammar reference worksheet here.