quizzes/software-carpentry-pre-assessment: Allow multiple platforms
[quizzer.git] / quizzes / software-carpentry-pre-assessment.json
1 {
2         "version": "0.3",
3         "copyright": [
4                 "Copyright (C) 2013 Greg Wilson <gvwilson@third-bit.com>",
5                 "",
6                 "The questions for this quiz are CC BY 3.0 Unported",
7                 "http://creativecommons.org/licenses/by/3.0/"
8                 ],
9         "introduction": "Pre-assessment for Software Carpentry boot camps.  Better scientist training through science!",
10         "questions": [
11                 {
12                         "class": "ChoiceQuestion",
13                         "prompt": "Career stage",
14                         "display_choices": true,
15                         "answer": [
16                                 "Undergrad",
17                                 "Grad",
18                                 "Post-doc",
19                                 "Faculty",
20                                 "Industry",
21                                 "Support staff"
22                         ]
23                 },
24                 {
25                         "class": "ChoiceQuestion",
26                         "prompt": "Discipline",
27                         "display_choices": true,
28                         "accept_all": true,
29                         "answer": [
30                                 "Space science",
31                                 "Physics",
32                                 "Chemistry",
33                                 "Earth science (geology, oceanography, meteorology)",
34                                 "Life science (ecology and organisms)",
35                                 "Life science (cells and genes)",
36                                 "Brain and neurosciences",
37                                 "Medicine",
38                                 "Engineering (civil, mechanical, chemical)",
39                                 "Computer science/electrical engineering",
40                                 "Economics",
41                                 "Humanities/social sciences",
42                                 "Tech support/lab tech/support programmer",
43                                 "Admin"
44                         ]
45                 },
46                 {
47                         "class": "ChoiceQuestion",
48                         "prompt": "Platform",
49                         "display_choices": true,
50                         "multiple_answers": true,
51                         "accept_all": true,
52                         "answer": [
53                                 "Linux",
54                                 "Apple OS X",
55                                 "Microsoft Windows"
56                         ]
57                 },
58                 {
59                         "class": "ChoiceQuestion",
60                         "prompt": "How do you usually store files that you update?",
61                         "display_choices": true,
62                         "accept_all": true,
63                         "answer": [
64                                 "Save over the current version in the same file, or add.",
65                                 "Add some date information in the filename and/or use directories with version information.",
66                                 "Use a version control system like Subversion, Git, Mercurial, etc."
67                         ]
68                 },
69                 {
70                         "class": "ChoiceQuestion",
71                         "prompt": "A tab-delimited file has two columns: the date, and the highest temperature on that day. Produce a graph showing the average highest temperature for each month.",
72                         "display_choices": true,
73                         "answer": [
74                                 "Could do it easily",
75                                 "Would recognize a correct solution if I saw one",
76                                 "Could struggle through",
77                                 "Wouldn't know where to start"
78                         ]
79                 },
80                 {
81                         "class": "Question",
82                         "prompt": "A tab-delimited file has two columns: the date, and the highest temperature on that day. What language/tool would you use to produce a graph showing the average highest temperature for each month?",
83                         "display_choices": true,
84                         "accept_all": true
85                 },
86                 {
87                         "class": "ChoiceQuestion",
88                         "prompt": "Write a short program to read a file containing columns of numbers separated by commas, average the non-negative values in the second and fifth columns, and print the results.",
89                         "display_choices": true,
90                         "answer": [
91                                 "Could do it easily",
92                                 "Would recognize a correct solution if I saw one",
93                                 "Could struggle through",
94                                 "Wouldn't know where to start"
95                         ]
96                 },
97                 {
98                         "class": "Question",
99                         "prompt": "What language/tool would you use to read a file containing columns of numbers separated by commas, average the non-negative values in the second and fifth columns, and print the results?",
100                         "display_choices": true,
101                         "accept_all": true
102                 },
103                 {
104                         "class": "ChoiceQuestion",
105                         "prompt": "In a directory with 1000 text files, create a list of all files that contain the word Drosophila, and redirect the output to a file called results.txt.",
106                         "display_choices": true,
107                         "answer": [
108                                 "Could do it easily",
109                                 "Would recognize a correct solution if I saw one",
110                                 "Could struggle through",
111                                 "Wouldn't know where to start"
112                         ]
113                 },
114                 {
115                         "class": "ChoiceQuestion",
116                         "prompt": "A database has two tables Scientist and Lab. The Scientist table's columns are the scientist's student ID, name, and email address; the Lab table's columns are lab names, lab IDs, and scientist IDs. Write an SQL statement that outputs a count of the number of scientists in each lab.",
117                         "display_choices": true,
118                         "answer": [
119                                 "Could do it easily",
120                                 "Would recognize a correct solution if I saw one",
121                                 "Could struggle through",
122                                 "Wouldn't know where to start"
123                         ]
124                 }
125         ]
126 }