The correct answer is: B. visited
The sentence is in the past tense, so the correct verb form should also be in the past tense. The other options are not in the past tense.
- A. visit is in the present tense.
- C. will visit is in the future tense.
- D. none is not a verb.
The sentence can be rewritten as: "When he lived in Shimla, he visited the Mall once a week."