@extends('layouts.app') @section('title', '產生考卷 - ' . $exam->title) @section('content')

產生考卷

選擇要產生的考卷類型,下載 Word 檔案

{{ $exam->title }}

@if($exam->subject){{ $exam->subject->name }}@endif @if($exam->examCategory){{ $exam->examCategory->name }}@endif @if($exam->year){{ $exam->year }} 年@endif

{{ $exam->questions->count() }}

題目數

{{ $exam->questions->sum('points') ?: $exam->questions->count() }}

總分

@php $aiCount = $exam->questions->whereNotNull('ai_explanation')->count(); @endphp

{{ $aiCount }}/{{ $exam->questions->count() }}

已有 AI 詳解

考卷(無解答)

純考卷,只有題目與選項,適合列印給學生作答。包含姓名欄、座號欄、答案欄。

  • - 題目文字與選項
  • - 簡答題留作答空白行
  • - 底部附答案填寫格
  • - 不含正確答案與解析
下載 Word 考卷

含詳解版

完整的解題手冊,每題附正確答案與 AI 詳解,適合學生自習或老師批改參考。

  • - 題目文字與選項
  • - 正確答案標示(綠色)
  • - AI 詳細解析
  • - 解題思路與知識點
下載 Word 含詳解

PDF 考卷(無解答)

在瀏覽器中開啟列印友好頁面,可直接儲存為 PDF。數學公式完美渲染。

  • - 數學公式正確顯示
  • - Markdown 表格完美呈現
  • - 列印友好排版
  • - 純考卷,不含解答

PDF 含詳解版

完整詳解含數學公式渲染,觀念比較表格清晰呈現,儲存 PDF 最佳選擇。

  • - 數學公式正確顯示
  • - 觀念比較表格完整
  • - AI 詳解 Markdown 渲染
  • - 適合自習與複習

題目預覽

@foreach($exam->questions as $index => $question)
{{ $index + 1 }}. {{ match($question->question_type) { 'multiple_choice' => '選擇題', 'true_false' => '是非題', 'fill_blank' => '填充題', 'essay' => '問答題', default => '簡答題' } }} {{ $question->points ?? 1 }}分 @if($question->ai_explanation) AI @endif

{{ Str::limit($question->question_text, 120) }}

@if($question->options)
@foreach($question->options as $key => $opt) ({{ $key }}) {{ Str::limit($opt, 20) }} @endforeach
@endif
@endforeach
返回考試管理
@endsection