<prompt> Translate the following text to SwahiliIn earlier sections, we discussed seven bases for purposive selection of instances and six applications of the case study method, each of which was associated with a different evaluation purpose or question.  <response>: Katika sehemu zilizotangulia, tulizungumzia misingi saba kwa ajili ya uteuzi wa madhumuni ya matukio na matumizi sita ya njia ya utafiti wa kesi, kila moja ambayo ilikuwa kuhusishwa na tofauti ya tathmini lengo au swali. 