From da5d440c62e38aaae91ff17c9eb78d4410866406 Mon Sep 17 00:00:00 2001 From: Ralf Dauenhauer Date: Fri, 13 Dec 2013 18:16:48 +1100 Subject: [PATCH] [FEATURE] Added multiple choice block style demo and added offsets --- www/assessment/questions/questiontypes.php | 342 +++++++++++++++------ 1 file changed, 253 insertions(+), 89 deletions(-) diff --git a/www/assessment/questions/questiontypes.php b/www/assessment/questions/questiontypes.php index 3fc26ff4..57f8f717 100644 --- a/www/assessment/questions/questiontypes.php +++ b/www/assessment/questions/questiontypes.php @@ -53,6 +53,26 @@ "multiple_responses": false, "penalty_score": -1 }, + { + "response_id": "demo1b-'.$uniqueResponseIdSuffix.'", + "type": "mcq", + "options": [ + {"label": "Dublin", "value": "1"}, + {"label": "Bristol", "value": "2"}, + {"label": "Liverpool", "value": "3"}, + {"label": "London", "value": "4"} + ], + "ui_style": { + "type": "block", + "columns": 1, + "choice_label": "upper-alpha" + }, + "valid_responses": [ + { "value":"4"} + ], + "is_math": true, + "instant_feedback": true + }, { "response_id": "demo2-'.$uniqueResponseIdSuffix.'", "type": "mcq", @@ -309,10 +329,10 @@ "type": "orderlist", "description": "In this question, the student needs to order the albums, chronologically earliest to latest.", "list": [ - "
Sgt. Pepper\'s Lonely Hearts Club Band
", - "
Abbey Road
", - "
A Hard Day\'s Night
", - "
The Beatles
", + "
Sgt. Pepper\'s Lonely Hearts Club Band
", + "
Abbey Road
", + "
A Hard Day\'s Night
", + "
The Beatles
", ], "ui_style": "button", "instant_feedback": true, @@ -563,118 +583,262 @@

Question Types Overview

+
+
+
+

Multiple Choice

+

Which of these colours has the smallest wavelength?

+ +
+
+
-

Multiple Choice

-

Which of these colours has the smallest wavelength?

-
- -

Multiple Choice with multi select

-

Which of these cities are state capitals?

-
- -

Short text

-

Who is the Mayor of New York City?

-

- Hint “Michael Bloomberg” gets one point, “Bloomberg” gets half a point. -

-
+
+
+

Multiple Choice (Block Style)

+

What is the capital city of England?

+ +
+
+
-

Long text answer with basic formatting

-

Briefly explain cellular mitosis.

-
+
+
+

Multiple Choice with multi select

+

Which of these cities are state capitals?

+ +
+
+
+ +
+
+

Short text

+

+ Hint “Michael Bloomberg” gets one point, “Bloomberg” gets half a point. +

+

Who is the Mayor of New York City?

+ +
+
+
-

Plain text answer, with copy, cut & paste

-

Write a haiku poem in German.

-
+
+
+

Long text answer with basic formatting

+

Briefly explain cellular mitosis.

+ +
+
+
-

Spoken response

-

Describe a typical day in your life.

-
-
Aww! We can't load this question because Flash isn't available.
+
+
+

Plain text answer, with copy, cut & paste

+

Write a haiku poem in German.

+ +
+
+
+ +
+
+

Spoken response

+

Describe a typical day in your life.

+ +
Aww! We can't load this question because Flash isn't available.
+
+
+
-

Cloze (fill in the blanks)

-

Complete the multiplication table below.

-
+
+
+

Cloze (fill in the blanks)

+

Complete the multiplication table below.

+ +
+
+
-

Cloze (fill in the blanks) with drop down menus

-

Fill in the blanks

-
+
+
+

Cloze (fill in the blanks) with drop down menus

+

Fill in the blanks

+ +
+
+
-

Cloze (fill in the blanks) with drag and drop

-

Simplify the following, expressing your answers with positive indices.

-
+
+
+

Cloze (fill in the blanks) with drag and drop

+

Simplify the following, expressing your answers with positive indices.

+ +
+
+
-

Cloze Text Expanding (Extended Fill in the blanks)

-

Fill in the blanks.

-
+
+
+

Cloze Text Expanding (Extended Fill in the blanks)

+

Fill in the blanks.

+ +
+
+
-

Draw / highlight on a background image

-

Circle one of the flower's anthers in the picture.

-
+
+
+

Draw / highlight on a background image

+

Circle one of the flower's anthers in the picture.

+ +
+
+
-

Label an image (add text)

-

Name the states on the map

-
+
+
+

Label an image (add text)

+

Name the states on the map

+ +
+
+
-

Label an image (with drop down menus)

-

Select the correct State names on the map.

-
+
+
+

Label an image (with drop down menus)

+

Select the correct State names on the map.

+ +
+
+
-

Label an image (with drag and drop)

-

Indicate whether each of the highlighted countries currently has a male or a female Head of State.

-
+
+
+

Label an image (with drag and drop)

+

Indicate whether each of the highlighted countries currently has a male or a female Head of State.

+ +
+
+
-

Order a list

-

Sort these historical events chronologically, from earliest to latest.

-
+
+
+

Order a list

+

Sort these historical events chronologically, from earliest to latest.

+ +
+
+
-

Order buttons

-

Sort these Beatles albums by release date (earliest first).

-
+
+
+

Order buttons

+

Sort these Beatles albums by release date (earliest first).

+ +
+
+
-

Order paragraphs

-

Move the paragraphs into the correct order.

-
+
+
+

Order paragraphs

+

Move the paragraphs into the correct order.

+ +
+
+
-

Order words or sentences within a paragraph

-

Rearrange the sentences into the correct order.

-
+
+
+

Order words or sentences within a paragraph

+

Rearrange the sentences into the correct order.

+ +
+
+
-

Text Highlight

-

Select all the adjectives in the text.

-
+
+
+

Text Highlight

+

Select all the adjectives in the text.

+ +
+
+
-

Token Highlight

-

Select all the relevant sections in the text.

-
+
+
+

Token Highlight

+

Select all the relevant sections in the text.

+ +
+
+
-

Match Lists

-

Match each city to its parent nation.

-
+
+
+

Match Lists

+

Match each city to its parent nation.

+ +
+
+
-

Sort List

-

Sort these historical events chronologically, from earliest to latest.

-
+
+
+

Sort List

+

Sort these historical events chronologically, from earliest to latest.

+ +
+
+
-

Categories (Drag and Drop)

-

Drag each triangle to the correct category.

-
+
+
+

Categories (Drag and Drop)

+

Drag each triangle to the correct category.

+ +
+
+
-

Plot Points

-

Plot a simple cubic curve on the graph.

-
+
+
+

Plot Points

+

Plot a simple cubic curve on the graph.

+ +
+
+
-

Plot Lines

-

Plot the line \( y = x + 1 \)

-
+
+
+

Plot Lines

+

Plot the line \( y = x + 1 \)

+ +
+
+
-

Math Formula

-

Hint \(x(x+4) +3\), \(x^2 +4x +3\) and \(3 + x^2 +4x \) would all be acceptable.

-
+
+
+

Math Formula

+

Hint \(x(x+4) +3\), \(x^2 +4x +3\) and \(3 + x^2 +4x \) would all be acceptable.

+ +
+
+
-


+ +
+
+ +
+