Creating Question Scripts with LaTeX

Creating Assessment Question Scripts with LaTeX
S It has become a routine and rule that in every school in the middle and end of the semester, the school carries out mid-term assessments and end-of-semester/year assessments. Each teacher also creates questions to test for their students. Usually, if questions created by teachers are used for their own schools, the questions have the following structure.
- Local government logo and school identity.
- Separating line header/logo with type of assessment, name of subject being tested and time of implementation, student identity and other related matters.
- Instructions for working on questions.
- Question
- Place to write the answer (if the question is a fill-in-the-blank form).
Guide to Creating Questions with LaTeX
Furthermore, on this occasion I will provide a simple guide on creating a class VIII and IX mid-semester assessment question paper written using . How to. Follow the following guide.
- Open your Tex editor.
- Prepare your school/local government logo. Put it in the same folder as you wrote the question.
- Next, in making this question text, I will use legal size paper, font size pt, and margins cm, fourier writing type and fill-in type questions which are divided into two () columns and the questions created are mathematics subject questions. Write down all the packages needed in the preamble to the document as follows.
\documentclass[legal, 11pt]{article}
\usepackage[indonesian]{babel}
\usepackage{fourier} % --- jenis huruf ---
\usepackage[margin=1cm]{geometry} % --- batas margin ---
\usepackage{array, multicol} % --- untuk membuat kolom ---
\usepackage{amsmath} % --- menuliskan persamaan matematika ---
\usepackage[shortlabels]{enumitem} % --- membuat daftar butir ---
\usepackage{graphicx} % --- menyisipkan gambar ---
\usepackage{adjustbox} % --- menempatkan gambar dan teks dalam minipage ---
\begin{document}
................
\end{document}- Then you insert your local government logo and the text of your school name using the following command.
\adjustbox{valign=c}
{\begin{minipage}{0.1\textwidth}
\includegraphics[width=4cm]{logolamteng}
\end{minipage}}\hfill
\adjustbox{valign=c}{\begin{minipage}{0.8\textwidth}
\begin{center}
\textbf{ \large {PEMERINTAH KABUPATEN LAMPUNG TENGAH}\\
DINAS PENDIDIKAN DAN KEBUDAYAAN\\
UPTD SATUAN PENDIDIKAN SMP NEGERI PURWOREJO\\
KECAMATAN PADANG RATU\\
\small {Alamat : Jln. Perintis Rogowungu Purworejo Kec. Padang Ratu Kab. Lampung Tengah 34176}\\}
\end{center}
\end{minipage}}\hfilThe resulting document is as shown below.
5. To create a line separating the school logo and header with the type of assessment, subject identity, student identity, and so on, in this case lines of different thickness will be created, use the following command.
\vspace{-3mm}
\hrule
\vspace{.75mm}
\hrule height 1.5pt- Next, the title of the assessment carried out by the school will be created, the identity of the subject being tested along with the identity of the student and other related matters. Use the command as follows.
\begin{center}
\textbf{PENILAIAN TENGAH SEMESTER (PTS)\\
SEMESTER GENAP TAHUN PELAJARAN 2020/2021\\}
\vspace{.2cm}
\begin{table}[!ht]
\small
\begin{tabular}{lclp{4.5cm}lcl}
Mata Pelajaran&:&Matematika&&Hari/Tanggal&:&Selasa, 2 Maret 2021 \\
Nama&:&..........&&Kelas&:&IX ...\\
No.Peserta Ujian&:&..........&&Waktu&:&07.30-09.30\\
\end{tabular}
\end{table}
\end{center}The resulting document is as shown below.
7. Next, instructions for working on the questions will be provided. Suppose the text is as shown in the following command.
\begin{enumerate}[A.]
\item \textbf{Petunjuk Soal}
\begin{enumerate}[1.]
\item Mulailah dan akhiri dengan berdoa agar dimudahkan segala urusan!
\item Tulislah terlebih dahulu identitasmu pada tempat yang telah disediakan!
\item Tuliskan jawabanmu dengan singkat, jelas, dan benar pada tempat yang telah disediakan!
\end{enumerate}- The next step is to create questions. For example, the problem is in the form of filling in questions and dividing them into columns. Pay attention to the following code.
\item \textbf{Soal}
\setlength\columnseprule{1pt}
\begin{multicols}{2}
\begin{enumerate}[1.]
\item Sebuah tabung mempunyai tinggi $21$ cm dan jari-jari alasnya $6$ cm. Tentukan luas selimut tabung tersebut.
\item Sebuah tabung mempunyai tinggi $13$ cm dan jari-jari alasnya $7$ cm. Tentukan luas sisi tabung.
\item Volume sebuah tabung adalah $20.790$\ $cm^3$. Jika tinggi tabung tersebut $15$ cm, tentukan panjang jari-jari tabung
tersebut.
\item Sebuah kerucut mempunyai panjang jari-jari alasnya $6$ cm dan tingginya $8$ cm. Hitunglah luas sisi kerucut
tersebut.
\item Hitunglah luas sisi kerucut yang jari-jarinya $7$ cm dan garis pelukisnya $14$ cm.
\item Jika luas selimut kerucut adalah $113,04$\ $cm^2$ dan jari-jarinya $4$ cm. Tentukan luas permukaan kerucut tersebut.
\item Suatu kerucut mempunyai jari-jari $30$ mm, dan tinggi $5$ mm. Tentukan volume kerucut tersebut.
\item Jika luas permukaan suatu bola $154\ cm^2$, tentukan panjang jari-jari bola tersebut.
\item Sebuah bangun berbentuk belahan bola padat memiliki jari-jari $10$ cm. Tentukan luas permukaan bangun tersebut.
\item Sebuah bola berjari-jari $6$ cm dimasukkan ke dalam tabung berisi air sehingga permukaan di dalam tabung naik. Jika
jari-jari alas tabung $15$ cm, tentukan kenaikan air dalam tabung tersebut.
\end{enumerate}
\end{multicols}The resulting document is as shown below.
9. The final part is to write the answer text, so that students know where to write the answer. Pay attention to the following code.
\item \textbf{Jawaban}\\
....................................................................................................................................................................................................................................................................................
\end{enumerate}
\end{document}Example Results
As an example, Below is a display of questions that have been created using and used in the Mid-Even Semester Assessment this Academic Year.
This is a guide to creating a mid-semester or end-of-semester/year assessment question paper written using $\LaTeX$. I hope this is helpful.



