\documentclass[11pt]{exam}
\begin{document}
\begin{questions}
\question[10] Some true or false questions to answer very quickly, without thinking :
\medskip
\begin{parts}
\part \parbox[t]{0.8\textwidth}{Is it true that this sentence is false ?}
\vspace{-1ex}\hfill\makebox[0.5in]{\dotfill}%
\smallskip
\part \parbox[t]{0.8\textwidth}{Your name is the same as what it was ten thousands of years ago.}
\vspace{-1ex}\hfill\makebox[0.5in]{\dotfill}%
\smallskip
\part \parbox[t]{0.8\textwidth}{This is a long, very long and boring sentence that means absolutely nothing, and is here to amuse you.}
\vspace{-1ex}\hfill\makebox[0.5in]{\dotfill}%
\smallskip
\part \parbox[t]{0.8\textwidth}{This is a true-false question which doesn't have any true or false answer, just to annoy you like hell. Failing this kind of exam is fun!}
\vspace{-1ex}\hfill\makebox[0.5in]{\dotfill}%
\end{parts}
\end{questions}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\documentclass[11pt]{exam}
\begin{document}
\begin{questions}
\question[10] Some true or false questions to answer very quickly, without thinking :
\medskip
\newcommand{\linedots}[2][1]{%
\hfill\parbox[t][#1\baselineskip][t]{0.5in}{#2\mbox{}\dotfill}}
\newcommand{\onelinedots}{\linedots{}}
\newcommand{\twolinedots}{\linedots[2]{\mbox{}\\}}
\newcommand{\threelinedots}{\linedots[3]{\mbox{}\\\mbox{}\\}}
\begin{parts}
\part \parbox[t]{0.8\textwidth}{Is it true that this sentence is false ?}
\onelinedots
\part \parbox[t]{0.8\textwidth}{This is a long, very long and boring sentence that means absolutely nothing, and is here to amuse you.}
\twolinedots
\part \parbox[t]{0.8\textwidth}{This is a true-false question which doesn't have any true or false answer, just to annoy you like hell. Failing this kind of exam is fun! Believe it or not - this is for filling three lines, the third one nearly up to the end.}
\threelinedots%
\end{parts}
\end{questions}
\end{document}
Well, I would like to know how to do the same manually, without the macros. It's not clear to me how the macro is working. And in some cases, I may even have some longer text (that would be very rare, though).
Or in other words : how can I change my use of \vspace{-1ex} so the answer line is properly aligned with the last line of text?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p