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

E2416. Reimplement the Question hierarchy #83

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

vishwagandhi1610
Copy link

@vishwagandhi1610 vishwagandhi1610 commented Mar 15, 2024

The Question class and its subclasses are used to implement all rubric items, quiz questions, and survey questions in Expertiza. Here is the hierarchy.

  1. Choice question
    - Scored question
    a. Scale [√]
    b. Criterion [√]
    - Unscored question
    a. Dropdown [√]
    b. MultipleChoice
    c. CheckBox [√] [should this be a Scored question?}
  2. TextResponse
    a. TextArea [√]
    b. TextField [√]
  3. UploadFile [√]
    Dropdown, MultipleChoice, and Scale questions have a lot in common: you display the alternatives and let the user choose one of them. They also differ, in that only Scale is required to have a numeric sequence of choices; Dropdown and MultipleChoice may, but also may have selections that don’t correspond to anything numeric. We would like to write a single piece of code to display all three types of questions.

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.

2 participants