QB/b busyBeaver

From Wikiversity
< QB
Jump to navigation Jump to search


Wikinews-logo-prototype by Diego Grez.svg
8 min video
slides only

I just made a video that is available in three places:
1- https://www.youtube.com/watch?v=1mwIkHshOIg
2-My facebook page
3-c:File:Open Quizbank Proposal First.webm
See also the pdf printout of the slides
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
CLICK HERE TO SEE HOW MANY PEOPLE ARE VISITING THESE QUESTIONS
 Quizbank - Quizbank/Python/LaTex - Category:QB/LaTeXpdf - QB - edit news
Students with minimal Python skills can now write numerical questions



-
2-state 2-symbol busy beaver.svg

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

  • If head reads 0 and
    • In State A: Print 1. Move head Right. Go to State B.
    • In State B: Print 1. Move head Left. Go to State A.
  • If head reads 1 and
    • 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: -

PDF: File:Quizbankqb_b busyBeaver.pdf

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

LaTexMarkup begin[edit]

Required images: Wikiversity-logo-en.svg2-state 2-symbol busy beaver.svg

%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
\hypersetup{ colorlinks=true, urlcolor=blue}
% 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\\
\footnotesize{ \url{https://en.wikiversity.org/wiki/special:permalink/1863376}}
\end{center}
\begin{frame}{}
\begin{multicols}{3}
\tableofcontents
\end{multicols}
\end{frame}
\pagebreak\section{Quiz}
\keytrue
\printanswers
\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
\section{Attribution}
\theendnotes
\end{document}

<!This is a wiktext statment that does no harm to the LaTex markup (after end of document)-->

END LaTexMarkup[edit]

*_End_*[edit]