diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..0220cc7c4ccdf998401da8b74fcd416e32bd49d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.texpadtmp/ diff --git a/README.md b/README.md index a7cd301cefaad286929313193000e4a616e9ce93..8b8aa4347a082f00161c154ad4f0c24e4906bd5e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ -# distance_exam_template +# distance__exam__template + +This is a LaTeX template for creating a home exam using the filled form functionality of PDF-files. It was compiled during the Corona virus crisis to support the distance teaching and examination events at Linköping University. + +[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/) + + -This is a LaTeX template for creating a home exam using the filled form functionality of PDF-files. It was compiled during the Corona virus crisis to support the distance teaching and examination events at Linköping University. \ No newline at end of file diff --git a/distance_exam_template.pdf b/distance_exam_template.pdf new file mode 100644 index 0000000000000000000000000000000000000000..318bcbb849fcb4a211bed5258184eb7a0b3a09d9 Binary files /dev/null and b/distance_exam_template.pdf differ diff --git a/distance_exam_template.tex b/distance_exam_template.tex new file mode 100644 index 0000000000000000000000000000000000000000..f884fee034a7a0a28c739d692bf255211327cf3e --- /dev/null +++ b/distance_exam_template.tex @@ -0,0 +1,161 @@ +% This is a template for creating exams or questionaries where the answers +% from the students are saved in the exam and returned to the examiner. +% It was created as a urgent response to the "distant" teaching and +% examination mode commanded during the Corona virus crisis. +% Feel free to use and modify it according to your needs. +% This file is shared under the clause of: CC BY-NC-SA 4.0 + +% Links: +% http://tug.ctan.org/info/pdf-forms-tutorial/en/forms.pdf +% http://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/hyperref/doc/manual.pdf + +% Tools like pdftk can be very useful for extracting data from all +% incoming exams in an automated fashion. +% https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ + + +\documentclass[a4paper]{article} + +\usepackage[utf8]{inputenc} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage{fancyhdr} +\usepackage{lastpage} +\usepackage{amsmath} +\usepackage[margin=2.2cm]{geometry} + +\pagestyle{fancyplain} + +% Declaration of exam commands + +% Set the exam date +\newcommand{\examdate}{2020-03-24} + +% Section heading in the exam +\newcommand{\examsection}[1] {\clearpage \section*{#1}} +\newcommand{\examsubsection}[1] {\subsection*{#1}} + +% A useful question counter for numbering +\newcounter{questioncounter} +\setcounter{questioncounter}{1} + +% The main task prologue +\newcommand{\examtask}[2] {\vspace{6mm} \noindent \makebox[50mm][l]{\underline{\textbf{Question \arabic{questioncounter}} (#2 points) [#1]} } \\[2mm]} + +% The student answer box that should be paired with the above +\newcommand{\examresp}[1]{\vspace{6mm} \noindent \makebox[50mm][l]{\underline{\textbf{Answer question \arabic{questioncounter}: }}\textit{#1}} \\[2mm] +\begin{Form} +\begin{tabular}{|l|} +\hline +\TextField[width=156mm,height=8mm]{Q\arabic{questioncounter}} \\ +\hline +\end{tabular} +\end{Form} \\[4mm] +\stepcounter{questioncounter} +} + +% Some times external PDF-files need to be included +\newcommand{\datasheetpage}[2] { +\begin{figure}[h] +\centering +\fbox{\includegraphics[page=#2,width=0.98\textwidth]{#1}} +\end{figure} +\clearpage +} + +% Header tuning +\lhead{Linköping Tekniska Högskola\\IEI/Flumes} +\chead{} +\rhead{\textbf{EXAMINATION} Page \thepage (\pageref{LastPage}) \\TMMS21/TEN1, \examdate} +\lfoot{} +\cfoot{} +\rfoot{} +\addtolength{\headsep}{+8mm} + + +% Start of document +\begin{document} + +\title{\vspace{15mm}EXAMINATION (Distance version)\\ Mechatronics, TMMS21/TEN1} +\author{} +\date{} + +\maketitle + + +\begin{tabular}{ r@{:\hspace{3mm}} p{90mm} } +\textbf{Date} & \examdate \; 14:00 - 18:00\\ +%\textbf{Room} & TBD \\ +\textbf{Number of questions} & 19 \\ +\textbf{Examiner} & Dr. Someone Someson, (\href{mailto:someone.someson@liu.se}{someone.someson@liu.se}) \\ +\textbf{Administrator} & Someone Someson, (\href{mailto:someone.someson@liu.se}{someone.someson@liu.se}) \\ +\textbf{Phone number during exam} & RRR-012345 \\ +%\textbf{Teacher visit at} & Around 15:00 and 17:00\\ +%\textbf{Allowed tables} & Standard Mathematical Tables (or similar) \\ +%\textbf{Allowed handbooks} & Beta (Råde, Westergren) \\ +%\textbf{Allowed formularies} & None (Formula sheet included in this document)\\ +%\textbf{Allowed books} & Bolton, William, Mechatronics : electronic control systems in mechanical and electrical engineering \\ & De Silva, Clarence W., Mechatronics : an integrated approach\\ +%\textbf{Allowed formularies} & Formula Book for Hydraulics and Pneumatics (LiTH/IEI), Mekanisk Värmeteori och Strömningslära \\ +%\textbf{Allowed electronics} & Pocket Calculator (No smartphones or computers allowed!) \\ +\textbf{Conditions} & This is a special exam created during the Corona-virus crisis in Mars 2020. Special conditions apply since this is a distance examination.\\ +\textbf{Score} & The maximum score on this examination is 50 points. To get the mark 3 you will need 20 points, to get the mark 4 you will need 30 points and to get the mark 5 you will need 40 points. \\ +\textbf{Solution} & The solution will be uploaded on LISAM. \\ +\textbf{Results} & Results will be announced on 15 work days after exam at the latest. \\ +\textbf{Language} & You are entitled to answer in either English or Swedish. +\end{tabular} + +\vspace{5mm} + +Please notice that the questions are \underline{\textbf{NOT}} arranged in an increased level of difficulty. Plan your work through the exam. Make sure you include units accordingly in the answer! Use the carrot \texttt{\^} or the double asterix \texttt{**} to indicate an exponent. For example: \(7.5 K/cm^2\) should be written as \texttt{7.5 K/cm\^\:2} or \texttt{7.5 K/cm**2}. \\ + + +\textbf{Notice} the template for the numbering of the exam questions is: \textbf{Question X} (Y points) [TAG]. The TAG is for our statistical use only. \textbf{You are required to answer on this thesis using the designated boxes.} You fill in your answer in the box marked QX. Make sure you save the PDF on a regular basis. Once finished you upload a copy of the exam where all your answers are filled into the boxes onto the course site in LISAM. Make sure you have filled in your personal data on page 2 accordingly. (You may alternatively print this exam and fill it in using a pencil and then scan/photograph the exam and upload it to LISAM. Valid image formats are JPEG, PNG and PDF.) Only the last uploaded document will be considered as your submission. \newline + +\noindent Good Luck!\newline + +\noindent Tony Stark\\ +Senior Lecturer \\ +\today +\vspace{20mm} + + +\examsection{Personal Data} + +Please fill in your personal data and make sure to save the PDF thereafter. This will help you detecting any saving issues early during the examination. \\[5mm] + +\begin{Form} +\begin{tabular}{|r|} +\hline +\TextField[width=125mm,height=8mm]{Name} \\ \hline +\TextField[width=125mm,height=8mm]{LIUID} \\ \hline +\TextField[width=125mm,height=8mm]{PersonNumber} \\ \hline +\end{tabular} +\end{Form} + + +\examsection{Sensors Performance} + +\examsubsection{General characteristics} +General characteristics of sensors. + +\examtask{SEN}{1} A sensor is \(1.2m\) long. How long is it in \(mm\)? + +\examresp{What is the length in mm?} + +\examtask{SEN}{1} The Star Wars franchise makes use of a lot of force. What is the name of the famous white and blue robot? + +\examresp{The name of the robot is} + +\examsection{Sensor Selection and Operation} + +A pressures sensor may be used for measuring pressure and a force transducer may be used to measure the force. Combining the two makes it possible to estimate the area since \(P=\frac{F}{A}\). + +\examtask{SEN}{2} What is the area of a cylinder where the pressure is measured to \(P=30MPa\) and the force is \(F=15kN\)? + +\examresp{What is the area in \(cm^2\)?} + +\vspace{10mm} +\tiny{Hint: it is \(A=\frac{F}{P}=\frac{15kN}{30MPa}=\frac{15\times 10^3}{30\times 10^6}=\frac{1}{2\times 10^3} =\frac{1}{2\times 10^3}\times10^4 cm^2\)} + +\end{document} +