Skip to content

Conversation

@NoahTheCorgi
Copy link
Collaborator

Some notes regarding implementation:

  • The "coefficient_of_term" generator asks the user to evaluate the coefficient of a general term of x and y with specific degrees from a binomial expansion
  • The "probability_of_choice" generator asks the user to evaluate the probability of an event that is defined as choosing specific combinations of things ("noun_choice")
  • The "probability_of_choice" generator randomly chooses from various noun types
  • The "probability_of_choice" generator randomly chooses from three different difficulties (indexed 0, 1, and 2) and expresses the correct answer in different ways, adhering to the chosen difficulty level.

details about exactly how to implement the generators as well as copyright and course material permissions if any.
…of books in shelves problems can be generated

The generate_question() in main.py now randomly creates the following three types of books in shelves questions.

1. How many ways to organize $a$ books in $b$ number of book shelves?

2. How many ways to organize $a$ books in $n$ out of $b$ bookshelves? (i.e. exactly $n$ out of $b$ shelves must be used.)

3. How many ways to organize $a$ books in $b$ number of bookshelves? ALL shelves must be used (i.e. there cannot be empty bookshelves.)
"string data" was fixed to "dictionary"
details about exactly how to implement the generators as well as copyright and course material permissions if any.
@NoahTheCorgi
Copy link
Collaborator Author

Adjusted the problem scenario for "coefficient_of_term" generator so that it is unique compared other generators that cover similar scenarios from before. This should give a good enough variation for the finding coefficient type problems.

@NoahTheCorgi NoahTheCorgi requested a review from a team as a code owner April 26, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coefficient of a Term + Probability of Choice Type Problems Generators

2 participants