# QB/b busyBeaver

< 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

-

The 2-state 2-symbol busy beaver starts with all zeros and proceed as follows:

• In State A: Print 1. Move head Right. Go to State B.
• In State B: Print 1. Move head Left. Go to State A.
• In State A: Print 1. Move head Left. Go to State B.
• In State B: Print 1. Move head Right. Go to State H (Halt).

CurrentID: -

See special:permalink/1863376 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/b_busyBeaver}

\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{b\_busyBeaver}
\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 If the machine is at A: 000\underline{0}00, what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\choice B: 000\underline{0}10
\CorrectChoice B: 0001\underline{0}0
\choice A: 0001\underline{0}0
\choice A: 0000\underline{1}0
\end{choices}

\question If the machine is at B: 0001\underline{0}0, what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\choice B: 000\underline{1}10
\choice A: 001\underline{1}00
\choice B: 0001\underline{1}0
\CorrectChoice A: 000\underline{1}10
\end{choices}

\question If the machine is at A: 000\underline{1}10, what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\choice B: 0011\underline{0}0
\CorrectChoice B: 00\underline{0}110
\choice A: 00\underline{0}110
\choice A: 0011\underline{1}0
\end{choices}

\question If the machine is at B: 00\underline{0}110 , what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\choice B: 0001\underline{1}1
\choice B: 0\underline{0}1110
\choice A: 00\underline{1}110
\CorrectChoice A: 0\underline{0}1110
\end{choices}

\question If the machine is at A: 0\underline{0}1110, what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\CorrectChoice B: 01\underline{1}110
\choice H: 01\underline{1}110
\choice A: 01\underline{1}110
\choice H: 011\underline{1}10
\end{choices}

\question If the machine is at B: 01\underline{1}110, what's next?\includegraphics[width=0.12\textwidth]{2-state-2-symbol-busy-beaver.png}\ifkey\endnote{ placed in Public Domain by Guy Vandegrift: {\url{https://en.wikiversity.org/wiki/special:permalink/1863376}}}\fi
\begin{choices}
\choice B: 011\underline{1}10
\CorrectChoice H: 011\underline{1}10
\choice A: 01\underline{1}110
\choice H: 01\underline{1}110
\end{choices}

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