Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a350cea3
Commit
a350cea3
authored
Jun 05, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Editing survey questions.
parent
6c9c411b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
61 deletions
+43
-61
djangoapps/student/survey_questions.py
+43
-61
No files found.
djangoapps/student/survey_questions.py
View file @
a350cea3
...
@@ -8,7 +8,7 @@ def exit_survey_list_for_student(student):
...
@@ -8,7 +8,7 @@ def exit_survey_list_for_student(student):
#If we use random.sample on randomized_questions directly, it will re-arrange the questions
#If we use random.sample on randomized_questions directly, it will re-arrange the questions
if
not
settings
.
DEBUG_SURVEY
:
if
not
settings
.
DEBUG_SURVEY
:
chosen_indices
=
random
.
sample
(
range
(
len
(
randomized_questions
)
),
6
)
chosen_indices
=
random
.
sample
(
range
(
len
(
randomized_questions
)
),
6
)
else
:
else
:
#In debug mode, we show all surveys
#In debug mode, we show all surveys
chosen_indices
=
range
(
len
(
randomized_questions
)
)
chosen_indices
=
range
(
len
(
randomized_questions
)
)
...
@@ -30,7 +30,6 @@ exit_survey_questions = {
...
@@ -30,7 +30,6 @@ exit_survey_questions = {
'question_name'
:
'future_offerings'
,
'question_name'
:
'future_offerings'
,
'label'
:
'Please inform me of opportunities to help with future offerings of 6.002x, such as staffing discussiong forums or developing content.'
},
'label'
:
'Please inform me of opportunities to help with future offerings of 6.002x, such as staffing discussiong forums or developing content.'
},
#I think we should combine this question with the one above it. Mostly to shorten the survey
{
'type'
:
'checkbox'
,
{
'type'
:
'checkbox'
,
'question_name'
:
'6002x_updates'
,
'question_name'
:
'6002x_updates'
,
'label'
:
'Please subscribe me to periodic updates about additional topics, refreshers, and follow-ups for topics in 6.002x.'
},
'label'
:
'Please subscribe me to periodic updates about additional topics, refreshers, and follow-ups for topics in 6.002x.'
},
...
@@ -42,6 +41,7 @@ exit_survey_questions = {
...
@@ -42,6 +41,7 @@ exit_survey_questions = {
'choices'
:
[
'choices'
:
[
'I teach EE in college/university.'
,
'I teach EE in college/university.'
,
'I teach EE in high school/secondary school.'
,
'I teach EE in high school/secondary school.'
,
'I teach EE elsewhere.'
,
'I do not teach EE.'
,
'I do not teach EE.'
,
]},
]},
...
@@ -49,13 +49,13 @@ exit_survey_questions = {
...
@@ -49,13 +49,13 @@ exit_survey_questions = {
'question_name'
:
'highest_degree'
,
'question_name'
:
'highest_degree'
,
'label'
:
'What is the highest degree you have completed?'
,
'label'
:
'What is the highest degree you have completed?'
,
'choices'
:
[
'choices'
:
[
'
I have a
PhD in a science or engineering field.'
,
'PhD in a science or engineering field.'
,
'
I have a
PhD in another field.'
,
'PhD in another field.'
,
'
I have a m
aster
\'
s or professional degree.'
,
'
M
aster
\'
s or professional degree.'
,
'
I have a b
achelor
\'
s degree.'
,
'
B
achelor
\'
s degree.'
,
'
I completed s
econdary/high school.'
,
'
S
econdary/high school.'
,
'
I completed j
unior secondary/high school.'
,
'
J
unior secondary/high school.'
,
'
I completed element
ary school.'
,
'
Elementary/prim
ary school.'
,
]},
]},
{
'type'
:
'short_field'
,
{
'type'
:
'short_field'
,
...
@@ -63,31 +63,18 @@ exit_survey_questions = {
...
@@ -63,31 +63,18 @@ exit_survey_questions = {
'label'
:
'What is your age?'
,
'label'
:
'What is your age?'
,
},
},
# We could also do this as a radio Male/Female/Other
{
'type'
:
'short_field'
,
'question_name'
:
'gender'
,
'label'
:
'What is your gender?'
,
},
{
'type'
:
'radio'
,
'question_name'
:
'scholarship_secondary'
,
'label'
:
'Did you receive any scholarship or financial assistance to attend <strong>secondary school</strong>?'
,
'choices'
:
[
'Yes'
,
'No'
,
]},
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'scholarship_college'
,
'question_name'
:
'gender'
,
'label'
:
'Did you receive any scholarship or financial assistanche to attend <strong>college/university</strong>?'
,
'label'
:
'What is your gender?'
,
'choices'
:
[
'choices'
:
[
'Yes'
,
'Female'
,
'No'
,
'Male'
,
'Other'
,
]},
]},
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'ee_level'
,
'question_name'
:
'ee_level'
,
'label'
:
'
What is the highest level electrical engineering (EE) course you have taken
? '
,
'label'
:
'
How much electrical engineering have you studied
? '
,
'choices'
:
[
'choices'
:
[
'More than one year of EE in college/university'
,
'More than one year of EE in college/university'
,
'One year or less of EE in college/university'
,
'One year or less of EE in college/university'
,
...
@@ -99,36 +86,28 @@ exit_survey_questions = {
...
@@ -99,36 +86,28 @@ exit_survey_questions = {
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'math_level'
,
'question_name'
:
'math_level'
,
'label'
:
'What
is the highest level mathematics course you have taken
?'
,
'label'
:
'What
was your calculus background prior to this course
?'
,
'choices'
:
[
'choices'
:
[
'
Mathematics beyond calculus of a single variable in college/university
'
,
'
Vector calculus or differential equations
'
,
'Single variable calculus'
,
'Single variable calculus'
,
'Algebra'
,
'No calculus'
,
'Self-taught in mathematics'
,
'None of the above'
,
]},
]},
{
'type'
:
'select_many'
,
{
'type'
:
'select_many'
,
'question_name'
:
'why_course'
,
'question_name'
:
'why_course'
,
'label'
:
'Why are you taking this course? (Check all that apply.)'
,
'label'
:
'Why are you taking this course? (Check all that apply.)'
,
'choices'
:
[
'choices'
:
[
'Interest in topic only'
,
'Interest in topic'
,
'Preparation for advanced placement exam'
,
'Preparation for advanced standing exam'
,
'Preparation for advanced standing exam'
,
'Review of EE concepts'
,
'Review of EE concepts'
,
'Employment/job advancement opportunities'
,
'Employment/job advancement opportunities'
,
'Other'
,
'Other'
,
]},
]},
{
'type'
:
'
radio
'
,
{
'type'
:
'
short_field
'
,
'question_name'
:
'weekly_hours'
,
'question_name'
:
'weekly_hours'
,
'label'
:
'How many hours per week on average did you work on this course?'
,
'label'
:
'How many hours per week on average did you work on this course?'
,
'choices'
:
[
},
'0-2'
,
'3-5'
,
'6-9'
,
'10 or more'
,
]},
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'internet_access'
,
'question_name'
:
'internet_access'
,
...
@@ -141,6 +120,26 @@ exit_survey_questions = {
...
@@ -141,6 +120,26 @@ exit_survey_questions = {
'Other'
,
'Other'
,
]},
]},
# New, needs review
{
'type'
:
'select_many'
,
'question_name'
:
'smartphone_usage'
,
'label'
:
'Are you interested in taking edX courses from a mobile device, such as a smartphone? (Chech all that apply.)'
,
'choices'
:
[
'I would like to use a mobile device my <strong>primary</strong> way of taking edX courses.'
,
'I would like to use a mobile device to <strong>sometimes</strong> access edX courses.'
,
'I would <strong>not</strong> like to use a mobile device with edX courses.'
,
'I use an Android device.'
,
'I use an iPhone or iPod Touch.'
,
'I use an iPad.'
,
'I use a different internet-capable mobile device.'
,
'I do not use an internet-capable mobile device.'
,
]},
# Level of bandwidth
# Speed of computer/RAM/etc.
# Size of monitor
# Own a tablet?
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'work_offline'
,
'question_name'
:
'work_offline'
,
'label'
:
'Have you worked <b>offline</b> with anyone on the MITx material?'
,
'label'
:
'Have you worked <b>offline</b> with anyone on the MITx material?'
,
...
@@ -153,7 +152,7 @@ exit_survey_questions = {
...
@@ -153,7 +152,7 @@ exit_survey_questions = {
{
'type'
:
'radio'
,
{
'type'
:
'radio'
,
'question_name'
:
'online_course_count'
,
'question_name'
:
'online_course_count'
,
'label'
:
'
H
ow many online courses have you taken?'
,
'label'
:
'
Including 6.002x, h
ow many online courses have you taken?'
,
'choices'
:
[
'choices'
:
[
'1'
,
'1'
,
'2'
,
'2'
,
...
@@ -163,23 +162,6 @@ exit_survey_questions = {
...
@@ -163,23 +162,6 @@ exit_survey_questions = {
]},
]},
{
'type'
:
'short_field'
,
{
'type'
:
'short_field'
,
'question_name'
:
'home_language'
,
'label'
:
'Language most spoken in your home:'
,
},
{
'type'
:
'short_field'
,
'question_name'
:
'home_postal_code'
,
'label'
:
'Postal code (home address):'
,
},
# This question seems redundant with the above question. Remove it? Does the whole world have postal codes?
# Also, we already asked for a location
{
'type'
:
'short_field'
,
'question_name'
:
'home_country'
,
'label'
:
'Country (home address):'
,
},
{
'type'
:
'short_field'
,
'question_name'
:
'race'
,
'question_name'
:
'race'
,
'label'
:
'With what race/ethnic group do you most strongly identify?'
,
'label'
:
'With what race/ethnic group do you most strongly identify?'
,
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment