Git Product home page Git Product logo

xblock-submit-and-compare's Introduction

Submit and Compare XBlock

This XBlock provides a way to do an ungraded self assessment activity. It is useful for synthesis questions, or questions which require the student to answer in her own words. After the student submits her answer, she is able to see the instructor's answer, and compare her answer to the expert answer.

Completed Question

Installation

To install the Submit and Compare XBlock within your edX python environment, simply run this command:

$ pip install -r requirements.txt

Enabling in Studio

Go to Settings -> Advanced Settings and set Advanced Module List to ["submit-and-compare"].

Advanced Module List

Usage

Once the Submit and Compare XBlock is enabled in Studio, you should see it a new Component button labeled Advanced:

Component Buttons

Click the Advanced button and you should see the Submit and Compare XBlock listed:

Advanced Component List

After you've selected the Submit and Compare XBlock, a default question will be inserted into your unit:

Default Question

Customization

The question and expert answer can both be customized by clicking the Edit button on the component:

Studio View Studio View

The Submit and Compare XBlock uses a simple XML-based structure as shown below:

<submit_and_compare schema_version='1'>
	<body>Insert the question here.  You can include html tags like <p>, <img>, etc.</body>
	<explanation>Insert the expert answer here.  You can include html tags like <p>, <img>, etc.</explanation>
	<demandhint>
		<hint>Here you can include hints for the student</hint>
		<hint>Here is another hint</hint>
	</demandhint>
</submit_and_compare>

xblock-submit-and-compare's People

Contributors

awais786 avatar azimpradhan avatar caesar2164 avatar caseylitton avatar edx-requirements-bot avatar ericfab179 avatar feanil avatar jawayria avatar kluo avatar libremente avatar nedbat avatar pmitros avatar potsui avatar saadyousafarbi avatar saharm1 avatar sarina avatar shadinaif avatar stvstnfrd avatar timmc-edx avatar tu-nv avatar usamasadiq avatar zubairshakoorarbisoft avatar

Stargazers

 avatar

Watchers

 avatar  avatar

xblock-submit-and-compare's Issues

Make the submit and compare available in pypi

Several xblocks are available as a package in pypi.org. Unfortunately, the "Submit and Compare XBlock" isn't one among them.

Could this xblock become a PyPI package as well to make its installation easy?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.