Performance Summary

{{ $correctCount }}
Correct Answers
{{ $attemptedCount - $correctCount }}
Incorrect Answers
{{ $totalQuestions - $attemptedCount }}
Not Attempted
{{ $percentageScore }}%
Accuracy Rate

Completed Questions

All MCQ questions attempted by the student

@if(isset($course_name) && $course_name)
{{ $course_name }}
@endif @if(isset($module_name) && $module_name)
{{ $module_name }}
@endif
{{ count($completedmcqs) }} Questions
@if(count($completedmcqs) > 0)
@foreach($completedmcqs as $index => $mcq)
{{ $index + 1 }}

{{ $mcq->question ?? 'Untitled Question' }}

@php $difficultyColors = [ 'easy' => ['bg' => '#065f46', 'text' => '#34d399'], 'medium' => ['bg' => '#92400e', 'text' => '#f59e0b'], 'hard' => ['bg' => '#991b1b', 'text' => '#f87171'] ]; $level = $mcq->level ?? 'easy'; $colors = $difficultyColors[$level] ?? $difficultyColors['easy']; @endphp
Level: {{ ucfirst($level) }}
Selected Answer: {{ $mcq->selectedanswer ?? 'Not recorded' }} @if($mcq->is_correct) @else @endif
Correct Answer: {{ $mcq->correctanswer ?? 'N/A' }}
@if($mcq->submitedtime)
Submitted At : {{ \Carbon\Carbon::parse($mcq->submitedtime)->format('d M Y, h:i A') }}
@endif
@endforeach
@else

No Questions Attempted

This student hasn't attempted any MCQ questions for this assessment yet.

@endif