@extends('layouts.staff_dashboard') @section('title', 'Bulk Upload MCQs') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

MCQ Management

{{ $courseName ?? 'N/A' }} {{ $moduleName ?? 'N/A' }} {{ $topicName ?? 'N/A' }}
Download Format

Upload CSV File

Select a CSV file containing your MCQ questions for the selected course, module, and topic

@csrf

Choose CSV File

Drag & drop your file here or click to browse

Supported format: .csv
No file selected

CSV Format Requirements

Your CSV file should include the following columns in order:

  • question - The MCQ question text (Required)
  • option1 - First answer option (Required)
  • option2 - Second answer option (Required)
  • option3 - Third answer option (Required)
  • option4 - Fourth answer option (Required)
  • answer - Correct answer text (Optional, defaults to option1 if not found)
  • level - Difficulty level (Optional: Easy, Medium, Hard - defaults to Easy)

Note: Options must be unique (no duplicates). Header row is optional.

@endsection