Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a StringAllPositionsAreEqual factory #195

Open
MathyouMB opened this issue Jul 21, 2022 · 0 comments
Open

Create a StringAllPositionsAreEqual factory #195

MathyouMB opened this issue Jul 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MathyouMB
Copy link
Member

MathyouMB commented Jul 21, 2022

For this generator we can randomize the length of the string and whether we are using "odd" or "even" positions.

Data:

<multiple-choice>
		<question>
		<![CDATA[
			Consider bitstrings of length 13. The positions in these strings are numbered as $1,2,3,\dots,13$.
			How many such bitstrings have the property that all bits at the odd positions are equal?
		]]>
		</question>
		<answer>32</answer>
		<answer>64</answer>
		<answer correct="correct">128</answer>
		<answer>256</answer>
	</multiple-choice>

image

@MathyouMB MathyouMB added the enhancement New feature or request label Jul 21, 2022
@Nguyen-HanhNong Nguyen-HanhNong self-assigned this Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants