{{ ___('common.sr_no') }} | {{ ___('online-examination.question') }} | {{ ___('online-examination.Mark') }} |
---|---|---|
{{ ++$key }} |
{{ $item->question->question }} @if ($item->question->type == 1) @for($i = 0; $i < $item->question->total_option; $i++) {{++$i}}. {{$item->question->questionOptions[--$i]->option}} @endfor {{ ___('online-examination.Answer') }}: {{$item->question->answer}}. @elseif ($item->question->type == 2) @for($i = 0; $i < $item->question->total_option; $i++) {{++$i}}. {{$item->question->questionOptions[--$i]->option}} @endfor {{ ___('online-examination.Answer') }}: @foreach ($item->question->answer as $ans) {{$ans}}. @endforeach @elseif($item->question->type == 3) {{ ___('online-examination.1') }}. {{ ___('online-examination.True') }} {{ ___('online-examination.2') }}. {{ ___('online-examination.False') }} {{ ___('online-examination.Answer') }}: {{$item->question->answer}}. @endif |
{{ $item->question->mark }} |