# QB/AstroLunarphasesSimple

< QB Play media
8 min video

I just made a video that is available in three places:
3-c:File:Open Quizbank Proposal First.webm
Lake Campus Symposium: Creating a bank so students won't break the bank
https://bitbucket.org/Guy_vandegrift/qbwiki/wiki/Home/
The conversion to LaTeX should make this bank more compatible with VLEs
Quizbank - Quizbank/Python/LaTex - Category:QB/LaTeXpdf - QB - edit news
Students with minimal Python skills can now write numerical questions

See special:permalink/1863356 for a wikitext version of this quiz.

### LaTexMarkup begin

%

%This code creates both the question and answer key using \newcommand\mytest
%%%    EDIT QUIZ INFO  HERE   %%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\quizname}{QB/AstroLunarphasesSimple}

\newcommand{\quiztype}{conceptual}%[[Category:QB/conceptual]]
%%%%% PREAMBLE%%%%%%%%%%%%
\newif\ifkey %estabkishes Boolean ifkey to turn on and off endnotes

\documentclass[11pt]{exam}
\RequirePackage{amssymb, amsfonts, amsmath, latexsym, verbatim,
xspace, setspace,datetime}
\RequirePackage{tikz, pgflibraryplotmarks, hyperref}
\usepackage[left=.5in, right=.5in, bottom=.5in, top=.75in]{geometry}
\usepackage{endnotes, multicol,textgreek} %
\usepackage{graphicx} %
\singlespacing %OR \onehalfspacing OR \doublespacing
\parindent 0ex % Turns off paragraph indentation
% BEGIN DOCUMENT
\begin{document}
\title{AstroLunarphasesSimple}
\author{The LaTex code that creates this quiz is released to the Public Domain\\
Attribution for each question is documented in the Appendix}
\maketitle
\begin{center}
\includegraphics[width=0.15\textwidth]{666px-Wikiversity-logo-en.png}
\\Latex markup at\\
\end{center}
\begin{frame}{}
\begin{multicols}{3}
\tableofcontents
\end{multicols}
\end{frame}
\pagebreak\section{Quiz}
\keytrue
\begin{questions}\keytrue

\question At midnight a new moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice western horizon
\choice eastern horizon
\CorrectChoice below the horizon
\end{choices}

\question At midnight a full moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice below the horizon
\choice eastern horizon
\choice western horizon
\end{choices}

\question At 6pm a third quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice eastern horizon
\choice western horizon
\CorrectChoice below the horizon
\end{choices}

\question At 6am a 1st quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice eastern horizon
\choice western horizon
\CorrectChoice below the horizon
\end{choices}

\question At noon a full moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice western horizon
\CorrectChoice below the horizon
\choice eastern horizon
\end{choices}

\question At 6pm a full moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice western horizon
\choice below the horizon
\CorrectChoice eastern horizon
\end{choices}

\question At 6pm a 1st quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice below the horizon
\choice western horizon
\choice eastern horizon
\end{choices}

\question At 6am a full moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\CorrectChoice western horizon
\choice below the horizon
\choice eastern horizon
\end{choices}

\question At noon a third quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\CorrectChoice western horizon
\choice below the horizon
\choice eastern horizon
\end{choices}

\question At noon a 1st quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice western horizon
\CorrectChoice eastern horizon
\choice below the horizon
\end{choices}

\question At noon a new moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice below the horizon
\choice western horizon
\choice eastern horizon
\end{choices}

\question At 6pm a new moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice eastern horizon
\CorrectChoice western horizon
\choice below the horizon
\end{choices}

\question At 6am a third quarter moon would be\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice eastern horizon
\choice western horizon
\choice below the horizon
\end{choices}

\question At midnight a third quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice below the horizon
\CorrectChoice eastern horizon
\choice western horizon
\end{choices}

\question At midnight a 1st quarter moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice below the horizon
\choice eastern horizon
\CorrectChoice western horizon
\end{choices}

\question At 6am a new moon would be \ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863356}}}\fi
\begin{choices}
\choice western horizon
\CorrectChoice eastern horizon
\choice below the horizon
\end{choices}

\end{questions}
\newpage
\end{document}