{{-- @include('layouts.message')--}}
| SN |
Question |
Student Answer |
Status |
@php
$marks = 0;
@endphp
@foreach($objectiveQuestions as $key=>$objectiveQuestion)
| {{++$key}} |
@if($objectiveQuestion->use_image=='yes')
@else
{{$objectiveQuestion->name}}
@endif
|
@if($checkStudentAnswer = $objectiveQuestion->studentObjectiveAnswers()->where('student_id',$student->id)->first())
@php
$questionOption = \App\OnlineExam\QuestionOption::findOrFail($checkStudentAnswer->question_option_id);
@endphp
@if($questionOption->use_image=='yes')
@else
{{$questionOption->name}}
@endif
@if($questionOption->type=='True')
@php
$marks += $objectiveQuestion->marks;
@endphp
@endif
@else
Not Attempt
@endif
|
@if($checkStudentAnswer = $objectiveQuestion->studentObjectiveAnswers()->where('student_id',$student->id)->first())
@php
$questionOption = \App\OnlineExam\QuestionOption::findOrFail($checkStudentAnswer->question_option_id);
@endphp
@if($questionOption->type=='True')
@else
@endif
@else
@endif
|
@endforeach
|
Total Mask : {{$marks}} | {{round(($marks*100)/$objectiveQuestions->sum('marks'),2)}}%
|