The English HOD asked you to write a small program to assist the English teachers to RAMDOMLY assign learners to do their oral examinations. Each teacher has a different number of learners in their class, so they will have to put in the number of students on a form. The program should then randomly return a number (which are allocated to each learner on the teacher’s class list) AND check whether the newly allocated number has not been used before. Your program therefor only has to return the following output: Slot 1 – Learner number 37 Slot 2 – Learner number 23 Slot 3 – Learner number 18 Slot 4 - Learner number 7 Slot 5 – Learner number 1 (etc.) You decided that this will be a fun project to give to your IT learners. a. Write a memo (which includes the whole program code) b. Indicate how you will assess and allocate marks to the learners
The English HOD asked you to write a small
RAMDOMLY assign learners to do their oral examinations. Each teacher has a
different number of learners in their class, so they will have to put in the number of
students on a form. The program should then randomly return a number (which are
allocated to each learner on the teacher’s class list) AND check whether the newly
allocated number has not been used before. Your program therefor only has to return
the following output:
Slot 1 – Learner number 37
Slot 2 – Learner number 23
Slot 3 – Learner number 18
Slot 4 - Learner number 7
Slot 5 – Learner number 1 (etc.)
You decided that this will be a fun project to give to your IT learners.
a. Write a memo (which includes the whole program code)
b. Indicate how you will assess and allocate marks to the learners.
Step by step
Solved in 4 steps with 2 images