diff --git a/src/main/java/org/sunbird/assessment/service/AssessmentServiceV4Impl.java b/src/main/java/org/sunbird/assessment/service/AssessmentServiceV4Impl.java index 07f11a715..88eafd528 100644 --- a/src/main/java/org/sunbird/assessment/service/AssessmentServiceV4Impl.java +++ b/src/main/java/org/sunbird/assessment/service/AssessmentServiceV4Impl.java @@ -595,6 +595,8 @@ private void readSectionLevelParams(Map assessmentAllDetail, } } List> questions = (List>) section.get(Constants.CHILDREN); + // Shuffle the list of questions + Collections.shuffle(questions); int maxQuestions = (int) section.getOrDefault(Constants.MAX_QUESTIONS, questions.size()); List childNodeList = questions.stream() .map(question -> (String) question.get(Constants.IDENTIFIER))