{{-- $test is null when creating; mode can't change after creation. --}} @php $selected = array_map('intval', old('batch_ids', $test ? $test->batches->pluck('id')->all() : [])); $dt = fn ($value) => $value?->format('Y-m-d\TH:i'); @endphp
Pick a course first.
OMR answer key (optional — for grading scanner output)
With a key, total marks = questions × marks per question.
Total marks are the sum of the questions you add. Each student gets the duration from when they start, but never past the closing time.