Database Design For Dynamic Online Surveys: Conference Paper
Database Design For Dynamic Online Surveys: Conference Paper
Database Design For Dynamic Online Surveys: Conference Paper
net/publication/4014191
CITATION READS
1 6,382
4 authors, including:
J. C. Witte
George Mason University
45 PUBLICATIONS 1,069 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by J. C. Witte on 04 July 2014.
Database
Client
Developer
Client
Client
table question_block;
+----------------+------------+------+-----+---------+
| Field | Type | Null | Key | Default |
+----------------+------------+------+-----+---------+
| q_block_id | bigint(20) | | PRI | 0 |
| q_block_seq | text | YES | | NULL |
| rand_type | bigint(20) | YES | | NULL |
| rand_parameter | bigint(20) | YES | | NULL |
+----------------+------------+------+-----+---------+
table block_sequence;
+--------------------+------------+------+-----+---------+
| Field | Type | Null | Key | Default |
+--------------------+------------+------+-----+---------+
| survey_type_id | bigint(20) | | | 0 |
| current_q_block_id | bigint(20) | | PRI | 0 |
| boolean_expression | text | YES | | NULL |
| next_q_block_id | bigint(20) | | | 0 |
| sequence_number | bigint(20) | | PRI | 0 |
+--------------------+------------+------+-----+---------+
Figure 5. Client response tables.
Table user_response;
+------------+------------+------+-----+---------------------+
| Field | Type | Null | Key | Default |
+------------+------------+------+-----+---------------------+
| user_id | bigint(20) | | PRI | 0 |
| q_id | bigint(20) | | PRI | 0 |
| a_id | bigint(20) | | PRI | 0 |
| r_datetime | datetime | | PRI | 0000-00-00 00:00:00 |
+------------+------------+------+-----+---------------------+
Table user_response_text;
+-----------------+------------+------+-----+---------------------+
| Field | Type | Null | Key | Default |
+-----------------+------------+------+-----+---------------------+
| user_id | bigint(20) | | PRI | 0 |
| q_id | bigint(20) | | PRI | 0 |
| r_text | text | YES | | NULL |
| r_text_datetime | datetime | | PRI | 0000-00-00 00:00:00 |
+-----------------+------------+------+-----+---------------------+
Table comments;
+------------+------------+------+-----+---------------------+
| Field | Type | Null | Key | Default |
+------------+------------+------+-----+---------------------+
| user_id | bigint(20) | | MUL | 0 |
| q_block_id | bigint(20) | | | 0 |
| questions | text | YES | | NULL |
| comment | text | YES | | NULL |
| c_datetime | datetime | | | 0000-00-00 00:00:00 |
+------------+------------+------+-----+---------------------+
Survey language
English 75.0% 77.7% 69.7% 86.8%
German 6.9% 6.8% 7.1% 5.4%
Italian 7.2% 6.3% 8.8% 3.0%
Spanish 11.0% 9.2% 14.1% 4.8%
Survey language
English 85.1% 85.1% 84.8% 88.8%
German 6.6% 7.3% 5.5% 5.6%
Italian 3.5% 3.6% 3.6% 3.2%
Spanish 4.7% 4.0% 6.1% 3.4%