Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

gsoc2014 proposal jayesh

From MoodleDocs
Revision as of 01:08, 30 April 2014 by Jayesh Anandani (talk | contribs)
New Question Type
Project state In Progress
Tracker issue
Discussion
Assignee Jayesh Anandani

GSOC '14

Personal Information

Full name: Jayesh Anandani

Email: jayeshanandani@gmail.com

University: U.V. Patel College of Engineering.

Graduation Date: June 2014

Major: Computer Engineering

Location: Ahmedabad,Gujarat,India

Time-zone: UTC+5.30

IRC nick: jcool

CV/Resume URL: http://in.linkedin.com/in/jayeshanandani

Open Source experience: I started my open source journey with Moodle. It has been 1 year since I started to explore about open source. I continue to contribute to Moodle and currently started development with Cakephp and Drupal.

Project Information

Project Description:

The project aims to create some new question types and make enhancements to the existing ones to make it more easy for Teachers to create a Question.

Question Types

1. Ordering Question Type:

The Ordering question type is based on OU's qtype_ddwtos. The thing with OU’s qtype_ddwtos is it does not grant partial marks for out of order answers.

Example:

1.) Student gets order right as per the actual answer. In this case default marks are awarded to students.

eg: 1,2,3,4 => Full marks.

2.) Students gets order a little different from actual answer. In this case no marks are awarded to students.

eg: 4,1,2,3=>0 marks

The Ordering question type will allow students to score partial marks even if their response is out of order.

Example:

1.) Student gets order right as per the actual answer. In this case default marks are awarded to students.

eg: 1,2,3,4 => 4 marks (Default marks set by teacher)

2.) Students gets order a little different from actual answer. In this case partial marks are awarded to students.

eg: 4,1,2,3=>3 marks (Partial marks will be deducted as per set by teacher.Partial marks are 1 in this case)

3.) Students gets order entirely different from actual answer. In this case no marks are allocated.

eg: 4,3,1,2=>2 marks (2 elements are out of order so 2*partial marks will be deducted)

4.) Students gets order entirely different from actual answer. In this case no marks are allocated.

eg: 4,3,2,1=>0 marks

Question Editing form:

Create/Edit Question UI

The image above shows question form for Ordering question type. The form provides various options for teachers.They can be listed as:

1. A teacher can provide choices as shown in question form there by allocating default marks and partial marks separately.

2. The order of answer will be the order in which teacher enters choices. Teacher can also select on how to display choices. Choices can be displayed either vertically or horizontally.

3. There will be option for shuffling the answer apart from which it will include options like multiple feedback and multiple tries.

4. The default marks will be provided to students if the order of answer matches exactly with the actual order. In case the order of answers given by student is different from actual order , then according to answer provided the partial marks will be deducted from default marks.

Question that user will see:

Question View

The image above shows preview of Ordering question type. In this case students have been allocated 4 choices which they need to reroder and arrange as per Question text. The order in which boxes are rearranged is taken as order of answer and marks are awarded accordingly.

Database for Question type: Database


2. Search Question Type:

The main idea behind this question type is to highlight the words from given question.

Example: Find the verb in : He ran too fast.

Student just need to click on “ran” word and submit. The system will automatically grade the answers.

If they accidently click on another word and want to get that word unselected, they need to press clear button which will undo their last selection. If they want everything selected to be cleared they need to click on clear all button.

Question Editing form:

Create/Edit Question Form

The image above shows question form for Search question type. The form provides various options for teachers.They can be listed as:

1. A teacher just needs to enter the question. The answers will be wrapped in delimiter that teacher selects.

2. A teacher can select delimiter from the options provided.

3. A teacher can also use combined feedback and multiple tries for their question if they wish too.

Question that user will see:

Question View

The image above shows preview of Search Question type that students will see. They just need to click on word and the word will get highlighted. If they want to undo the last selection they can click on clear button which will undo their last selection. If they wish to undo all changes made they can click on clear all which will clear all their selections. System will automatically grade the question according to the words highlighted.

Database for Question type: Database


3. DDClassify Question Type:

This question type will help teachers to create groups in questions as per their requirement. Here students will have a set of words that they need to drag into different areas to classify them. The order in which words are dragged and dropped will of be no importance.Students responses will be processed on basis of response in each group.

Question Editing form:

Create/Edit Question Form

The image shows question form for DDClassify. The teacher can add groups and provide options for same. Marks for each group can also be defined along with default marks. Default marks will be awarded if all groups are correct and group marks will be deducted from default marks if a students gets one group wrong.

This question type will also have facility for multiple tries and combine feedback.

Question that user will see:

Question view

Image shows how question will be seen by students. Students will be shown various groups as per created by teacher. Options for all groups will be shown below. The order in which options are dragged and dropped in to each group depends upon settings made by teacher while creating the form. If student’s get all answers in all groups correct then they will be awarded with default marks or else partial marks will be deducted from default marks as per the user’s answer. Partial marks are deducted when a student has answered a group in a wrong manner.

Database for Question type: Table-1 Table-2 Table-3


4. Image Puzzle Question Type:

This question type is based on Image puzzle Question type developed by Itamar Tzadok.This question type was developed way back in 2012 and it was great work done.

I tried and tested the same on latest versions of Moodle but it wasn't working. It wasn't able to render image that teachers insert while creating question

I plan to make some enhancements to this question type which will include working of it on latest Moodle versions, provide missing functionalities like: Feedback settings,import export and it will have additional feature called Interactive settings.

Question Editing form:

Create/Edit Question Form

The image above shows question form for Image Puzzle question type. The form provides various options for teachers.They can be listed as:

1. A teacher can select an image to insert,define defaults marks and hint marks.Hint marks are defined in order to deduct marks from default marks if students uses the hint provided by the teacher.

2. A teacher can select size of the image that will be shown to students.

3. A teacher can select into how many rows and cols must the image be divided into. There is a drop-down provided for that which provides options for Easy, Medium and Hard which will automatically break image into columns and rows. The value for this options will be fixed and cannot be altered by teachers. If he/she wish to specify number of columns and rows manually they can use the textbox to enter the value if their choice. In such case the drop down will be disabled.

4. A teacher can also provide the facility of Interactive hints. The hints entered by teachers will be visible to students on their question screen. When the students want to use the hints they will click on button to view hints and hints set by teachers will be visible to them.

5. A teacher can also use combined feedback and multiple tries for their question if they wish too.

Question that user will see:

1. Question View shows how question will look like when it is displayed to students.

2. Partial Correct Answer: If students are able to arrange some of pieces in right order then they will be awarded with partial marks.

3. Correct Answer: If students are able to arrange all pieces in right order then they will be awarded with full marks.

Database for Question type: Database


5. DD_Marker Question Type:

This question type is based on OU's qtype_ddmarker. The thing with OU’s qtype_ddmarker is it does not fetch location for the markers placed on image automatically.In order to move the marker to a particular location teacher need to specify the location of the marker manually.

The enhancement of this question type will allow teachers to move marker throughout the image by mouse. The type of marker the teacher selects and the position at which the marker is placed , system will automatically fetch location of that marker and fill the coordinates text box for the same. Teacher can manually edit the coordinates if they want to or they can just move around marker to get a perfect location.

Question Editing form:

The question form will remain same as it was before.It will involve code change which will help teacher to move markers with the help of mouse.

Question that user will see:

It resembles to the view that ddmarker renders.

Database for Question type: It will remain same.


Expected Deliverables

Timeline (break down by every week of GSoC):

19 May: Start working with Search Question type.

26 May: Test the working of Search Question type and start with Ordering Question type.

02 June: Test the working of Ordering Question type and start with DDClassify Question type.

09 June: Test the working of DDClassify Question type.Release beta version of all 3 question types for review from Moodlers.

16 June: Start documentation for all 3 question types,solve bugs if any and improve on question types as per suggestion from Moodlers.

23 June: Mid term submission

30 June: Start working on Image Puzzle question type.

07 July: Test the working of Image Puzzle question type and start working on modification of Drag and drop marker Question type.

14 July: Test the working of revised Drag and drop marker Question type.Scrub the code and make sure it’s error free.

21 July: Release the first beta version of Image Puzzle Question type and revised Drag and drop marker Question type code to get reviews from Moodlers.

28 July: Look around for some new functionalities.

04 Aug: Start writing documentation about the question types developed and its working.

11 Aug: Prepare for Final submission. Review code again to make sure it follows Moodle coding standards.

18 Aug: Final submission

Bugs

Provided patches for: MDL-26120 , MDL-39054, MDL-39029, MDL-39155, MDL-43265, MDL-39074, MDL-39527

Issues Created: MDL-40271, MDL-39527, MDL-39716, MDL-39074, CONTRIB-4870, CONTRIB-4864

Duplicates found:

MDL-37478, MDL-37110, MDL-23456

Work/Internship experience

Experience from past Google Summer of Code

I was intern at Google Summer of Code 2013 under Moodle. It was my first Google Summer of Code and it was excellent one.Choosing a project (Self-Assessment activity using Question Bank) beyond my capabilities was a good choice made as I worked hard for open source, linux, and got very much used to the world of open source.If a few months back somebody asked me about open source I could only manage to reply free software with source.I knew something like it existed but nothing more than that.The world of Open Source was like a parallel universe, I knew it was there but nothing beyond that. Also I learned how to manage my code using git, and from that time onwards I used git for almost all my daily tasks. Things ended happily, as I completed my project before time and I also carried out many tests in order to ensure its quality, and also got good reviews from the community. I still actively maintain the module I developed.

Current Google Summer of Code

I have got past experience in Moodle and it will be easy for me to develop a new project as I am familiar with coding standards of Moodle. Along with that this project requires some knowledge on how question engine and Moodle forms works. As my last year project I had used question engine and Moodle forms to develop the project, I am pretty much familiar with working of same.

Time per week

I will be able to dedicate 60+hours a week. As my graduation is near to end I don’t have any work left. I will be free all day long and will focus only on projects. There are no other summer plans.

About Me

I am a 4th year Computer Engineering student at U.V Patel College Of Engineering. I love to play cricket and badminton. “Never give up on what you really want to do. The person with big dreams is more powerful than the one with all the facts.” I program in my free time and have a fairly good understanding of C, PHP, HTML, CSS and can paddle around with Java and Python.

Why Moodle

I always have loved the whole idea of teaching and sharing knowledge. Since I started my engineering my primary field of interest was programming and playing around with the web. Moodle provides me the perfect platform to showcase my two interests through the idea "E-learning".

Credits

Mentors: Jean-Michel Vedrine & Tim Hunt.

Forum Discussions

Daily Blog

See also