@extends('surface.app') @section('head')
Total Questions
{{ count($questions) }}
Full Marks
{{ count($questions) * ($exam->per_written_qs_mark ?? 0) }}
Duration
@php $totalMinutes = $exam->written_duration; $hours = floor($totalMinutes / 60); $minutes = $totalMinutes % 60; @endphp @if ($hours > 0) {{ $hours }}h @endif @if ($minutes > 0) {{ $minutes }}min @endif