CSC/ECE 517 Fall 2017/E1794. Student-generated questions added to rubric: Difference between revisions
Line 28: | Line 28: | ||
<div style="padding: 0px 0px 0px 10px"> | <div style="padding: 0px 0px 0px 10px"> | ||
[[File:flow1.png|none|frame|Use Case to Add Questionnaire Functionality]] | [[File:flow1.png|none|frame|Use Case to Add Questionnaire Functionality: | ||
In the "Your Work" section, Student will be shown a button "Manage Rubric", when clicked, if the supplementaryReviewQuestions column in Teams table is null for that team, Questionnaire will be created and SRQ in Teams table will be updated to contain the Questionnaire ID. The student will be directed to the Edit Questionnaire page with exsiting logic.]] | |||
</div> | </div> | ||
<div style="padding: 0px 0px 0px 10px"> | <div style="padding: 0px 0px 0px 10px"> | ||
[[File:flow2.png|none|frame|Use Case for Show Questionnaire Functionality]] | [[File:flow2.png|none|frame|Use Case for Show Questionnaire Functionality: | ||
When the student orders for new reviews, if the supplementaryReviewQuestions column in Teams table is not null for the assigned team, extract the questionnaire for supplementary reviews and append in a new section below normal Questionnaire.]] | |||
</div> | </div> | ||
<div style="padding: 0px 0px 0px 10px"> | <div style="padding: 0px 0px 0px 10px"> | ||
[[File:flow3.png|none|frame|Use Case for Show Review( and Scores) Functionality]] | [[File:flow3.png|none|frame|Use Case for Show Review( and Scores) Functionality: | ||
When the Student or the Instructor checks the reviews and scores on rubric, if the supplementaryReviewQuestions column in Teams table is not null for the team, extract the questionnaire review for supplementary questions and append in a new section below normal Questionnaire Reviews.]] | |||
</div> | </div> | ||
To provide the view for the scores of a team we will add one more partition containing the scores for | To provide the view for the scores of a team we will add one more partition containing the scores for the supplementary questionnaire and implement the already build logic to get and display the scores. | ||
==Test Plan== | ==Test Plan== |
Revision as of 01:28, 8 November 2017
Introduction
Instructors make up rubrics in Expertiza. They can ask about anything that is relevant to all the projects that will be submitted. But sometimes students want specific advice on aspects of their work that may be different from the work or topics that other students are working on. It would be more convinient if students can add their own questionnaire to ask feedback for some specific functionalities regarding their project.
Changes to be implemented
Design Principles to be Followed
1. MVC - The project is implemented in Ruby on Rails that uses MVC architecture. It separates an application’s data model, user interface, and control logic into three distinct components (model, view and controller, respectively).
2. Dry Principle - We are trying to reuse the existing functionalities in Expertiza, thus avoiding code duplication. Whenever possible, code modification based on the existing classes, controllers, or tables will be done instead of creating the new one.
3. Polymorphism
4. Inheritance
Use Case
Here SRQ is used for newly added field supplementaryReviewQuestions in the Teams table and it is initially set as null for all the table entries.Once a student adds a specific Questionnaire to his project this field stores the id of that Questionnaire which is stored in the Questionnaires table.
To provide the view for the scores of a team we will add one more partition containing the scores for the supplementary questionnaire and implement the already build logic to get and display the scores.