<prompt> Theha algorithm ka pseudocode e hlophisang palo ea lipalo u sebelisa mokhoa oa ho khetha.Lethathamo: 3, 1, 4, 7, 8, 2  <response>: Instruction in English: Create an algorithm in pseudocode that sorts an array of numbers using the selection sort method. . Response in English: Here is a pseudocode that sorts an array of numbers using the selection sort method:Procedure selection_sortArray: list of sortable itemsBEGIN Declare index_min, temporary: integer For i from 0 to Array length - 2 index_min i For j from i1 to Array length - 1 If Arrayj Arrayindex_min, Then index_min j End If End For temporary Arrayi Arrayi Arrayindex_min Arrayindex_min temporary End ForENDExample: Array: 3, 1, 4, 7, 8, 2After first pass: 1, 3, 4, 7, 8, 2After second pass: 1, 2, 4, 7, 8, 3After third pass: 1, 2, 3, 7, 8, 4After fourth pass: 1, 2, 3, 4, 8, 7After fifth pass: 1, 2, 3, 4, 7, 8After all passes: 1, 2, 3, 4, 7, 8 . Response in Sesotho: Mona ke pseudocode e hlophisang palo ea lipalo e sebelisa mokhoa oa ho khetha: Mokhoa oa khetho_sortArray: lethathamo la lintho tse ka hlophisoang BEGIN Declare index_min, temporary: integer For i from 0 to Array length - 2 index_min i For j from i 1 ho Array length - 1 If Arrayj Arrayindex_min, Then index_min j End If End For temporary Arrayi Arrayi Arrayindex_min Arrayindex_min Qetello ea nakoana Bakeng sa END Mohlala : Array: 3, 1, 4, 7, 8, 2 Ka mora ho feta pele: 1, 3, 4, 7, 8, 2 Ka mora ho feta ha bobeli: 1, 2, 4, 7, 8, 3 Ka mora paso ea boraro: 1, 2, 3, 7, 8, 4 Ka mora paso ea bone: 1, 2, 3, 4, 8, 7 Ka mora pase ea bohlano: 1, 2, 3, 4, 7, 8 Ka mora ho feta: 1, 2, 3, 4, 7, 8 