forked from hedyorg/hedy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
et.yaml
2057 lines (2057 loc) · 113 KB
/
et.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
levels:
1:
1:
question_text: Mis on selle programmeerimiskeele nimi?
mp_choice_options:
- option: Hedy
feedback: Tubli!
- option: Heddy
feedback: See ei ole õige!
- option: Haydie
feedback: See ei ole õige!
- option: Heidi
feedback: See ei ole õige!
correct_answer: A
hint: See sai nime Hedy Lamarr' järgi.
question_score: '10'
5:
mp_choice_options:
- option: "```\n{print}\n```\n"
feedback: Teisel real peaks sinu vastus sulle tagasi olema korratud.
- feedback: Hedy ei ole käsk.
option: "```\nHedy\n```\n"
- option: "```\n{ask}\n```\n"
feedback: '`{ask}` aitab sul midagi küsida.'
- option: "```\n{echo}\n```\n"
feedback: Tubli!
correct_answer: D
hint: Sa tahad teisel real on vastust tagasi näha.
question_score: '10'
question_text: Milline käsk puudub teisel real?
code: "{ask} Kes on sinu lemmik loom?\n_?_ Nii et sinu lemmik loom on..."
6:
question_text: What's wrong with this code?
code: "{print} Hi im Hedy!\n{print} Which football team do you support?\n{echo} You support...\n{print} Cool! Me too!"
mp_choice_options:
- option: In line 1 `{print}` should be replaced with `{ask}`.
feedback: '`{print}` in line 1 is correct.'
- option: In line 2, `{print}` should be replaced with `{ask}`.
feedback: Great! You paid attention!
- option: Line 3 has to begin with `{print}` instead of `{echo}`.
feedback: '`{echo}` is correct.'
- option: In line 4, `{print}` is spelled wrong.
feedback: No, there is a mistake somewhere else
correct_answer: B
question_score: '10'
hint: Check the `{print}` commands.
7:
code: "{print} Welcome at Hedys restaurant!\n{ask} What would you like to eat?\n{echo} So you want to order ...\n{print} Coming right up! Enjoy!"
mp_choice_options:
- option: In line 1 `{print}` needs to be replaced with `{ask}`
feedback: Are you sure something is wrong?
- option: In line 1 `{print}` needs to be replaced with `{echo}`
feedback: Are you sure something's wrong?
- option: In line 3 `{echo}` needs to be replaced with `{print}`
feedback: Are you sure something is wrong?
- feedback: Correct!
option: Nothing! This is a perfect code!
question_text: What's wrong with this code?
correct_answer: D
hint: Check the code line by line
question_score: '10'
8:
mp_choice_options:
- option: You can use it to `{ask}` a question.
feedback: That's what `{ask}` is for!
- option: You can use it to `{print}` text.
feedback: That's what `{print}` is for!
- option: You can use it to repeat an answer.
feedback: Good job!
- feedback: That's not right...
option: You can use it to make text disappear.
correct_answer: C
hint: '`{echo}` is used after an `{ask}` command.'
question_text: How do you use the `{echo}` command?
question_score: '10'
10:
mp_choice_options:
- feedback: Great! Let's go to the next level!
option: Yes!
- option: No
feedback: What a shame... You can practice some more in level 1!
correct_answer: A
hint: Let's go!
question_score: '10'
question_text: Are you ready for level 2?
2:
question_text: Milline käsk kirjutab teksti ekraanile?
mp_choice_options:
- option: "```\n{echo}\n```\n"
feedback: '`{echo}` kordab antud vastust.'
- option: "```\n{print}\n```\n"
feedback: Õige!
- option: "```\ntere\n```\n"
feedback: Tere ei ole käsk, proovi uuesti.
- option: "```\n{ask}\n```\n"
feedback: '`{ask}` aitab sul midagi küsida.'
hint: _?_ Tere maailm!
question_score: '10'
correct_answer: B
code: |
___ Hello!
3:
question_text: Kuidas sa kellegi lemmikvärvi küsid?
mp_choice_options:
- option: "```\n{print} Mis on sinu lemmikvärv?\n```\n"
feedback: "`{print}` kirjutab teksti ekraanile, aga ei oota vastust."
- option: "```\n{ask} {print} Mis on sinu lemmikvärv?\n```\n"
feedback: Sul on ainult ühte käsku vaja, mitte kahte.
- option: "```\n{ask} Mis on sinu lemmikvärv?\n```\n"
feedback: Väga tubli!
- option: "```\n{echo} Mis on sinu lemmikvärv?\n```\n"
feedback: '`{echo}` kordab mida sa kirjutanud oled, aga ei oota vastust.'
correct_answer: C
hint: '`{ask}` käsk aitab sul midagi küsida'
question_score: '10'
4:
question_text: Mis siin valesti on?
code: "Tere, ma olen Hedy!\n{ask} Kes sina oled?\n{echo} Tere..."
mp_choice_options:
- option: '`{print}` puudub esimesel real.'
feedback: Õige!
- option: '`{ask}` on teisel real valesti kirjutatud. See peab `aks` olema.'
feedback: '{ask} on õigesti kirjutatud.'
- option: "`{echo}` ei ole käsk."
feedback: "`{echo}` on küll käsk."
- option: Mitte midagi! Kood on õige!
feedback: Ei ole, proovi uuesti!
correct_answer: A
hint: Esimene rida ei tundu õige
question_score: '10'
9:
question_text: What's wrong with this code?
code: "{print} Hello!\n{print} How are you doing?\n{echo} So you are doing..."
mp_choice_options:
- option: '`{print}` in line 1 should be `{ask}`'
feedback: No, `{print}` is right. Where is the question being asked?
- option: '`{print}` in line 2 should be `{ask}`'
feedback: Super!
- option: '`{echo}` in line 3 should be `{ask}`'
feedback: No, `{echo}` is right. Where is the question being asked?
- option: Nothing. This is a perfect code!
feedback: Look carefully for the mistake...
correct_answer: B
hint: '`{ask}` allows you to ask a question'
question_score: '10'
2:
1:
mp_choice_options:
- option: In level 2 the `{print}` command doesn't exist anymore
feedback: '`{print}` still works'
- option: In level 2 the `{ask}` command doesn't exist anymore
feedback: '`{ask}` still works!'
- feedback: Good
option: In level 2 the `{echo}` command doesn't exist anymore
- option: In level 2 all the level 1 commands still work
feedback: No one command doesn't work anymore.
question_text: Which statement is true?
correct_answer: C
hint: '`{print}` and `{ask}` still exist.'
question_score: '10'
2:
question_text: Which code is correct?
mp_choice_options:
- option: "```\nname {is} {ask} What is your name?\n```\n"
feedback: Super!
- option: "```\n{ask} {is} name What is your name\n```\n"
feedback: The words are right, the order is not!
- option: "```\n{ask} What is your name?\n```\n"
feedback: This worked in level 1, but in level 2 and up it works differently.
- option: "```\n{ask} What is your name? {is} name\n```\n"
feedback: The words are right, the order isn't!
correct_answer: A
hint: "`{ask}` doesn't work like in level 1"
question_score: '10'
3:
mp_choice_options:
- option: name goes to the market and she buys an apple.
feedback: The word name is replaced with Marleen
- option: Marleen goes to the market.
feedback: The second part of the sentence isn't left out!
- option: Marleen goes to the market and she buys an apple.
feedback: Right on!
- feedback: She is not replaced with the name
option: Marleen goes to the market and Marleen buys an apple.
correct_answer: C
hint: The word name is replaced with Marleen
question_score: '10'
question_text: What appears on your output screen when you run this code?
code: "name {is} Marleen\n{print} name goes to the market and she buys an apple."
4:
question_text: What will you see on the output screen when you run this code?
mp_choice_options:
- option: Hi my name is name
feedback: The variable name is replaced with Hedy
- option: Hi my name is Hedy
feedback: The variable name is replaced with Hedy
- option: Hi my Hedy is name
feedback: The variable name is replaced with Hedy
- option: Hi my Hedy is Hedy
feedback: Correct, this mistake will be fixed in level 3!
question_score: '10'
code: "name {is} Hedy\n{print} Hi my name is name!"
correct_answer: D
hint: "'name' is being replaced with 'Hedy' in both places"
5:
question_text: What happens when you use the `{sleep}` command?
mp_choice_options:
- option: It slows down your computer
feedback: fortunately not!
- option: It closes down Hedy
feedback: fortunately not!
- option: Your program pauses for a second and then continues
feedback: That's right!
- option: You put it at the end so Hedy knows your program is finished
feedback: No it would be useless at the end of your code
correct_answer: C
hint: The computer waits for a second at the `{sleep}` command
question_score: '10'
6:
question_score: '10'
question_text: What should be on the lines?
code: "{print} And the award for best programming language goes to...\n_?_\n{print} Hedy!"
mp_choice_options:
- option: "```\n{sleep}\n```\n"
feedback: Perfect!
- option: "```\n{echo}\n```\n"
feedback: There is nothing to repeat back here
- option: "```\n{print}\n```\n"
feedback: There is no text there to `{print}` there
- option: "```\n{ask}\n```\n"
feedback: There is no question there to be asked
correct_answer: A
hint: Pause for dramatic effect...
7:
question_text: What command should be used on line 2?
code: "{print} I will explode in 3 seconds!\n_?_\n{print} BOOM!"
mp_choice_options:
- option: "```\n{print} 3\n```\n"
feedback: You don't need to `{print}`
- option: "```\n{sleep} 3\n```\n"
feedback: Perfect!
- option: "```\n{sleep}\n```\n"
feedback: This way the bomb will explode in 1 second
- option: "```\n{sleep} {sleep} {sleep}\n```\n"
feedback: Make it easier on yourself by using the number 3
correct_answer: B
hint: You want the computer to wait for 3 seconds
question_score: '10'
8:
question_text: How would you correct the first line of code?
code: "{ask} {is} How old are you?\n{print} age"
mp_choice_options:
- option: "```\nage {ask} {is} How old are you?\n```\n"
feedback: That is the wrong order
- option: "```\n{ask} {is} age How old are you?\n```\n"
feedback: That is the wrong order
- option: "```\nage {is} {ask} How old are you?\n```\n"
feedback: You get it!
- option: "```\nage {is} How old are you?\n```\n"
feedback: Where is the `{ask}` command?
correct_answer: C
hint: The variable name should come first
question_score: '10'
9:
question_text: What is going wrong in this code?
code: "dogs {is} animal\n{print} I love animal"
mp_choice_options:
- option: 'Line 1 should say: dogs `{is}` animals'
feedback: The variable name is animal
- option: 'Line 1 should say: animal `{is}` dogs'
feedback: Great!
- option: 'Line 2 should say: `{print}` I love animals'
feedback: The variable name is animal
- option: 'Line 2 should say: `{sleep}` I love animals'
feedback: Sleep is not used to `{print}` text
correct_answer: B
hint: You want to `{print}` 'I love dogs'
question_score: '10'
10:
question_text: What command should be used on the line 1?
code: "flavor {is} _?_\n{print} Your favorite icecream is...\n{sleep}\n{print} flavor"
mp_choice_options:
- option: "```\n{sleep} 3\n```\n"
feedback: You want to know the favorite flavor!
- option: "```\n{print} strawberries\n```\n"
feedback: You do not want a `{print}` command at the middle of the line...
- option: "```\nstrawberries, chocolate, vanilla\n```\n"
feedback: This way you are making a list. You don't want that now.
- option: "```\n{ask} What flavor icecream do you like?\n```\n"
feedback: That's right!
correct_answer: D
hint: You want to `{ask}` a question
question_score: '10'
3:
1:
question_score: '10'
question_text: What command do you use to let Hedy pick something arbitrarily?
mp_choice_options:
- option: "```\n{print}\n```\n"
feedback: '`{print}` is used to print text'
- option: "```\n{ask}\n```\n"
feedback: '`{ask}` is used to ask a question'
- option: "```\n{is}\n```\n"
feedback: '`{is}` is used to make a list'
- option: "```\n{at} {random}\n```\n"
feedback: Correct!
correct_answer: D
hint: Arbitrarily means without a plan or randomly.
2:
code: "animals {is} dog cat cow\n{print} animals {at} {random}"
mp_choice_options:
- option: 'You need commas in line 1: dog, cat, cow.'
feedback: Good job!
- option: Line 1 needs to start with `{print}`.
feedback: No, you don't need `{print}`
- feedback: animals is correct.
option: Line 2 needs to say 'animal' instead of 'animals'',
- option: '`{at} {random}` is spelled incorrectly'
feedback: '`{at} {random}` is the correct spelling'
question_text: What's wrong with this code?
hint: There's something wrong in line 1
question_score: '10'
correct_answer: A
4:
code: "prices {is} 1 dollar, 100 dollar, 1 million dollar\n{print} price {at} {random}"
mp_choice_options:
- option: "```\n{print} price\n```\n"
feedback: You don't want to `{print}` the word price, but you want to `{print}` one price out of your list `{at} {random}`
- option: "```\n{print} prices {at} {random}\n```\n"
feedback: Great! You've really paid attention.
- option: "```\n{print} {at} {random} price\n```\n"
feedback: '`{at} {random}` is placed behind the variable.'
- option: Nothing, this code is alright.
feedback: Look carefully for the mistake you missed!
question_text: What should change in line 2 to print a random price?
correct_answer: B
hint: The variable name is prices
question_score: '10'
5:
mp_choice_options:
- option: Line 1 needs to say `{print}` instead of `{ask}`
feedback: No, that's not wrong.
- option: Line 2 needs to say `{ask}` instead of `{print}`
feedback: No that's not wrong.
- feedback: No, that's not wrong.
option: Line 2 needs to say answers `{at} {random}` `{is}` yes, no, maybe
- option: Nothing, this code is perfect
feedback: That's right!
correct_answer: D
hint: Does this code even have a mistake?
question_score: '10'
code: "question {is} {ask} What do you want to know?\n{print} question\nanswers {is} yes, no, maybe\n{print} answers {at} {random}"
question_text: What is wrong in this code?
6:
question_text: What's wrong with this code?
code: "question {is} {ask} What do you want to know?\nanswers yes, no, maybe\n{print} answers {at} {random}"
mp_choice_options:
- option: Line 2 needs to say question instead of answers
feedback: No that's not right
- option: Line 2 needs the `{is}` command
feedback: Correct
- option: Line 3 needs to say answer instead of answers
feedback: No the variable's called answers
- option: Nothing! This code is great!
feedback: Actually, line 2 has a mistake.
correct_answer: B
hint: There is something wrong with line 2.
question_score: '10'
7:
correct_answer: C
hint: The `{add}` command adds a book, but which one?
question_score: '10'
question_text: What does the `{add}` command do?
code: "books {is} Harry Potter, The Hobbit, Green Eggs and Ham\nyour_book {is} {ask} What is your favorite book?\n{add} your_book {to} books\n{print} books {at} {random}"
mp_choice_options:
- option: The `{add}` command removes a random book from the list
feedback: The remove command removes, the add command adds
- option: The `{add}` command adds a random book to a list
feedback: It doesn't. It adds your answer to the list!
- option: The `{add}` command adds your favorite book to the list
feedback: Correct!
- option: The `{add}` command prints your favorite book.
feedback: No, it adds your favorite book to the list
8:
question_text: What is the output of this code?
code: "crisps {is} sea salt, paprika, sour cream\n{remove} sea salt {from} crisps\n{remove} paprika {from} crisps\n{print} crisps {at} {random}"
mp_choice_options:
- option: You can't tell, because Hedy will `{print}` one of the 3 flavors `{at} {random}`
feedback: Take a look at the `{remove}` commands
- option: sea salt
feedback: sea salt is removed from the list
- option: paprika
feedback: Paprika is removed from the list
- option: sour cream
feedback: That's right!
correct_answer: D
hint: There are 3 flavors, bit 2 are removed. Which one remains?
question_score: '10'
9:
question_text: What's wrong with this code?
mp_choice_options:
- option: 'Line 3 should say: `{remove}` blue `{from}` colors'
feedback: Maybe you want blue hair though!
- option: Line 3 should have an `{add}` command instead of a `{remove}` command
feedback: You want to remove the chosen color so `{remove}` is right.
- option: In line 4 the variable should be called colors instead of color
feedback: Great job!
- option: Nothing, this is a correct code!
feedback: Find the mistake!
correct_answer: C
hint: Look at line 3
question_score: '10'
code: "colors {is} blue, purple, green\nchosen_color {is} {ask} Which haircolor wouldn't your like to have?\n{remove} chosen_color {from} colors\n{print} I will dye my hair color {at} {random}"
10:
question_text: What should be on the _?_?
code: "walkers {is} dad, mom, Sam, Petra\nwalked_yesterday {is} {ask} Who walked the dogs yesterday?\n{print} walked_yesterday shouldn't have to walk the dogs again today\n_?_\n{print} walkers {at} {random} , it's your turn to walk the dogs!"
mp_choice_options:
- option: "```\n{remove} walked_yesterday {from} walkers\n```\n"
feedback: Super!
- option: "```\n{remove} walked yesterday {to} walkers\n```\n"
feedback: '`{remove} {from}` or `{add} {to}`, not `{remove} {to}`'
- option: "```\n{remove} walkers {from} yesterday\n```\n"
feedback: yesterday is not a variable
- option: "```\n{add} walked_yesterday {to} walkers\n```\n"
feedback: This increased the change that the person who walked yesterday now has to do it again. That's mean.
correct_answer: A
hint: The person who walked the dog yesterday should be removed from the list.
question_score: '10'
3:
question_text: What's wrong in line 2 of this code?
code: "options {is} rock, paper, scissors\n{print} rock, paper, scissors {at} {random}"
mp_choice_options:
- option: "```\n{at} {random} {print} options\n```\n"
feedback: You're almost there. The order of the words isn't right yet.
- option: "```\n{print} rock {at} {random}\n```\n"
feedback: you don't always want the Hedy to {print} rock, sometimes you want scissors or paper.
- option: "```\n{print} options {at} {random}\n```\n"
feedback: Very good!
- option: Nothing, the code is correct!
feedback: Look carefully for the mistake
correct_answer: C
hint: The variable (the list) is called options.
question_score: '10'
4:
1:
correct_answer: A
question_text: Which of these is true?
mp_choice_options:
- option: '`{print}` and `{ask}` now need quotation marks'
feedback: That's right
- option: Only `{print}` needs quotation marks
feedback: '`{ask}` needs quotation marks too!'
- option: "`{at} {random}` doesn't work anymore in level 4"
feedback: '`{at} {random}` still works'
- option: '`{at} {random}` now needs quotation marks'
feedback: No, but 2 other commands do.
hint: In level 4 you need quotation marks for 2 commands.
question_score: '10'
4:
mp_choice_options:
- option: "You need quotation marks around the word `{print}`, like this: `'{print}'`."
feedback: The quotation marks shouldn't be around the command itself.
- feedback: Super!
option: You need quotation marks around the words you want to print.
- option: You do not need quotation marks when using the `{ask}` command
feedback: Both `{print}` and `{ask}` require quotation marks
- option: You can choose yourself whether to use quotation marks or not.
feedback: Unfortunately, Hedy is stricter than that.
question_text: Which statement is true?
correct_answer: B
hint: From level 4 on you need to use quotation marks.
question_score: '10'
6:
mp_choice_options:
- option: "```\n{print} 'You win...' prices {at} {random}\n```\n"
feedback: Great! You get it!
- option: "```\n{print} You win... 'prices {at} {random}'\n```\n"
feedback: Hedy will literally print 'prices {at} {random}'
- option: "```\n{print} You win... prices {at} {random}\n```\n"
feedback: You need some quotation marks!
- feedback: Hedy will literally print 'prices {at} {random}''
option: "```\n{print} 'You win... prices {at} {random}'\n```\n"
question_text: What would be a good next line in this code?
code: prices {is} 1 dollar, 100 dollars, 1 million dollars
correct_answer: A
hint: 'Think carefully: what is a variable and should be outside of the quotation marks? And what are normal words that should be inside?.'
question_score: '10'
7:
correct_answer: A
mp_choice_options:
- option: Quotation marks are missing in line 1
feedback: Correct!
- option: Quotation marks are missing in line 2
feedback: A variable doesn't need quotes
- option: Quotation marks are missing in line 3
feedback: You don't want Hedy to literally print 'answers {at} {random}' so no quotation marks needed here!
- option: Nothing, this code is good as is!
feedback: Look carefully. You missed a mistake!
question_text: What's wrong with this code?
code: "question {is} {ask} What do you want to know?\nanswers {is} yes, no, maybe\n{print} answers {at} {random}"
hint: Check each line on whether they'd need quotation marks or not.
question_score: '10'
10:
correct_answer: B
question_text: Which statement is true?
code: "people {is} mom, dad, Emma, Sophie\n{print} The dishes are done by...\n{print} people {at} {random}"
mp_choice_options:
- option: Quotation marks are missing in line 1
feedback: A list doesn't need quotation marks
- option: Quotation marks are missing in line 2
feedback: Correct
- option: Quotation marks are missing in both line 2 and 3
feedback: Line 3 doesn't need quotation marks because it's not printed literally
- option: Nothing, this code has no mistakes
feedback: You missed one!
hint: One line needs quotation marks, because you want it to be printed literally.
question_score: '10'
2:
question_text: Which code uses the proper quotation marks?
mp_choice_options:
- option: "```\n{print} `hello`\n```\n"
feedback: This quotation mark is skewed, you need a straight one.
- option: "```\n{print} 'hello'\n```\n"
feedback: Correct
- option: "```\n{print} hello\n```\n"
feedback: There are no quotation marks here!.
- option: "```\n{print} ,hello,\n```\n"
feedback: This is a comma, you need quotation marks.
correct_answer: B
hint: Pick the right quotation marks.
question_score: '10'
3:
question_text: Where are the quotation marks used correctly?
mp_choice_options:
- option: "```\n{print} Hi Im Hedy\n```\n"
feedback: Add quotation marks please!
- option: "```\n{print} 'Hi Im Hedy\n```\n"
feedback: Both before and after the words you want to print should be a quotation mark.
- option: "```\n'{print} Hi Im Hedy'\n```\n"
feedback: The first quotation mark should be behind the word {print}
- option: "```\n{print} 'Hi Im Hedy'\n```\n"
feedback: Perfect!
correct_answer: D
hint: Both before and after the words you want to print should be a quotation mark.
question_score: '10'
5:
question_text: What has to be changed in order for the game to work?
code: "options {is} rock, paper, scissors\n{print} 'options {at} {random}'"
mp_choice_options:
- option: "```\n'{print} options {at} {random}'\n```\n"
feedback: Never put the quotation mark in front of the {print} command.
- option: "```\n{print} 'options' {at} {random}\n```\n"
feedback: options is a variable. You don't literally want to print 'options {at} {random}'.
- option: "```\n{print} options {at} {random}\n```\n"
feedback: That's right
- option: Nothing, the game already works!
feedback: Look carefully. There is an error.
correct_answer: C
hint: You don't want Hedy to literally print 'options {at} {random}', you want it to print 'rock' or 'paper' or 'scissors'.
question_score: '10'
8:
question_text: What would be a good next line for this code?
code: "{print} 'Welcome at the money show!'\n{print} 'In front of you are 3 doors'\ndoor {is} {ask} 'Which door do you choose?'"
mp_choice_options:
- option: "```\n{print} So you pick door door\n```\n"
feedback: We need quotation marks
- option: "```\n{print} 'So you pick ' door door\n```\n"
feedback: If the player chooses door 3, Hedy will say 'So you pick 3 3
- option: "```\n{print} 'So you pick door ' door\n```\n"
feedback: Super!
- option: "```\n{print} 'So you pick door door'\n```\n"
feedback: Hedy will literally print 'So you pick door door
correct_answer: C
hint: The second word door should be replaced with the number, the first should still be the word door...
question_score: '10'
9:
question_text: What will never appear in your output screen?
code: "clubs {is} Real Madrid, Bayern Munchen, Manchester United, Ajax\n{print} clubs {at} {random} ' is going the win the champions league'"
mp_choice_options:
- option: Ajax is going to win the champions league
feedback: Hedy could `{print}` that
- option: Real Madrid is going to win the champions league
feedback: Hedy could `{print}` that
- option: Bayer Munchen is going to win the champions league
feedback: Hedy could `{print}` that
- option: FC Barcelona is going to win the champions league
feedback: That's right. It's not in the list
correct_answer: D
hint: What are Hedy's options to randomly pick from?
question_score: '10'
5:
3:
mp_choice_options:
- option: Correct!
feedback: This is printed when you type in the correct password
- option: SECRET
feedback: That's right!'
- feedback: The password isn't password...
option: password
- option: ALARM INTRUDER
feedback: This is printed when you type in the incorrect password!
question_text: What is the right password?
code: "password {is} {ask} 'What is the password?'\n{if} password {is} SECRET {print} 'Correct!'\n{else} {print} 'ALARM! INTRUDER!'"
correct_answer: B
hint: "`{if}` password `{is}` ... `{print}` 'Correct!'!'"
question_score: '10'
5:
question_text: Why will Hedy say 'ALARM! INTRUDER' when you type in 'secret'?
code: "password {is} {ask} 'What is the password?'\n{if} password {is} SECRET {print} 'Correct!'\n{else} {print} 'ALARM! INTRUDER!'"
correct_answer: A
hint: The spelling of the word has to be exactly the same.
mp_choice_options:
- option: Because it needs to be in capitals, so SECRET
feedback: Indeed!
- option: Because the password is alarm
feedback: No, this is not the password.
- option: Because it's spelled wrong.
feedback: That's not how you spell secret
- option: Because Hedy makes a mistake
feedback: No, Hedy is right
question_score: '10'
10:
mp_choice_options:
- option: Hedy picks a random monster each time.
feedback: Awesome!
- option: vampire
feedback: Not always...
- option: werewolf
feedback: Not always...
- option: giant spider
feedback: Not always...
correct_answer: A
hint: Mind the last 3 words... monsters `{at} {random}`...
question_score: '10'
question_text: Which monster is standing behind door 1?
code: "{print} 'Escape from the haunted house!'\n{print} 'There are 3 doors in front of you'\ndoor {is} {ask} 'Which door do you choose?'\nmonsters {is} vampire, werewolf, giant spider\n{if} door {is} 2 {print} 'Yay, you can escape!'\n{else} {print} 'You are being devoured by a... ' monsters {at} {random}"
1:
question_text: "What is true?"
mp_choice_options:
- option: "In level 5 `{print}` works differently than in level 4"
feedback: "`{print}` is still the same"
- option: "In level 5 `{ask}` works differently than in level 4"
feedback: "`{ask}` is still the same"
- option: "In level 5 `{ask}` and `{print}` work differently than in level 4"
feedback: "`No these commands remain the same"
- option: "In level 5 `{ask}` and `{print}` work the same as in level 4"
feedback: "Correct!"
correct_answer: "D"
hint: "We have only learned a new command in level 5."
question_score: '10'
code: "number {is} {ask} 'What is your lucky number?'\n{if} number {is} 5 {print} 'Mine too!'\n_?_ {print} 'My lucky number is 5!'"
2:
question_text: What appears in your output screen when you type in the name Hedy?
code: "name {is} {ask} 'What is your name?'\n{if} name {is} Hedy {print} 'fun' {else} {print} 'less fun'"
mp_choice_options:
- option: fun
feedback: That's right!
- option: less fun
feedback: If the name is Hedy, it will say 'fun''
- option: Hedy
feedback: No, it doesn't print the name
- option: Error
feedback: Fortunately not!
correct_answer: A
hint: '`{if}` name `{is}` Hedy `{print}` ...?'
question_score: '10'
4:
question_text: What does Hedy print when you type in the wrong password?
code: "password {is} {ask} 'What is the password?'\n{if} password {is} SECRET {print} 'Correct!'\n{else} {print} 'ALARM! INTRUDER!'"
mp_choice_options:
- option: Correct
feedback: That's printed if the correct answer is given, not the wrong one...
- option: SECRET
feedback: That's not the right answer
- option: Wrong!
feedback: No, this is not what Hedy will print
- option: ALARM! INTRUDER!
feedback: Great job!
correct_answer: D
hint: Your computer will sound the alarm for intruders!
question_score: '10'
6:
question_text: Which word should be on the place of the question mark in the last line?
code: "{print} 'Im Hedy the football fortune teller!'\n{print} 'I will predict what place your team will end up!'\nclub is {ask} 'Which club is your favorite?'\n{if} club {is} ajax {print} 'Ajax is going to win of course!'\n_?_ {print} 'Sorry, your club is gonna be in last place...'"
mp_choice_options:
- option: "```\n{if}\n```\n"
feedback: '`{if}` is already in the line above'
- option: "```\n{at} {random}\n```\n"
feedback: No, you need `{else}`.
- option: "```\n{else}\n```\n"
feedback: Great!
- option: "```\n{print}\n```\n"
feedback: '`{print}` is already there, we need a word before it!'
correct_answer: C
hint: '`{if}` goes together with...?'
question_score: '10'
7:
question_text: Which word should be in the place of the question mark?
code: "{print} 'I can predict if you will be a millionair or not!'\nname {is} {ask} 'Whats your name?'\n{if} name {is} Hedy {print} 'You will be a millionair!'\n{else} _?_ 'Unfortunately... No big money for you.'"
mp_choice_options:
- option: "```\n{if}\n```\n"
feedback: '`{if}` is in the line above.'
- option: "```\n{at} {random}\n```\n"
feedback: No, you don't need `{at} {random}`.
- option: "```\n{else}\n```\n"
feedback: There already is an `{else}` command
- option: "```\n{print}\n```\n"
feedback: Awesome!
correct_answer: D
hint: After `{else}` a `{print}` command follows
question_score: '10'
8:
question_text: Which word should be on the place of the question mark?
code: "animal {is} {ask} 'What is your favorite animal?'\n{if} _?_ {is} penguin {print} 'Thats my favorite animal too!'\n{else} {print} 'Cool! I like penguins.'"
mp_choice_options:
- option: "```\nfavorite animal\n```\n"
feedback: That's not the variable name.
- option: "```\nanimal\n```\n"
feedback: Great job!
- option: "```\n{if}\n```\n"
feedback: '`{if}` is already there'
- option: "```\n{print}\n```\n"
feedback: No, that's not it.
correct_answer: B
hint: What the variable name?
question_score: '10'
9:
question_text: Which door should you choose to escape??
code: "{print} 'Escape from the haunted house!'\n{print} 'There are 3 doors in front of you'\ndoor {is} {ask} 'Which door do you choose?'\nmonsters {is} vampire, werewolf, giant spider\n{if} door {is} 2 {print} 'Yay, you can escape!'\n{else} {print} 'You are being devoured by a... ' monsters {at} {random}"
mp_choice_options:
- option: '1'
feedback: Bad choice! You're being eaten
- option: '2'
feedback: Super! You escaped!
- option: '3'
feedback: Bad choice! You're being eaten.
- option: It's a trap, you will always be eaten!
feedback: Luckily not!
correct_answer: B
hint: One of the doors will keep you safe..
question_score: '10'
6:
1:
question_text: What's Hedy's output when you run this code?
code: '{print} 2*10'
mp_choice_options:
- option: '20'
feedback: Correct!
- option: '12'
feedback: No, the plus sign is used in addition
- option: 2*10
feedback: No, Hedy will calculate the answer
- option: '210'
feedback: Mind it's a calculation.
correct_answer: A
hint: The `*` is used as a multiplication sign
question_score: '10'
8:
mp_choice_options:
- feedback: No, there should be!
option: There shouldn't be quotation marks in line 2
- option: The variable is called correct answer, but a variable's name can only be 1 word. So it should be correct_answer
feedback: Correct!
- option: The `{if}` and `{else}` commands should be in the same line.
feedback: No, that's not true.
- option: The variable in line 2 can't be called answer, because it is too similar to the variable correct answer.
feedback: Variable names can be similar, but they can't be 2 words...
question_text: Why is this code incorrect?
code: "correct answer = 3*12\nanswer = {ask} 'What is 3 times 12?'\n{if} answer {is} correct answer {print} 'Good job!'\n{else} {print} 'No... It was ' correct answer"
correct_answer: B
hint: Inspect what the variables are called.
question_score: '10'
9:
mp_choice_options:
- option: 10%
feedback: (2 bananas + 3 hygiene) * 10 football = 5*10 =?
- option: 32%
feedback: (2 bananas + 3 hygiene) * 10 football = 5*10 =?
- feedback: Super! You are 100 percent smart!
option: 50%
- option: 100%
feedback: (2 bananas + 3 hygiene) * 10 football = 5*10 =?
question_score: '10'
question_text: Imagine you love football a 10, you've eaten 2 bananas and have washed your hands 3 times today. How smart does the silly fortune teller think you are?
code: "{print} 'Im Hedy the silly fortune teller'\n{print} 'I will predict how smart you are!'\nfootball = {ask} 'On a scale of 0 to 10 how much do you love football?'\nbananas = {ask} 'How many bananas have you eaten this week?'\nhygiene = {ask} 'How many times did you wash your hands today??'\nresult = bananas + hygiene\nresult = result * football\n{print} 'You are ' result 'percent smart.'"
correct_answer: C
hint: (2 bananas + 3 hygiene) * 10 football = 5*10 =?
10:
question_text: Which statement is true?
code: "name _?_ Hedy\n{print} name 'is walking trough the forrest'"
mp_choice_options:
- option: You can only fill in the word is on the `_?_`
feedback: You are allowed to use the `=` sign as well
- option: You can fill in either the word is or the `=` sign on the `_?_`
feedback: Amazing!
- option: You have to fill in =is= on the `_?_`
feedback: No, one `=` sign is enough
- option: You can only use the `=` sign when working with numbers, not with words.
feedback: You can also use `=` with words.
correct_answer: B
hint: '`{is}` and `=` are both allowed'
question_score: '10'
2:
question_text: What do you use when you want to add two numbers?
mp_choice_options:
- option: '-'
feedback: That's not it
- option: plus
feedback: That's not it
- option: '*'
feedback: That's not it
- option: +
feedback: Correct!
correct_answer: D
hint: It's the plus sign.
question_score: '10'
3:
question_text: What's Hedy's output when you run this code?
code: "{print} '3*10'"
mp_choice_options:
- option: '30'
feedback: This would be the right answer if there were no quotation marks.
- option: '13'
feedback: Try again..
- option: 3*10
feedback: Correct! There are quotation marks, so Hedy will print it literally.
- option: Nothing, Hedy will give an error message.
feedback: No, Hedy will print it literally.
correct_answer: C
hint: Mind the quotation marks!!
question_score: '10'
4:
question_text: Kim is 10 years old. What will Hedy print for her?
code: "name = {ask} 'How many letters are in your name?'\nage = {ask} 'How old are you?'\nluckynumber = name*age\n{print} 'Your lucky number is...' luckynumber"
mp_choice_options:
- option: '30'
feedback: Mind, Hedy also prints 'Your lucky number is...'
- option: '10'
feedback: Please try again.
- option: Your lucky number is... 30
feedback: That's right!
- option: Your lucky number is... 10
feedback: Her lucky number is name times age...
correct_answer: C
hint: 'Kim has 3 letters, she is 10 years old so: letters times age = 3*10 = 30.'
question_score: '10'
5:
question_text: If 5 people eat at this restaurant, how much do they have to pay in total?
mp_choice_options:
- option: 5 dollars
feedback: Unfortunately, it's not that cheap.
- feedback: No, it's 10 dollars each.
option: 10 dollars
- option: 15 dollars
feedback: The * means multiplication.
- option: 50 dollars
feedback: Great!
hint: '`price` `is` `people` `times` 10'
question_score: '10'
code: "{print} 'Welcome to Hedys!'\npeople = {ask} 'How many people are eating with us tonight?'\nprice = people * 10\n{print} 'That will be ' price 'dollar please'"
correct_answer: D
6:
question_text: How much does a hamburger cost is this virtual restaurant?
code: "{print} 'Welcome at Hedys diner'\nfood = {ask} 'What would you like to eat?'\nprice = 0\n{if} food {is} hamburger price = 15\n{if} food {is} fries price = 6"
mp_choice_options:
- option: 15 dollars
feedback: Super!
- option: 6 dollars
feedback: The fries are 6 dollars
- option: 0 dollars
feedback: The hamburger isn't free!
- option: 21 dollars
feedback: That's the price for a hamburger and fries!
correct_answer: A
hint: Mind the fourth line.
question_score: '10'
7:
question_text: Why does line 7 say 'price is price + 3' instead of 'price is 3'?
code: "{print} 'Welcome at Hedys diner'\nfood = {ask} 'What would you like to eat?'\nprice = 0\n{if} food {is} hamburger price = price + 15\n{if} food {is} fries price = price + 6\ndrinks is {ask} 'What would you like to drink?'\n{if} drinks {is} coke price = price + 3\n{if} drinks {is} water price = price + 1\n{print} price ' dollars please'"
mp_choice_options:
- option: It could have been `price = 3` just as well.
feedback: No, that's not true. Hedy needs to add 3 dollars to the total.
- option: Because Hedy doesn't understand `price = 3`.
feedback: Hedy would understand, but it wouldn't be right.
- option: Because Hedy would otherwise forget about the previous order. The price would be 3 dollars in total.
feedback: That's right!
- option: Because the price is 0 dollars to begin with.
feedback: That's true, but not the reason
correct_answer: C
hint: The price shouldn't be 3, but 3 dollars more than it already was
question_score: '10'
7:
1:
mp_choice_options:
- option: '0'
feedback: No you can repeat a line.
- option: '1'
feedback: Correct, one line at a time
- option: '2'
feedback: In this level only one line at a time
- feedback: In this level you can only repeat one line at a time
option: infinite
correct_answer: B
hint: You can only repeat 1 line at a time
question_score: '10'
question_text: How many lines can you repeat at once with the repeat command at this level?
2:
question_text: Which code is right?
mp_choice_options:
- option: "```\n{print} 100 {times} 'hello'\n```\n"
feedback: "`{repeat}` 100 `{times}` `{print}` 'hello'"
- option: "```\n{print} {repeat} 100 {times} 'hello'\n```\n"
feedback: "{repeat} 100 {times} {print} 'hello'"
- option: "```\n{repeat} 'hello' 100 {times}\n```\n"
feedback: "{repeat} 100 {times} {print} 'hello'"
- option: "```\n{repeat} 100 {times} {print} 'hello'\n```\n"
feedback: That's right!
correct_answer: D
hint: First the repeat command, then the `{print}` command
question_score: '10'
3:
correct_answer: D
question_text: Is this code right or wrong?
code: "{repeat} 100 {times} 'Hello!'"
mp_choice_options:
- option: Right
feedback: No, a word is missing
- option: Wrong, the word `{repeat}` is missing
feedback: The word `{repeat}` is there, another word is missing
- option: Wrong, the word `{times}` is missing
feedback: The word `{times}` is there, another word is missing.
- option: Wrong, the word `{print}` is missing
feedback: Correct
hint: "It should be: `{repeat}` 100 `{times}` `{print}` 'Hello'"
question_score: '10'
4:
mp_choice_options:
- option: "```\nI'm\n```\n"
feedback: That's right!
- option: "```\n{print}\n```\n"
feedback: '`{print}` is spelled correctly'
- option: "```\n{repeat}\n```\n"
feedback: '`{repeat}` is spelled correctly'
- option: "```\n{times}\n```\n"
feedback: '`{times}` is spelled correctly'
correct_answer: A
hint: I'm is wrong, you can't use apostrophes
question_score: '10'
question_text: Which word is wrong in the code?
code: "{print} 'I'm blue'\n{repeat} 7 {times} {print} 'da ba dee, da ba da'"
6:
mp_choice_options:
- option: "the wheels on the bus go\nround and round"
feedback: Only the second line is repeated 3 times
- option: "the wheels on the bus go\nthe wheels on the bus go\nthe wheels on the bus go\nround and round"
feedback: Only the second line is repeated 3 times
- option: "the wheels on the bus go\nround and round\nthe wheels on the bus go\nround and round\nthe wheels on the bus go\nround and round"
feedback: Only the second line is repeated 3 times
- feedback: All though the town! Perfect!
option: "the wheels on the bus go\nround and round\nround and round\nround and round"
correct_answer: D
hint: Only 'round and round' is repeated 3 times.
question_score: '10'
question_text: What will be the output from this code?
code: "{print} 'The wheels on the bus go'\n{repeat} 3 {times} {print} ' round and round'"
7:
correct_answer: B
question_score: '10'
question_text: What will be the output from this code?
code: "{repeat} 2 {times} {print} 'We will'\n{print} 'ROCK YOU!'"
mp_choice_options:
- option: "We will We will\nROCK YOU!"
feedback: "'We will' won't appear twice in the same line"
- option: "We will\nWe will\nROCK YOU!"
feedback: Great!
- option: "We will\nROCK YOU!\nWe will\nROCK YOU!"
feedback: ROCK YOU! won't be repeated
- option: "We will\nROCK YOU!"
feedback: Mind the repeat command
hint: Mind the `{repeat}` command.
9:
mp_choice_options:
- option: "```\n{print} 'Batman was flying through Gotham. '\n{print} 'When suddenly he heard someone screaming...'\n{print} 'Help!'\n{repeat} 3 {times} {print} 'Please help me!'\n```\n"
feedback: Your repeated line is incorrect.
- option: "```\n{print} 'Batman was flying through Gotham.'\n{print} 'When suddenly he heard someone screaming...'\n{repeat} 3 {times} 'Help!'\n{print} 'Please help me!'\n```\n"
feedback: The `{print}` command is missing on line 3.
- option: "```\n{print} Batman was flying through Gotham.\n{print} When suddenly he heard someone screaming...\n{repeat} 3 {times} {print} Help!\n{print} Please help me!\n```\n"
feedback: You're missing the quotation marks
- option: "```\n{print} 'Batman was flying through Gotham.'\n{print} 'When suddenly he heard someone screaming...'\n{repeat} 3 {times} {print} 'Help !'\n{print} 'Please help me !'\n```\n"
feedback: Perfect
question_score: '10'
hint: "'Help!' is repeated 3 times."
correct_answer: D
question_text: What Hedy code belongs to this output?
code: "Batman was flying through Gotham.\nWhen suddenly he heard someone screaming...\nHelp !\nHelp !\nHelp !\nPlease help me !\""
10:
question_text: What Hedy code belongs to this output?
code: "if youre happy and you know it clap your hands\nif youre happy and you know it clap your hands\nif youre happy and you know it and you really want to show it\nif youre happy and you know it clap your hands"
mp_choice_options:
- option: "```\n{repeat} 2 {times} 'if youre happy and you know it clap your hands'\n{print} 'if youre happy and you know it and you really want to show it'\n{print} 'if youre happy and you know it clap your hands'\n```\n"