Skip to main content
Chemistry LibreTexts

5.2: Multiple Choice

  • Page ID
    555715
  • ​

    ​

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Multiple Choice (MC) is best for a single conceptual decision where one answer is clearly correct and the distractors represent plausible misconceptions.

    A good biology multiple choice item is really a single claim test. Write the stem so the correct choice is correct for one reason, and each distractor is wrong for one specific reason you would actually see on an exam. If two choices are defensible under different assumptions, the problem is the stem, not the students.

    The most common break is mixed formats inside the choice list, like fractions mixed with decimals or words mixed with symbols. Keep choices parallel and decide your conventions first, then write distractors to match that convention.

    Inputs

    • question_text (str): the question prompt
    • choices_list (list): answer choices
    • answer_text (str): the correct answer

    Science example (genetics)

    Use this type for a single decision, like recognizing a pattern in an inheritance scenario.

    question_text:
      In a diploid organism, allele A is dominant to allele a.
      Two heterozygous parents (Aa x Aa) produce offspring.
      What fraction of offspring are expected to be homozygous recessive (aa)?
    
    choices_list:
      - 1/4
      - 1/2
      - 3/4
      - 1
    
    answer_text: 1/4
    

    Official example (OpenWeBWorK PG samples): MultipleChoiceRadio.

    Preferred PGML pattern

    Use RadioButtons with parserRadioButtons.pl (see Common PG Macros for macro loading) and attach the evaluator inline in the PGML blank. This is the standard pattern for all multiple choice questions. For statement-by-statement evaluation patterns, see Randomized MC True and False Statements.

    loadMacros(
      "PGstandard.pl",
      "PGML.pl",
      "parserRadioButtons.pl",
      "PGcourse.pl",
    );
    
    $rb = RadioButtons(
      [ [ 'Red', 'Blue', 'Green' ], 'None of these' ],
      'Blue',
      labels        => 'ABC',
      displayLabels => 1,
      randomize     => 0,
    );
    
    BEGIN_PGML
    My favorite color is
    
    [_]{$rb}
    END_PGML
    

    Key options:

    • labels => 'ABC' gives each choice a consistent letter label.
    • displayLabels => 1 shows the letter labels to students.
    • randomize => 0 is the default and keeps the order you defined. Only enable randomization if you are safely mapping the correct answer.
    • For horizontal layout, use separator => $SPACE x 5 or an HTML spacing string.

    Complete working examples

    Genetics multiple choice -- Identify the expected fraction of homozygous recessive offspring from a monohybrid cross.

    ## TITLE('Monohybrid cross outcome')
    ## DESCRIPTION
    ## Determine the expected fraction of homozygous recessive
    ## offspring from a cross between two heterozygous parents.
    ## ENDDESCRIPTION
    ## KEYWORDS('genetics','monohybrid cross','RadioButtons')
    ## DBsubject('Genetics')
    ## DBchapter('Mendelian Genetics')
    ## DBsection('Monohybrid Cross')
    ## Date('2026-02-15')
    ## Author('Author name')
    ## Institution('Institution name')
    
    DOCUMENT();
    loadMacros(
    	"PGstandard.pl",
    	"PGML.pl",
    	"parserRadioButtons.pl",
    	"PGcourse.pl",
    );
    
    $rb = RadioButtons(
    	[ '1/4', '1/2', '3/4', '1' ],
    	'1/4',
    	labels        => 'ABC',
    	displayLabels => 1,
    );
    
    BEGIN_PGML
    In a diploid organism, allele A is dominant to allele a.
    Two heterozygous parents (Aa x Aa) produce offspring.
    What fraction of offspring are expected to be homozygous
    recessive (aa)?
    
    [_]{$rb}
    END_PGML
    
    ENDDOCUMENT();
    

    Organelle identification -- Identify the organelle responsible for protein synthesis.

    ## TITLE('Identify the protein synthesis organelle')
    ## DESCRIPTION
    ## Select the organelle that is the primary site of
    ## protein synthesis in eukaryotic cells.
    ## ENDDESCRIPTION
    ## KEYWORDS('cell biology','organelles','RadioButtons')
    ## DBsubject('Cell Biology')
    ## DBchapter('Organelles')
    ## DBsection('Function')
    ## Date('2026-02-15')
    ## Author('Author name')
    ## Institution('Institution name')
    
    DOCUMENT();
    loadMacros(
    	"PGstandard.pl",
    	"PGML.pl",
    	"parserRadioButtons.pl",
    	"PGcourse.pl",
    );
    
    $rb = RadioButtons(
    	[ 'Ribosome', 'Golgi apparatus', 'Lysosome', 'Smooth ER' ],
    	'Ribosome',
    	labels        => 'ABC',
    	displayLabels => 1,
    );
    
    BEGIN_PGML
    Which organelle is the primary site of protein synthesis
    in eukaryotic cells?
    
    [_]{$rb}
    END_PGML
    
    ENDDOCUMENT();
    

    Authoring notes

    • Keep choices parallel in format (all fractions, all numbers, etc.).
    • Use distractors that match common mistakes (for example confusing genotype vs phenotype).

    This page titled 5.2: Multiple Choice was last modified on Fri, 27 Feb 2026 15:34:14 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Neil R. Voss.