Jump to content

עזרה:חידון

From Wikiversity
This page is a translated version of the page Help:Quiz and the translation is 63% complete.

זהו דף העזרה עבור הרחבת חידון.

הרחבת החידון מורכבת מסימונים פשוטים מאוד. דף זה ארוך בגלל האפשרויות הרבות שהרחבת החידון פותחת. למדריך פשוט וצבעוני לחידונים המתאימים למתחילים, נסו את דף העזרה לחידונים פשוטים.

מבט כללי

גרסה

  • גרסה 1.0 של תוסף החידון פעילה כעת (20 במאי 2007) בויקיברסיטה.
  • תיעוד זה מכסה את כל התכונות העיקריות ואת רוב הקטנות.
  • מספר תכונות אקזוטיות טרם מכוסות, כגון בקרת ערבוב באמצעות תגיות {X} {!X} {/X}.

כיצד להכניס חידון לדף שלך

תגית החידון quiz

טקסט ויקי
(מה שאתם כותבים)
רינדור
(מה שאתם רואים)
תגובות
<quiz>
הכניסו שאלות כאן
</quiz>

  

כאן יופיעו שאלות.

תגיות quiz עושות את הפעולות הבאות:
  • הן מוסיפות כמה אפשרויות בוחן סטנדרטיות בחלק העליון ומפתח צבעים לבדיקה. מפתח הצבעים מופיע רק כאשר השאלה מסומנת.
  • הן מוסיפות כפתור "שליחה" בתחתית כאשר הלומד סיים את הבוחן ורוצה שהוא ייבדק.
  • כל מה שבין תגי quiz מנותח על ידי תוסף הבוחן והופך לשאלות במידת האפשר.

תיאורטית ניתן לשים תגיות quiz סביב כל שאלה בנפרד, מה שיאפשר ללומד לסמן כל אחת בתורה.

ערבוב שאלות: אם כפתור ערבוב השאלות מוצג, ניתן לערבב את השאלות על ידי לחיצה על הכפתור. זה עובד רק כל עוד הנבחן לא התחיל לענות על השאלות. ברגע שהנבחן מתחיל לענות, הסדר ננעל.

<quiz display=simple>
הכניסו שאלות כאן
</quiz>

כאן יופיעו שאלות.

  • חשוב לציין, הוספת התכונה "display=simple" כתכונה של תגית החידון מסירה את טבלת הנקודות בחלק העליון.
  • זה שימושי לחידונים קצרים, ובמיוחד במצבים שבהם מוסיפים שאלות בודדות בין גושי טקסט.
<quiz shuffle=none>
הכניסו שאלות כאן
</quiz>

  

כאן יופיעו שאלות.

  • אם תרצו לשמור את טבלת הנקודות אך להיפטר מהכפתור לערבוב שאלות, השתמשו ב-shuffle=none כפי שמוצג.

הוספת שאלות

סוגי השאלות הזמינים מוצגים להלן.

נקודה חשובה היא שיש להפריד בין כל שאלה בשורה ריקה, אחרת הן ימוזגו יחד לשאלה אחת.

כיצד להשתמש בדוגמאות

בדוגמאות בדף זה, יש גם טקסט ויקי וגם רינדור. הטקסט ויקי מציג את הקוד, אותו ניתן להעתיק ולהדביק בדפים שלכם, או פשוט ללמוד ולהבין. הרינדור מראה לכם כיצד תיראה התוצאה.

העתקה והדבקה

הסימון פושט מעט כדי לסייע בהבנה. אם תעתיק ותדביק, עליך להוסיף תגיות <quiz> לפני ואחרי הסימון. ייתכן שתרצה להשתמש בתגיות החידון עם האפשרות "display=simple" כפי שמוצג למעלה.

שימו לב שגם הדוגמה שלהלן משתמשת בטבלאות לשם הבהירות. אם בוחן מוכנס לטבלה, הדבר משנה את מראה הבוחן - לדוגמה, תיבות מופיעות סביב אלמנטים מסוימים בבוחן. אם לא תשתמשו בטבלה, תיבות אלו ייעלמו והבוחן שלכם ייראה פשוט יותר.

בעת ההדבקה, יש לוודא שכל הסמלים מיושרים עם צד שמאל של העמוד - כלומר, אם שורה כלשהי מתחילה ברווח, עלולות להתרחש שגיאות עיצוב.

הדגמות חיות

כל הדוגמאות למטה אמורות לעבוד. אל תפחדו לנסות אותן. לחיצה על כפתור תיקון היא בסדר - זה לא ישנה או יגרום נזק לדף זה.

סוגי שאלות בסיסיים

תשובה מרובה בחירה / תשובה בודדת

טקסט ויקי רינדור תגובות
{שאלה
|type="()"}
+ התשובה הנכונה.
- מסיח דעת.
- מסיח דעת.

שאלה

התשובה הנכונה.
מסיח דעת.
מסיח דעת.
מסיח דעת.

  • סוג זה של שאלה מאפשר תשובה נכונה בודדת וכל מספר של מסיחים (מוצגים 3 מסיחים, אך זה יכול להיות אחד, או תשע, או כל מספר אחר).
  • התשובה הנכונה יכולה להיות בכל מיקום, ומסומנת בסימן פלוס. מסיחים מסומנים בסימני מינוס.
  • יש להכניס את הטקסט המוצג בויקי בין תגיות <quiz> כפי שמוצג למעלה.
  • התשובות מופיעות באותו סדר כמו בסימון, לכן מומלץ לערבב אותן לפני הייצוא לסימון.
  • כל סמל, כלומר |, +, - וכל סמל אחר המופיע בהמשך, חייב להיות בשורה חדשה.
  • הסמלים חייבים להתחיל את השורה החדשה - ללא רווחים לפניהם.
  • הגבולות הם תוצאה של הגבול סביב טבלת הויקי. הם אופציונליים.
  • מסיח דעת הוא המונח הסטנדרטי לאפשרות רב-ברירה שגויה.
  • הסמל () בתכונה type אמור להיראות כמו כפתור רדיו.
  • כדי לראות את קוד הצבע המלא (עם ארבעה צבעים), נסה לעשות את החידון וללחוץ על כפתור התיקון.
  • לחיצה שנייה על כפתור רדיו (כלומר לחיצה על כפתור רדיו שכבר לחצת עליו) תבטל את הבחירה בו.

שאלות נכון/לא נכון

wikitext rendering comments
{Bulgaria and Rumania joined the 
European Union in 2007.
|type="()"}
+ TRUE.
- FALSE.
{Switzerland is a member of the 
European Union.
|type="()"}
- TRUE.
+ FALSE.

Syntax error

Bulgaria and Rumania joined the European Union in 2007.

TRUE.
FALSE.
TRUE.
FALSE.

  • In many quiz systems, true/false questions are listed as a separate kind of question, although they are really nothing more than a variety of multiple choice with a single response. The Wikiversity quiz extension correctly treats true/false questions as multiple choice with a single response. They are implemented in exactly the same way as above.
  • The first of the two examples shows a true/false question where the correct answer is "true".
  • The second of the two examples shows a true/false question where the correct answer is "false".
  • The examples are live and can be tried out now.
  • If you have a large number of true/false questions, a more efficient way to lay them out would be to use the tabular response type with radio buttons documented below.

רב-ברירה / רב-תשובות

wikitext rendering comments
{Question
|type="[]"}
+ Correct answer.
- Incorrect answer.
+ Correct answer.
- Incorrect answer.

Question

Correct answer.
Incorrect answer.
Correct answer.
Incorrect answer.

  • This type of question is a multiple choice where more than one answer could be correct.
  • Correct answers are indicated by plus signs, incorrect ones by minus signs.
  • The wikitext shown should be inserted between <quiz> tags as shown above.
  • Answers appear in the same order as in the markup, so it is advisable to shuffle them before exporting into markup.
  • Every symbol, i.e. |, +, - and any other symbols listed further down, must be on a new line.
  • The symbols must begin the newline - no spaces before them.
  • The borders are a result of the border around the wiki table. They are optional.
  • The [] symbol in the type attribute is supposed to look like a checkbox.

תגובה מוקלדת (תשובה קצרה)

wikitext rendering comments
{ &nbsp;
|type="{}"}
Where was Aristotle born? 
{ Stageira }
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{ &nbsp;
|type="{}"}
Name Aristotle's famous mentor. 
{ Plato }
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{ &nbsp;
|type="{}"}
{ Alexander } was Aristotle's most 
famous pupil.
</div> 

 
Where was Aristotle born?

{  
|type="{}"}
Name Aristotle's famous mentor.

{  
|type="{}"}

was Aristotle's most famous pupil.

  • In a typed response the quiz-taker types an answer into a textfield using the keyboard.
  • The question type is signalled using "{}" as the argument of the type.
  • A textfield is inserted using curly brackets at the desired position of the textfield.
    • Note that curly brackets alone don't create a textfield. The curly brackets must have spaces between them and the enclosed text. { Answer } works, but {Answer} doesn't work.
    • The correct answer must be inserted between the curly brackets.
    • The textfield can be positioned anywhere in the text. Text before and after the text field will display as normal text.
  • The borders are a result of the border around the wiki table. They are optional.
  • A non-breaking space was inserted between { and |type= because some text is required at that position (slightly buggy thing).
{  
|type="{}"}
Name a famous Greek philosopher. 
{ Aristotle|Plato }

{  
Name a famous Greek philosopher.

  • Typed responses often have more than one possible answer. You can list all the possible answers inside the curly brackets using a pipe to separate them.
  • In the example, there are two possible answers. Try it - the demo is live.
{  
|type="{}"}
Name Aristotle's famous mentor. 
{ Plato _6 }

{  
Name Aristotle's famous mentor.

  • To modify the size of the textfield, add an underscore and an integer following the answer within the curly brackets to represent the number of glyph spaces you need.
  • This number depends, however it should be around n+2 (where n is the number of glyphs in the answer)
{ Complete each box with a synonym of the following words
|type="{}"}
<ol>
<li>free: { gratis _6 }</li>
<li>well: { good _4 }</li>
</ol>

Answer the following questions:
  1. free:

  2. well:

  • You can group the items into one only question.
  • Do not use line breaks between </li> and <li>.
{  
|type="{}"}
Where did Aristotle die? 
{ Chalcis (i) }

{  
Where did Aristotle die?

  • Case-sensitivity: typed responses are case-sensitive unless you add (i) at the position shown. The (i) stands for case-insensitive.

מילוי פערים / סגירת פערים

wikitext
{Complete the text from the Wikipedia article on [[w:Aristotle|Aristotle]].
|type="{}"}
Aristotle was born in { Stageira _8 } in Chalcidice. His parents were { Phaestis _8 } 
and { Nicomachus _10 }, who became physician to King Amyntas of Macedon. Aristotle 
was educated as a member of the aristocracy. At about the age of { eighteen|18 _8}, 
he went to { Athens _6 } to continue his education at { Plato _5 }'s Academy. 
Aristotle remained at the Academy for nearly twenty years, not leaving until after 
Plato's death in { 347 _3 } BC. 
rendering

Complete the text from the Wikipedia article on Aristotle.
Aristotle was born in

in Chalcidice. His parents were

and

, who became physician to King Amyntas of Macedon. Aristotle was educated as a member of the aristocracy. At about the age of

, he went to

to continue his education at

's Academy. Aristotle remained at the Academy for nearly twenty years, not leaving until after Plato's death in

BC.

comments
  • Gapfills (or cloze exercises) are created in almost exactly the same way as typed responses. The difference is that you just write a bit more text and add a few more textfields.
  • The gapfill above was additionally placed in a box and centered using a wiki table.

תגובה מספרית

wikitext rendering comments
{In which year was Plato born?
|type="{}"}
He was born in { 427-428 _5 } BC.

In which year was Plato born?
He was born in

BC.

  • At Wikiversity, numerical responses are a subtle modification of typed responses. The syntax is identical, except for some additions which allow numerical ranges and numerical tolerances if the answer is a number.
  • In the example to the right, the uncertainty over Plato's date of birth is reflected in the answer by using a range. A simple hyphen between the numbers permits all numbers inbetween.
{How far is the earth from the sun?
|type="{}"}
{ 91-95 _3 } million miles.

How far is the earth from the sun?

million miles.

  • This is another example of a range.
  • The _3 ensures that the textfield doesn't get too wide.
{What is 10 times 10?
|type="{}"}
{ 100 5% _3 }

What is 10 times 10?

  • This is an example of specifying a tolerance. The critical part is "5%", which specifies the expected tolerance of 5%. In this example, values between 95 and 105 should work, but try it.
  • At the time of writing, the underscore method of limiting the size of the textfield does not yet work in combination with a tolerance specification, so a range may be a better method of specifying numerical accuracy.

Complete the following text, inserting words and numbers as appropriate.
The Earth formed around

billion years ago and its only known natural satellite, the

, began orbiting it around

billion years ago. At present, the Earth orbits the

once for every roughly

times it rotates about its axis.

  • Because numerical responses are, programmatically, a sub-variety of typed response, numerical and text responses can be freely mixed in a gapfill as shown to the left.


סוג תגובה טבלאית עם כפתורי רדיו

wikitext rendering comments
 {Question
 |type="()"}
 | A | B | C 
 +-- A is correct.
 -+- B is correct.
 --+ C is correct.

Question

A B C
A is correct.
B is correct.
C is correct.

  • Add extra radio buttons by reduplicating the +/- signs at the beginning of each row.
  • There should only be one plus sign in each row.
  • Specify columns headers by using pipes at the top.

סוג תגובה טבלאית עם תיבות סימון

wikitext rendering comments
{Question
|type="[]"}
| Option A | Option B | Option C 
++- Question 1 
(Clue: A and B are correct).
-++ Question 2 (
Clue: B and C are correct).
--+ Question 3 
(Clue: C is correct).

Question

Option A Option B Option C
Question 1 (Clue: A and B are correct).
Question 2 (Clue: B and C are correct).
Question 3 (Clue: C is correct).

  • This type of question has multiple everything.
  • Correct answers are indicated by plus signs, incorrect ones by minus signs. By reduplicating the +/- signs at the beginning of each row, extra checkboxes can be added.
  • The column headers are defined using pipes at the top as shown.

דברים מתקדמים

הוספת משוב

wikitext rendering comments
 {Question
 |type="()"}
 + The correct answer.
 || Feedback for correct answer.
 - Distractor.
 || Feedback for distractor.
 - Distractor.
 || Feedback for distractor.
 - Distractor.
 || Feedback for distractor.

Question

The correct answer.
Distractor.
Distractor.
Distractor.

  • Feedback is text which is initially hidden, and then shown to the user when they submit the quiz for correction. Feedback typically serves the purposes of encouragement, explanation, congratulation and commiseration.
  • Feedback is set with all types by using a double vertical line || immediately after a response.
  • The pipes beginning the feedback section must be on a new line.
  • Unlike some other quiz systems, all feedback items are displayed on correction. With other quiz systems, the norm is to display the feedback only for those items which were selected by the user.
  • To try out the feedback effect, choose a response and click the correction button. The feedback will then appear.

הוספת גושי טקסט בין שאלות

wikitext rendering comments
{This is the first question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{This is a block of text.}
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{This is the second question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.

Syntax error

This is the first question.

The correct answer.
Distractor.
Distractor.
The correct answer.
Distractor.
Distractor.

  • Text blocks can be inserted between questions by placing it between curly brackets {....}.
  • The text blocks can contain wiki markup, such images, hyperlinks and formatting tags, as shown in this example.

שימוש בתמונות כתשובות

טקסט ויקי רינדור תגובות
<quiz display=simple>
{ ?אילו מבין אלה אינם אגוזים }
- 
[[Image:Walnut03.jpg|פיקסלים 100]]
+ 
[[Image:Peanuts.jpg|פיקסלים 100]]
+ 
[[Image:Malus-Idared on tree.jpg|פיקסלים 100]]
- 
[[Image:Pistachios in a bag.jpg|פיקסלים 100]]
- 
[[Image:Chestnut.jpg|פיקסלים 100]]
+ 
[[Image:P10802511.JPG|פיקסלים 100]]
</quiz>

Syntax error

?אילו מבין אלה אינם אגוזים

???
???
???
???
???
???

  • Unfortunately there does not yet seem to be a way of putting these into a row or tabularising the layout.
  • Although this has not been done here for reasons of space, it is generally good practice to specify some kind of tooltip text for the images, but try to avoid text which gives away the answer.

שימוש בתמונות בשאלה

wikitext rendered comments
<quiz display=simple>
{ What is this?
</div> 
[[Image:Butterfly tongue.jpg|100px| ]]
<div lang="en" dir="ltr" class="mw-content-ltr">
| type="()" }
- Tiger
+ Butterfly
- Bee
- Fly
</quiz>

What is this?

Tiger
Butterfly
Bee
Fly

In this example, the image is part of the question. You just use normal wiki-markup to insert the image(s).

שימוש באנימציות

.הסעיף לא מוסיף טריקים טכניים חדשים, אבל זה נראה יפה

?איזה סוג של דגים אלה

דגי מליח
דגי אלתית
דגי טונה
דגי זהב

?מה זה

מנוע בוקסר
מנוע ונקל
מנוע כוכבי

?כמה כדורים יש כאן

היפר-קישורים וסימון אחר

סימון שעובד בתוך חידונים

  • Hyperlinks: [[Special:MyLanguage/....|....]].
  • Images: </translate> [[Image:....|<translate>Image:....</translate>]] <translate>.
  • Other media: [[Special:MyLanguage/....|....]].
  • Bold and italic.
  • <big> and <br />

סימון שעובד חלקית בתוך חידונים

  • Templates: {{....}}.
    • subst doesn't work.
  • Tables: {|....|}.
  • Headings: e.g. ===....===.
    • Warning: At the moment there is a problem with the toc.
  • Lists and indents: using #, * and :

הוספת מוזיקה ואפקטים קוליים

זה דומה להכנסת תמונות. נעשה שימוש בסימון ויקי סטנדרטי.

הגדרת נקודות

wikitext
(what you write)
rendering
(what you see)
comments
<quiz points="3/1!">
{Try this question now.} 
+ Plus 3 points for this one.
- Minus 1 point for this one.
</quiz>

  

{Try this question now.

Plus 3 points for this one.
Minus 1 point for this one.

  • By default, there is 1 point for a correct answer and 0 for a wrong answer.
  • You can change this for the whole quiz by using a points attribute for the quiz tag.
  • The format is "X/Y!", where X gives the points for a correct answer and Y the points for a wrong answer. The Y points are expressed as a positive integer but are subtracted from the score.
  • Due to a bug, the points attribute has no effect if display=simple is used (version 0.9.2).
  • Values like 1.25 or 2.5 are allowed
<quiz display=simple>
{Try this question now.
|type="()" } 
+ 1 points for this one.
- 0 points for this one.
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{Try this question now. 
|type="()" coef="2"} 
+ 2 points for this one.
- 0 points for this one.
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{Try this question now. 
|type="()" coef="4"} 
+ 4 points for this one.
- 0 points for this one.
</div>

<div lang="en" dir="ltr" class="mw-content-ltr">
{Try this question now. 
|type="()" coef="0.5"} 
+ 1/2 point for this one.
- 0 points for this one.
</quiz>

Syntax error

{Try this question now.

1 point for this one.
0 points for this one.
2 points for this one.
0 points for this one.
4 points for this one.
0 points for this one.
1/2 point for this one.
0 points for this one.

  • A coefficient is a way of giving a weighting to a specific question. Normally all the questions have the same number of points. By default, they all have one point. By specifying a coefficient for each or any question, you can multiply the number of points for that question by the coefficient.
  • Coefficients can be both numbers above one and numbers between 0 and 1. If the coefficient is above 1, the question will receive greater weighting. If the coefficient is less than 1, the question will receive less weighting.
  • You must put inverted commas around the argument of the coef attribute.

פתרון בעיות

  • You cannot test out the quiz while editing a page, because the submit button is grayed out. If you wish to test your new quiz, then create a sandbox page somewhere else first (e.g. as a subpage of your user page), then test the quiz there, and finally transfer the quiz to its final location (and test it again anyway).
  • The quiz was developed for IE6, IE7, Firefox (and Opera?), but display quality on Opera may not be optimal, and there may be display differences between browsers.
  • A reminder: each question must be separated by a blank line, otherwise the questions are merged together into one question.

דברים עתידיים

Information about future developments is mainly available at the project space on MediaWiki. Lots of things are in planning.

ראו גם

ויקיברסיטה

מדיה-ויקי