<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AQuiz_database_structure</id>
	<title>Development:Quiz database structure - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AQuiz_database_structure"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Quiz_database_structure&amp;action=history"/>
	<updated>2026-05-06T19:43:16Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Quiz_database_structure&amp;diff=11722&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Quiz_database_structure&amp;diff=11722&amp;oldid=prev"/>
		<updated>2024-10-21T08:53:04Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:53, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Quiz_database_structure&amp;diff=11721&amp;oldid=prev</id>
		<title>1&gt;TimHunt: Reverted edits by Dooug (Talk); changed back to last version by TimHunt</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Quiz_database_structure&amp;diff=11721&amp;oldid=prev"/>
		<updated>2009-03-08T09:56:49Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/Dooug&quot; title=&quot;Служебная:Вклад/Dooug&quot;&gt;Dooug&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0:Dooug&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Обсуждение участника:Dooug (страница не существует)&quot;&gt;Talk&lt;/a&gt;); changed back to last version by &lt;a href=&quot;/index.php?title=%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:TimHunt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Участник:TimHunt (страница не существует)&quot;&gt;TimHunt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Quiz developer docs}}&lt;br /&gt;
&lt;br /&gt;
This page documents the database tables use by the quiz module.&lt;br /&gt;
&lt;br /&gt;
==Quiz settings and runtime overview==&lt;br /&gt;
&lt;br /&gt;
It is helpful to distinguish between quiz settings, which is where we store information about how the teacher has set up the quiz, and &amp;#039;runtime&amp;#039; (not a great name) where we store information about people&amp;#039;s attempts at the quiz.&lt;br /&gt;
&lt;br /&gt;
Note that information about the attempter&amp;#039;s interaction with each question is stored by the question engine. See [[Development:Question_database_structure]] for details.&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz_database.png|560px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz_database.dia]] [http://projects.gnome.org/dia/ Dia ] file, should you wish to have a copy of this diagram in an editable format.&lt;br /&gt;
&lt;br /&gt;
==Quiz report tables overview==&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz_reports_database.png|614px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz_reports_database.dia]] [http://projects.gnome.org/dia/ Dia ] file, should you wish to have a copy of this diagram in an editable format.&lt;br /&gt;
&lt;br /&gt;
==Common field types==&lt;br /&gt;
&lt;br /&gt;
* Fields that hold an overall score, like quiz.grade, should be NUMBER(10,5).&lt;br /&gt;
* Fields that hold an individual question score, like quiz_question_instances.grade, should be NUMBER(12,7).&lt;br /&gt;
&lt;br /&gt;
==Detailed table descriptions==&lt;br /&gt;
&lt;br /&gt;
In Moodle 2.0 dev, you can get these by going to Administration -&amp;gt; Development -&amp;gt; XMLDB and clicking on the [Doc] link next in any of the relevant rows (mod/quiz/db, mod/quiz/report/&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;/db). Looking directly there is much more likely to be up-to-date than relying on information that has been copied here.&lt;br /&gt;
&lt;br /&gt;
(Wouldn&amp;#039;t it be nice if that documentation was automatically build and available online.)&lt;br /&gt;
&lt;br /&gt;
==Rough change-log==&lt;br /&gt;
&lt;br /&gt;
===Moodle 2.0===&lt;br /&gt;
&lt;br /&gt;
* New field quiz.showuserpicture. See MDL-3156.&lt;br /&gt;
* All the quiz report tables are new. See [[Development:Quiz_report_enhancements]]&lt;br /&gt;
* All fields that store grades were reviewed and set to the recommended types mentioned above.&lt;br /&gt;
* Never used quiz_question_versions table was removed.&lt;br /&gt;
&lt;br /&gt;
===Moodle 1.9===&lt;br /&gt;
&lt;br /&gt;
* Time limit field changed to int(10).&lt;br /&gt;
&lt;br /&gt;
===Moodle 1.7===&lt;br /&gt;
&lt;br /&gt;
* New table quiz_feedback.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Development:Question_database_structure| Question bank/engine database structure]]&lt;br /&gt;
* [[Development:Database_schema_introduction|Database schema introduction]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Quiz]]&lt;/div&gt;</summary>
		<author><name>1&gt;TimHunt</name></author>
	</entry>
</feed>