-
Notifications
You must be signed in to change notification settings - Fork 23
Ezra04 #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Ezra04 #116
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
40cd4d7
Fixed question numbering
7c25b10
Fixed question numbering
1f3dcf8
Fixed question numbering
7fcc98a
Resolve merge conflicts
8e609d6
Added back the deleted content.
c5f9baf
updated my merge
303b855
updated my merge
4bdaca5
updated my merge
0f792e6
Merge branch 'main' into ezra04
enyabuti fcfcd81
chore: removes dupe files
492624d
chore: rename TravelQuiz to ezraquiz in quiz configuration and provid…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { | ||
AnswerChoice, | ||
MultipleChoiceQuizQuestion, | ||
} from 'codedifferently-instructional'; | ||
|
||
export class EzraQuiz { | ||
getProviderName() { | ||
return 'TravelQuiz'; | ||
} | ||
|
||
makeQuizQuestions() { | ||
return [ | ||
EzraQuiz.makeQuestion0(), | ||
EzraQuiz.makeQuestion1(), | ||
EzraQuiz.makeQuestion2(), | ||
]; | ||
} | ||
|
||
static makeQuestion0() { | ||
return new MultipleChoiceQuizQuestion( | ||
0, | ||
'What is the most played video game in the world?', | ||
new Map([ | ||
[AnswerChoice.A, 'GTA V'], | ||
[AnswerChoice.B, 'Call of Duty'], | ||
[AnswerChoice.C, 'World of Warcraft'], | ||
[AnswerChoice.D, 'MineCraft'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
|
||
static makeQuestion1() { | ||
return new MultipleChoiceQuizQuestion( | ||
1, | ||
'What is the top tourist destination in the world?', | ||
new Map([ | ||
[AnswerChoice.A, 'China'], | ||
[AnswerChoice.B, 'France'], | ||
[AnswerChoice.C, 'Italy'], | ||
[AnswerChoice.D, 'Brazil'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
|
||
static makeQuestion2() { | ||
return new MultipleChoiceQuizQuestion( | ||
2, | ||
'What country has the largest number of ocean borders?', | ||
new Map([ | ||
[AnswerChoice.A, 'Canada'], | ||
[AnswerChoice.B, 'India'], | ||
[AnswerChoice.C, 'Australia'], | ||
[AnswerChoice.D, 'United Kingdom'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule code-differently-25-q1
added at
904620
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.