-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhaskell-test.json
55 lines (55 loc) · 1.38 KB
/
haskell-test.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"title": "Haskell theoretical test",
"intro": "This test serves as example...",
"questions": [
{
"text": "What is the result of: 5*2+10?",
"answer": {
"kind": "numeric",
"corrects": [20],
"score": 1
}
},
{
"text": "What is the name of the most basic module?",
"answer": {
"kind": "textual",
"corrects": ["Prelude"],
"score": 1
}
},
{
"text": "What is the name of mathematician related to Haskell language name?",
"answer": {
"kind": "textual",
"corrects": ["Haskell Curry", "Haskell Brooks Curry", "Haskell B. Curry"],
"score": 1
}
},
{
"text": "What function is able to put string on console and add newline?",
"answer": {
"kind": "multichoice",
"choices": [
{"text": "show", "score": -1},
{"text": "print", "score": 1},
{"text": "putStr", "score": -1},
{"text": "putStrLn", "score": 1}
]
}
},
{
"text": "What typeclass is used for comparison?",
"answer": {
"kind": "singlechoice",
"choices": [
{"text": "Enum", "score": -1},
{"text": "Ord", "score": 1},
{"text": "Foldable", "score": -1},
{"text": "Monad", "score": -1},
{"text": "Show", "score": -1}
]
}
}
]
}