If you're just writing a few words, it could be a "fill-in-the-blanks exercise."
But when you use the word "passage", it makes it sound like it might be more extensive. Did you mean "sentence" or "paragraph?" If you're writing more than just a few words to complete a sentence, it's simply a "writing exercise."